:root {
    --green: #ee4d2d;
    --green-dark: #d73211;
    --green-soft: #fff1ed;
    --ink: #212121;
    --muted: #6d7580;
    --line: #e5e7e9;
    --soft: #f5f6f7;
    --white: #fff;
    --orange: #f6a700;
    --radius: 12px;
}

/* Shopee Brasil visual system */
.site-header {
    background: linear-gradient(180deg, #f53d2d 0%, #ee4d2d 100%);
    border-bottom: 0;
    box-shadow: 0 2px 10px rgba(145, 45, 22, 0.18);
}
.site-header .brand-logo {
    filter: brightness(0) invert(1);
}
.main-nav a,
.mobile-nav a {
    color: rgba(255, 255, 255, 0.92);
}
.main-nav a:hover,
.mobile-nav a:hover,
.main-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.17);
}
.coin-balance {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
}
.profile-trigger {
    border-color: rgba(255, 255, 255, 0.65);
    background: #fff;
}
.mobile-nav {
    border-top-color: rgba(255, 255, 255, 0.2);
}
.hero {
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 22px -32px 20px;
    z-index: -1;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7f2 0%, #fff 58%, #fff0e8 100%);
}
.question-card,
.how-card,
.reward-product,
.redemption-panel {
    border-radius: 4px;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.08);
}
.button {
    border-radius: 2px;
    text-transform: none;
}
.product-category {
    color: #ee4d2d;
    background: #fff1ed;
}
.tokopedia-button {
    background: #ee4d2d;
}
.tokopedia-button:hover {
    background: #d73211;
}
.tokopedia-product-media,
.blibli-product-media,
.gofood-product-media,
.indomaret-product-media,
.alfamart-product-media {
    background: #fff;
}
.tokopedia-product-media img {
    max-height: 90px;
    width: auto;
}
.blibli-product-media img,
.gofood-product-media img {
    max-height: 74px;
    width: min(210px, 72%);
}
.indomaret-product-media img {
    width: min(230px, 82%);
}
.alfamart-product-media img {
    width: min(210px, 75%);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: auto;
}
body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #fff;
    line-height: 1.55;
}
button,
a {
    font: inherit;
}
button {
    cursor: pointer;
}
.wrap {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-inner {
    height: 70px;
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #1b1e23;
    text-decoration: none;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.4px;
    white-space: nowrap;
}
.brand-logo {
    display: block;
    width: 142px;
    height: auto;
}
.footer-brand .brand-logo {
    width: 124px;
}
.brand > span:last-child > span {
    color: var(--green);
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    font-size: 20px;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}
.main-nav a,
.mobile-nav a {
    color: #4f5660;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
}
.main-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
    color: var(--green-dark);
    background: var(--green-soft);
    font-weight: 700;
}
.coin-pill {
    padding: 8px 12px;
    border: 1px solid #bce8c1;
    background: #f4fcf5;
    color: #287b30;
    border-radius: 9px;
    font-size: 14px;
    white-space: nowrap;
}
.coin-pill > span {
    color: var(--orange);
}
.menu-button {
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
}
.mobile-nav {
    padding: 8px 20px 16px;
    border-top: 1px solid var(--line);
}
.mobile-nav a {
    display: block;
}
.page {
    min-height: 650px;
}
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 70px;
}
.eyebrow {
    display: inline-block;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}
.hero h1,
.page-heading h1 {
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.12;
    letter-spacing: -1.8px;
    margin: 0 0 20px;
    max-width: 720px;
}
.hero-copy p,
.page-heading p {
    font-size: 17px;
    color: var(--muted);
    max-width: 650px;
    margin: 0 0 28px;
}
.button {
    border: 0;
    border-radius: 9px;
    padding: 12px 19px;
    font-weight: 750;
}
.button.primary {
    background: var(--green);
    color: #fff;
}
.button.primary:hover {
    background: var(--green-dark);
}
.button.secondary {
    background: #fff;
    color: var(--green-dark);
    border: 1px solid #b8dfbc;
}
.button:disabled {
    background: #eceeef;
    color: #9da3aa;
    border-color: #e0e2e4;
    cursor: not-allowed;
}
.how-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
}
.how-card h2 {
    font-size: 19px;
    margin: 0 0 20px;
}
.how-card ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.how-card li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.how-card li:first-child {
    border-top: 0;
}
.how-card b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
}
.how-card span {
    display: flex;
    flex-direction: column;
}
.how-card small {
    color: var(--muted);
}
.survey-area {
    padding-bottom: 80px;
}
.survey-topline {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 12px;
}
.survey-topline > div:first-child {
    display: flex;
    flex-direction: column;
    color: var(--muted);
    font-size: 13px;
}
.survey-topline strong {
    color: var(--ink);
    font-size: 16px;
}
.earned {
    font-size: 14px;
    color: var(--muted);
}
.progress-track {
    height: 8px;
    background: #e8ebed;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
.progress-track span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--green);
}
.question-card,
.completion-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px;
    max-width: 830px;
    margin: auto;
}
.question-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
}
.timer {
    background: #fff7e8;
    color: #9b6500;
    border-radius: 7px;
    padding: 5px 8px;
}
.timer.ready {
    background: var(--green-soft);
    color: var(--green-dark);
}
.question-card h2 {
    font-size: 25px;
    line-height: 1.35;
    margin: 24px 0;
}
.answers {
    display: grid;
    gap: 10px;
}
.answer {
    display: flex;
    text-align: left;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    color: #343940;
}
.answer:before {
    content: "";
    width: 17px;
    height: 17px;
    border: 1.5px solid #b4bac0;
    border-radius: 50%;
    flex: 0 0 auto;
}
.answer:disabled {
    background: #f7f8f8;
    color: #9ca1a7;
    cursor: not-allowed;
}
.answer:not(:disabled):hover {
    border-color: var(--green);
}
.answer.selected {
    border-color: var(--green);
    background: var(--green-soft);
}
.answer.selected:before {
    border: 5px solid var(--green);
}
.wait-note {
    font-size: 13px;
    color: var(--muted);
    margin: 16px 0 0;
}
.completion-card {
    text-align: center;
}
.completion-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 12px;
}
.completion-card h2 {
    font-size: 30px;
    margin: 0 0 8px;
}
.completion-card > p {
    color: var(--muted);
}
.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px auto;
    max-width: 460px;
}
.result-grid div {
    border: 1px solid var(--line);
    background: var(--soft);
    border-radius: 10px;
    padding: 16px;
}
.result-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}
.result-grid strong {
    display: block;
    font-size: 25px;
    color: var(--green-dark);
}
.button-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.page-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    padding: 65px 0 34px;
}
.page-heading h1 {
    font-size: 42px;
    margin-bottom: 12px;
}
.balance-card {
    min-width: 190px;
    border: 1px solid #bce8c1;
    background: var(--green-soft);
    border-radius: 12px;
    padding: 17px;
}
.balance-card > span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}
.balance-card strong {
    font-size: 25px;
    color: var(--green-dark);
}
.balance-card i {
    color: var(--orange);
    font-style: normal;
}
.notice {
    display: flex;
    gap: 12px;
    border: 1px solid #f1d9a5;
    background: #fffaf0;
    border-radius: 10px;
    padding: 13px 16px;
    margin-bottom: 24px;
    font-size: 14px;
}
.notice span {
    color: #6c6250;
}
.reward-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-bottom: 80px;
}
.reward-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.reward-visual {
    height: 132px;
    display: grid;
    place-items: center;
    background: #f5faf6;
    color: var(--brand-color, var(--green));
    font-weight: 900;
    font-size: 22px;
    border-bottom: 1px solid var(--line);
}
.reward-body {
    padding: 16px;
}
.reward-body small {
    color: var(--muted);
}
.reward-body h2 {
    font-size: 16px;
    margin: 4px 0 12px;
}
.reward-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}
.reward-price strong {
    color: var(--green-dark);
}
.reward-price button {
    font-size: 13px;
    padding: 8px 11px;
}
.prose-page {
    padding-bottom: 75px;
}
.prose-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 44px;
}
.prose-grid article,
.prose-grid aside,
.policy {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
}
.prose-grid h2,
.policy h2 {
    font-size: 20px;
    margin: 24px 0 8px;
}
.prose-grid h2:first-child,
.policy h2:first-child {
    margin-top: 0;
}
.prose-grid p,
.policy p {
    color: #5f6670;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid var(--line);
}
.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 800;
}
.info-band {
    margin-top: 22px;
    background: var(--green-soft);
    border: 1px solid #ccebd0;
    border-radius: 14px;
    padding: 25px;
}
.info-band h2 {
    margin: 0 0 6px;
    font-size: 20px;
}
.info-band p {
    margin: 0;
    color: #4f6652;
}
.policy {
    max-width: 820px;
}
.policy em {
    font-style: normal;
    font-family: monospace;
    background: #f1f2f3;
    padding: 2px 5px;
    border-radius: 4px;
}
footer {
    border-top: 1px solid var(--line);
    background: #fafafa;
}
.footer-brand {
    font-size: 17px;
}
.footer-brand .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 16px;
}
.footer .x {
}
footer .wrap {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 20px;
}
footer p {
    font-size: 13px;
    color: var(--muted);
}
footer p:last-child {
    margin-left: auto;
}
@media (max-width: 850px) {
    .main-nav {
        display: none;
    }
    .menu-button {
        display: block;
    }
    .coin-pill {
        margin-left: auto;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 46px;
    }
    .reward-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prose-grid {
        grid-template-columns: 1fr;
    }
    .page-heading {
        align-items: start;
        flex-direction: column;
    }
    .balance-card {
        width: 100%;
    }
}
@media (max-width: 560px) {
    .wrap,
    .header-inner {
        width: min(100% - 28px, 1120px);
    }
    .header-inner {
        gap: 10px;
    }
    .brand {
        font-size: 17px;
    }
    .brand-logo {
        width: 116px;
    }
    .brand-mark {
        width: 30px;
        height: 30px;
    }
    .coin-pill {
        font-size: 12px;
        padding: 7px 9px;
    }
    .hero {
        padding-top: 34px;
        padding-bottom: 46px;
    }
    .hero h1 {
        font-size: 35px;
    }
    .question-card,
    .completion-card {
        padding: 21px;
    }
    .question-card h2 {
        font-size: 21px;
    }
    .survey-topline {
        align-items: start;
    }
    .reward-grid {
        grid-template-columns: 1fr;
    }
    .notice {
        flex-direction: column;
    }
    .page-heading {
        padding-top: 42px;
    }
    .page-heading h1 {
        font-size: 34px;
    }
    .result-grid {
        grid-template-columns: 1fr 1fr;
    }
    .prose-grid article,
    .prose-grid aside,
    .policy {
        padding: 21px;
    }
    footer .wrap {
        padding: 20px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    footer p {
        margin: 0;
    }
    footer p:last-child {
        margin-left: 0;
    }
}
/* Refined identity and interface */
.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}
.brand {
    display: block;
    color: var(--green);
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
    font-weight: 900;
    font-size: 29px;
    letter-spacing: -2.1px;
    line-height: 1;
}
.coin-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #353a40;
    font-size: 14px;
    white-space: nowrap;
}
.coin-balance .icon {
    color: #7e858d;
    width: 19px;
    height: 19px;
}
.coin-balance strong {
    font-size: 15px;
}
.coin-balance span {
    color: var(--muted);
}
.how-card b {
    background: transparent;
    border-radius: 0;
}
.how-card b .icon {
    width: 24px;
    height: 24px;
}
.question-card {
    position: relative;
    overflow: hidden;
}
.survey-area.gated .question-content {
    filter: blur(6px);
    opacity: 0.65;
    pointer-events: none;
    user-select: none;
}
.survey-gate {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.48);
}
.survey-gate[hidden] {
    display: none;
}
.survey-gate > div {
    max-width: 380px;
}
.gate-icon {
    width: 38px;
    height: 38px;
    color: var(--green);
    margin-bottom: 8px;
}
.survey-gate h2 {
    margin: 0 0 6px;
    font-size: 25px;
}
.survey-gate p {
    margin: 0 0 18px;
    color: #59616a;
}
.survey-gate .button {
    min-width: 150px;
}
.timer {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    color: #765a1b;
    padding: 5px 0;
}
.timer .icon {
    width: 16px;
    height: 16px;
}
.completion-icon {
    background: transparent;
    border-radius: 0;
}
.completion-icon .icon {
    width: 44px;
    height: 44px;
}
.market-balance {
    min-width: 150px;
    text-align: right;
}
.market-balance > span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}
.market-balance strong {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    font-size: 25px;
    color: var(--ink);
}
.market-balance .icon {
    color: #7e858d;
    width: 22px;
    height: 22px;
}
.reward-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fafafa;
}
.reward-icon {
    width: 27px;
    height: 27px;
}
.reward-price strong {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #444a50;
}
.reward-price strong .icon {
    width: 17px;
    height: 17px;
    color: #7e858d;
}
.footer-brand {
    font-size: 24px;
}
.footer-brand .brand-mark {
    display: none;
}
@media (max-width: 560px) {
    .brand {
        font-size: 23px;
    }
    .coin-balance {
        font-size: 12px;
    }
    .coin-balance span {
        display: none;
    }
    .market-balance {
        text-align: left;
    }
    .market-balance strong {
        justify-content: flex-start;
    }
}

/* Survey-first entry screen */
#page-survei > .hero {
    display: none;
}
.survey-area {
    padding-top: 54px;
}
.survey-area.gated .question-card {
    min-height: 530px;
}
.survey-area.gated .question-content {
    min-height: 466px;
}
.survey-gate {
    background: rgba(255, 255, 255, 0.38);
}
.survey-gate > .gate-content {
    max-width: 690px;
}
.gate-content .eyebrow {
    margin-bottom: 9px;
}
.gate-content h1 {
    font-size: clamp(31px, 4.2vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.6px;
    margin: 0 auto 14px;
    max-width: 650px;
}
.gate-content > p {
    font-size: 16px;
    line-height: 1.55;
    max-width: 620px;
    margin: 0 auto 22px;
    color: #525b66;
}
.gate-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 0 auto 24px;
}
.gate-steps span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #343a40;
    font-size: 14px;
}
.gate-steps .icon {
    width: 22px;
    height: 22px;
    color: var(--green);
}
.gate-steps i {
    color: #a0a6ad;
    font-style: normal;
}
.survey-gate .button {
    min-width: 170px;
}
@media (max-width: 620px) {
    .survey-area {
        padding-top: 30px;
    }
    .survey-area.gated .question-card {
        min-height: 630px;
    }
    .survey-area.gated .question-content {
        min-height: 568px;
    }
    .survey-gate {
        padding: 24px 20px;
    }
    .gate-content h1 {
        font-size: 32px;
    }
    .gate-content > p {
        font-size: 15px;
    }
    .gate-steps {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        width: max-content;
    }
    .gate-steps i {
        display: none;
    }
    .gate-steps span {
        font-size: 14px;
    }
}

.site-header {
    background: linear-gradient(180deg, #f53d2d 0%, #ee4d2d 100%);
    border-bottom: 0;
    box-shadow: 0 2px 10px rgba(145, 45, 22, 0.18);
}
.site-header .brand-logo { filter: brightness(0) invert(1); }
.site-header .main-nav a,
.site-header .mobile-nav a { color: rgba(255, 255, 255, 0.92); }
.site-header .main-nav a:hover,
.site-header .mobile-nav a:hover,
.site-header .main-nav a[aria-current="page"],
.site-header .mobile-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.17); }
.site-header .coin-balance { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.14); }
.site-header .profile-trigger { border-color: rgba(255, 255, 255, 0.65); background: #fff; }

/* Answer reward motion */
.answer {
    position: relative;
}
.answer-gain {
    margin-left: auto;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.flying-coin {
    position: fixed;
    z-index: 1000;
    width: 32px;
    height: 32px;
    pointer-events: none;
    color: #fff;
}
.flying-coin svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.flying-coin circle {
    fill: #03ac0e;
    stroke: #fff;
    stroke-width: 1.4;
}
.flying-coin path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}
.coin-balance.balance-received {
    animation: balance-received 0.3s ease-out;
}
.coin-balance.balance-received .icon {
    color: var(--green);
}
@keyframes balance-received {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.12);
    }
    100% {
        transform: scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .coin-balance.balance-received {
        animation: none;
    }
}

/* Product-like, restrained survey UI */
body {
    background: #f7f7f7;
    color: #2b2f33;
}
.site-header {
    background: linear-gradient(180deg, #f53d2d 0%, #ee4d2d 100%);
}
.header-inner {
    height: 62px;
}
.brand {
    font-size: 27px;
}
.page {
    min-height: calc(100vh - 62px);
}
.survey-area {
    width: min(980px, calc(100% - 40px));
    padding-top: 34px;
}
.survey-topline {
    margin-bottom: 9px;
}
.survey-topline > div:first-child {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.survey-topline > div:first-child span:after {
    content: "·";
    margin-left: 12px;
    color: #a2a7ad;
}
.progress-track {
    height: 5px;
    margin-bottom: 14px;
    background: #dedfe1;
}
.question-card,
.completion-card {
    max-width: 980px;
    border-radius: 8px;
    background: #fff;
    padding: 28px;
}
.survey-area.gated .question-card {
    min-height: 470px;
}
.survey-area.gated .question-content {
    min-height: 412px;
    filter: blur(5px);
    opacity: 0.5;
}
.survey-gate {
    place-items: stretch;
    background: rgba(255, 255, 255, 0.28);
    padding: 0;
}
.survey-gate > .gate-content {
    max-width: none;
    align-self: center;
    padding: 30px 32px;
    text-align: left;
    margin: 0 auto;
}
.gate-kicker {
    display: flex;
    gap: 8px;
    margin-bottom: 17px;
}
.gate-kicker span {
    font-size: 12px;
    color: #5f666e;
}
.gate-kicker span + span:before {
    content: "·";
    margin-right: 8px;
    color: #a4a9ae;
}
.gate-content h1 {
    font-size: 32px;
    line-height: 1.18;
    letter-spacing: -0.8px;
    margin: 0 0 12px;
    max-width: 500px;
}
.gate-content > p {
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 500px;
    color: #5c646d;
}
.gate-reward {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    font-size: 14px;
    color: #3f454b;
}
.gate-reward .icon {
    width: 21px;
    height: 21px;
    color: var(--green);
}
.gate-content .button {
    display: block;
    min-width: 160px;
    border-radius: 6px;
    padding: 11px 18px;
}
.gate-content > small {
    display: block;
    margin-top: 11px;
    color: #858b91;
    font-size: 12px;
}
.button {
    border-radius: 6px;
}
.answer {
    border-radius: 6px;
}
.reward-card,
.prose-grid article,
.prose-grid aside,
.policy,
.info-band,
.notice {
    border-radius: 8px;
}
.result-grid div {
    border-radius: 6px;
}
@media (max-width: 620px) {
    .header-inner {
        height: 58px;
    }
    .survey-area {
        width: min(100% - 24px, 980px);
        padding-top: 20px;
    }
    .survey-topline > div:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }
    .survey-topline > div:first-child span:after {
        display: none;
    }
    .survey-area.gated .question-card {
        min-height: 560px;
    }
    .survey-area.gated .question-content {
        min-height: 504px;
    }
    .question-card {
        padding: 20px;
    }
    .survey-gate > .gate-content {
        width: calc(100% - 28px);
        margin: 0 14px;
        padding: 24px 20px;
    }
    .gate-content h1 {
        font-size: 27px;
    }
    .gate-kicker {
        flex-wrap: wrap;
    }
    .gate-content .button {
        width: 100%;
    }
}

/* Persistent mobile navigation */
.mobile-nav {
    display: none;
}
.menu-button {
    display: none !important;
}
@media (max-width: 850px) {
    .header-inner {
        border-bottom: 1px solid var(--line);
    }
    .mobile-nav {
        display: flex;
        align-items: stretch;
        gap: 0;
        padding: 0 14px;
        border-top: 0;
        overflow-x: auto;
        scrollbar-width: none;
        background: #fff;
    }
    .mobile-nav::-webkit-scrollbar {
        display: none;
    }
    .mobile-nav a {
        flex: 0 0 auto;
        padding: 11px 13px 9px;
        border-radius: 0;
        border-bottom: 2px solid transparent;
        color: #5e656d;
        font-size: 13px;
        white-space: nowrap;
    }
    .mobile-nav a[aria-current="page"] {
        color: var(--green-dark);
        background: transparent;
        border-bottom-color: var(--green);
        font-weight: 700;
    }
}

/* Guest profile */
.profile-menu {
    position: relative;
}
.profile-trigger {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}
.guest-avatar {
    display: block;
    width: 34px;
    height: 34px;
}
.guest-avatar.large {
    width: 48px;
    height: 48px;
}
.avatar-bg {
    fill: var(--avatar-bg, #e7f7ea);
}
.avatar-accent {
    fill: var(--avatar-accent, #00aa13);
}
.avatar-head {
    fill: var(--avatar-face, #fff);
}
.avatar-line {
    fill: none;
    stroke: var(--avatar-accent, #00aa13);
    stroke-width: 1.8;
    stroke-linecap: round;
}
.profile-panel {
    position: absolute;
    z-index: 30;
    top: 48px;
    right: 0;
    width: 330px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
}
.profile-panel[hidden] {
    display: none;
}
.profile-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.profile-panel-head > div {
    min-width: 0;
}
.profile-panel-head strong,
.profile-panel-head small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-panel-head small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.4px;
}
.profile-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.profile-balance strong {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ink);
    font-size: 15px;
}
.profile-balance .icon {
    width: 18px;
    height: 18px;
    color: #7e858d;
}
.profile-panel dl {
    margin: 14px 0;
}
.profile-panel dl div + div {
    margin-top: 12px;
}
.profile-panel dt {
    font-size: 11px;
    color: var(--muted);
}
.profile-panel dd {
    margin: 2px 0 0;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
}
.profile-panel form {
    padding-top: 15px;
}
.profile-panel form[hidden] {
    display: none;
}
.profile-panel label {
    display: block;
    margin: 0 0 5px;
    color: #5c636b;
    font-size: 12px;
}
.profile-panel input {
    width: 100%;
    height: 40px;
    margin: 0 0 13px;
    padding: 0 11px;
    border: 1px solid #cfd3d7;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    outline: none;
}
.profile-panel input:focus {
    border-color: var(--green);
}
.profile-panel form .button {
    width: 100%;
    margin-top: 2px;
}
@media (max-width: 560px) {
    .header-inner {
        gap: 9px;
    }
    .coin-balance {
        margin-left: auto;
    }
    .profile-panel {
        position: fixed;
        top: 107px;
        right: 12px;
        left: 12px;
        width: auto;
    }
    .profile-trigger {
        width: 34px;
        height: 34px;
    }
    .guest-avatar {
        width: 32px;
        height: 32px;
    }
}

/* Question category themes */
.question-stage {
    position: relative;
    max-width: 980px;
    margin: auto;
}
.question-stage .question-card {
    position: relative;
    z-index: 2;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease;
}
.category-art {
    position: absolute;
    z-index: 1;
    top: 105px;
    width: 150px;
    height: auto;
    pointer-events: none;
    user-select: none;
}
.category-art-left {
    left: -122px;
    transform: rotate(-12deg);
}
.category-art-right {
    right: -122px;
    transform: rotate(11deg) scaleX(-1);
}
.theme-shopping .question-card {
    background: #f5fbf6;
    border-color: #d8eadb;
}
.theme-payment .question-card {
    background: #f4f8fd;
    border-color: #d7e3f1;
}
.theme-mobility .question-card {
    background: #f3faf7;
    border-color: #d4e8de;
}
.theme-travel .question-card {
    background: #fff9f2;
    border-color: #eedfcd;
}
.theme-digital .question-card {
    background: #f8f6fc;
    border-color: #e2dced;
}
.theme-service .question-card {
    background: #fff7f8;
    border-color: #efdce1;
}
.theme-grocery .question-card {
    background: #fffaf0;
    border-color: #ede2c9;
}
.question-stage .answer {
    background: rgba(255, 255, 255, 0.9);
}
.question-stage .question-meta > span:first-child {
    color: #31753a;
}
@media (max-width: 1240px) {
    .category-art {
        width: 112px;
        top: 120px;
    }
    .category-art-left {
        left: -58px;
    }
    .category-art-right {
        right: -58px;
    }
    .question-stage .question-card {
        margin-inline: 34px;
    }
}
@media (max-width: 620px) {
    .category-art {
        width: 76px;
        top: 145px;
        opacity: 0.88;
    }
    .category-art-left {
        left: -24px;
        transform: rotate(-14deg);
    }
    .category-art-right {
        right: -24px;
        transform: rotate(13deg) scaleX(-1);
    }
    .question-stage .question-card {
        margin-inline: 0;
    }
    .survey-area.gated .category-art {
        opacity: 0.32;
    }
}
.question-stage:has(#question-card[hidden]) {
    display: none;
}
.question-stage {
    isolation: isolate;
}
body {
    overflow-x: hidden;
}
@media (max-width: 620px) {
    .category-art {
        z-index: 3;
        top: 170px;
        width: 60px;
        opacity: 0.58;
    }
    .category-art-left {
        left: -4px;
    }
    .category-art-right {
        right: -4px;
    }
    .survey-area.gated .category-art {
        opacity: 0.22;
    }
}
/* Full illustrated category background; the survey card stays neutral */
#page-survei {
    background-image: var(--survey-background, url("../assets/svg/background-shopping.svg"));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.question-stage .question-card {
    background: #fff;
    border-color: var(--line);
}
@media (max-width: 620px) {
    #page-survei {
        background-position: center top;
        background-size: auto 100%;
    }
}
.category-art {
    box-sizing: border-box;
    padding: 26px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(70, 77, 84, 0.16);
    border-radius: 50%;
}
@media (max-width: 620px) {
    .category-art {
        padding: 14px;
    }
}
/* Restrained active navigation state */
.main-nav {
    align-self: stretch;
}
.main-nav a {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    box-shadow: none;
}
.main-nav a[aria-current="page"] {
    color: #202428;
    background: transparent;
    border-bottom-color: var(--green);
    font-weight: 700;
    box-shadow: none;
}
/* Shopee reward and email verification */
.market-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
    padding-bottom: 80px;
}
.shopee-product {
    display: grid;
    grid-template-columns: 44% 56%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.shopee-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    padding: 55px;
    background: #ee4d2d;
}
.shopee-product-media img {
    display: block;
    width: min(300px, 90%);
    height: auto;
    filter: brightness(0) invert(1);
}
.shopee-product-body {
    padding: 32px;
}
.product-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #777f87;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}
.shopee-product h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.6px;
}
.shopee-product p {
    margin: 0 0 25px;
    color: var(--muted);
}
.shopee-product dl {
    margin: 0 0 26px;
    border-top: 1px solid var(--line);
}
.shopee-product dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.shopee-product dt {
    color: var(--muted);
    font-size: 13px;
}
.shopee-product dd {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-weight: 700;
}
.shopee-product dd .icon {
    width: 17px;
    height: 17px;
    color: #777f87;
}
.shopee-button {
    background: #ee4d2d;
    color: #fff;
}
.shopee-button:hover {
    background: #d94327;
}
.redemption-panel {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.redemption-panel[hidden] {
    display: none;
}
.redemption-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}
.redemption-heading span {
    color: var(--muted);
    font-size: 12px;
}
.redemption-heading h2 {
    margin: 2px 0 0;
    font-size: 21px;
}
.redemption-heading > button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #70777f;
    font-size: 28px;
    line-height: 1;
}
.redemption-panel > p {
    margin: 12px 0 18px;
    color: var(--muted);
    font-size: 14px;
}
.redemption-panel label {
    display: block;
    margin: 0 0 6px;
    color: #50575e;
    font-size: 12px;
    font-weight: 700;
}
.field-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.field-action input {
    min-width: 0;
    height: 42px;
    padding: 0 11px;
    border: 1px solid #cfd3d7;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    outline: none;
}
.field-action input:focus {
    border-color: #ee4d2d;
}
.code-action {
    margin-bottom: 8px;
}
.redemption-panel form + form {
    margin-top: 16px;
}
.resend-button {
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: #4e5963;
    font-size: 12px;
}
.resend-button:not(:disabled) {
    color: #ee4d2d;
}
.form-status {
    min-height: 21px;
    margin: 12px 0 !important;
    font-size: 13px !important;
}
.form-status.success {
    color: #16733b;
}
.form-status.error {
    color: #b42318;
}
.redemption-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}
.redemption-total span {
    color: var(--muted);
    font-size: 13px;
}
.redemption-total strong {
    display: flex;
    align-items: center;
    gap: 5px;
}
.redemption-total .icon {
    width: 18px;
    height: 18px;
    color: #747b82;
}
.redemption-panel > .shopee-button {
    width: 100%;
}
.redemption-panel > .shopee-button:disabled {
    background: #e3e5e7;
    color: #999fa5;
}
@media (max-width: 950px) {
    .market-layout {
        grid-template-columns: 1fr;
    }
    .shopee-product {
        grid-template-columns: 38% 62%;
    }
    .redemption-panel {
        max-width: none;
    }
}
@media (max-width: 620px) {
    .shopee-product {
        grid-template-columns: 1fr;
    }
    .shopee-product-media {
        min-height: 190px;
        padding: 38px;
    }
    .shopee-product-media img {
        width: min(240px, 78%);
    }
    .shopee-product-body {
        padding: 22px;
    }
    .shopee-product h2 {
        font-size: 26px;
    }
    .field-action {
        grid-template-columns: 1fr;
    }
    .field-action .button {
        width: 100%;
    }
    .market-layout {
        padding-bottom: 50px;
    }
}
/* Multiple marketplace products */
.product-list {
    display: grid;
    gap: 20px;
}
.reward-product {
    display: grid;
    grid-template-columns: 44% 56%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.reward-product h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.6px;
}
.reward-product p {
    margin: 0 0 25px;
    color: var(--muted);
}
.reward-product dl {
    margin: 0 0 26px;
    border-top: 1px solid var(--line);
}
.reward-product dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.reward-product dt {
    color: var(--muted);
    font-size: 13px;
}
.reward-product dd {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-weight: 700;
}
.tokopedia-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    padding: 55px;
    background: #eaf8ec;
}
.tokopedia-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}
.tokopedia-button {
    background: #03ac0e;
    color: #fff;
}
.tokopedia-button:hover {
    background: #028b0b;
}
@media (max-width: 950px) {
    .reward-product {
        grid-template-columns: 38% 62%;
    }
}
@media (max-width: 620px) {
    .reward-product {
        grid-template-columns: 1fr;
    }
    .tokopedia-product-media {
        min-height: 190px;
        padding: 38px;
    }
    .tokopedia-product-media img {
        width: min(250px, 80%);
    }
    .reward-product h2 {
        font-size: 26px;
    }
}
/* Compact marketplace catalogue */
.market-layout:has(.redemption-panel[hidden]) {
    grid-template-columns: 1fr;
}
.product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.reward-product,
.shopee-product {
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}
.shopee-product-media,
.tokopedia-product-media {
    min-height: 148px;
    height: 148px;
    padding: 30px;
}
.shopee-product-media img {
    width: min(220px, 74%);
}
.tokopedia-product-media img {
    width: min(225px, 76%);
}
.shopee-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}
.reward-product h2 {
    margin-bottom: 8px;
    font-size: 22px;
    letter-spacing: -0.25px;
}
.reward-product p {
    min-height: 44px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}
.reward-product dl {
    display: grid;
    gap: 7px;
    margin: 0 0 18px;
    padding: 11px 12px;
    border: 0;
    border-radius: 5px;
    background: #f4f5f6;
}
.reward-product dl div {
    padding: 0;
    border: 0;
}
.reward-product dt {
    font-size: 12px;
}
.reward-product dd {
    font-size: 13px;
}
.reward-product .reward-action {
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 15px;
}
.redemption-panel {
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}
.reward-product,
.reward-product * {
    transition: none;
}
@media (max-width: 950px) {
    .market-layout {
        grid-template-columns: 1fr;
    }
    .redemption-panel {
        order: -1;
    }
    .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    .product-list {
        grid-template-columns: 1fr;
    }
    .shopee-product-media,
    .tokopedia-product-media {
        min-height: 135px;
        height: 135px;
        padding: 28px;
    }
    .reward-product p {
        min-height: 0;
    }
    .reward-product .reward-action {
        width: 100%;
    }
}


.lazada-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #f2edff;
}
.lazada-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

.blibli-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #174b6b;
}
.blibli-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

.zalora-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #f2f2f2;
}
.zalora-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

.tiktokshop-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #e9f9f8;
}
.tiktokshop-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

.grabfood-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #225d36;
}
.grabfood-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

.gofood-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #59251a;
}
.gofood-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

.traveloka-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #2a445d;
}
.traveloka-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

.indomaret-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #fff7df;
}
.indomaret-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

.alfamart-product-media {
    display: grid;
    place-items: center;
    max-height: 148px; height: 100%;
    background: #fff0ee;
}
.alfamart-product-media img {
    display: block;
    width: min(300px, 88%);
    height: auto;
}

/* Keep every marketplace logo equally sized and readable. */
.reward-product > div:first-child {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 160px;
    height: 160px;
    max-height: none;
    padding: 24px;
}
.reward-product > div:first-child img {
    display: block;
    width: min(230px, 72%);
    height: 64px;
    max-width: none;
    object-fit: contain;
    box-sizing: content-box;
    padding: 12px 18px;
    border: 1px solid rgba(33, 33, 33, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 3px 12px rgba(33, 33, 33, 0.06);
}
.shopee-product > div:first-child img,
.blibli-product > div:first-child img,
.grabfood-product > div:first-child img,
.gofood-product > div:first-child img,
.traveloka-product > div:first-child img {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
@media (max-width: 620px) {
    .reward-product > div:first-child {
        min-height: 145px;
        height: 145px;
        padding: 20px;
    }
    .reward-product > div:first-child img {
        width: min(220px, 74%);
        height: 58px;
    }
}

/* Final Shopee header and rewards catalogue */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(180deg, #f53d2d 0%, #ee4d2d 100%);
    border: 0;
    box-shadow: 0 2px 8px rgba(170, 48, 22, 0.22);
}
.shopee-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.shopee-topbar-inner {
    width: min(1180px, calc(100% - 40px));
    height: 30px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.94);
}
.topbar-spacer { flex: 1; }
.site-header .header-inner {
    width: min(1180px, calc(100% - 40px));
    height: 70px;
    gap: 26px;
}
.site-header .brand { flex: 0 0 auto; }
.site-header .brand { margin-right: auto; }
.site-header .brand-logo {
    width: 148px;
    filter: brightness(0) invert(1);
}
.shopee-search {
    min-width: 180px;
    height: 40px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 16px;
    color: #929292;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-size: 14px;
}
.shopee-search button {
    width: 58px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 2px;
    color: #fff;
    background: #fb5533;
}
.shopee-search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}
.site-header .coin-balance {
    min-width: 112px;
    height: 42px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-content: center;
    justify-items: end;
    padding: 4px 12px;
    color: #fff;
    background: rgba(122, 27, 10, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 4px;
}
.site-header .coin-balance .balance-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    line-height: 1.1;
}
.site-header .coin-balance .balance-value {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
}
.site-header .coin-balance .icon {
    width: 16px;
    height: 16px;
    color: #ffd36b;
}
.site-header .coin-balance strong { color: #fff; font-size: 16px; }
.site-header .profile-trigger {
    width: 40px;
    height: 40px;
    padding: 0;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
}
.site-header .main-nav {
    width: min(1180px, calc(100% - 40px));
    height: 34px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
}
.site-header .main-nav a {
    height: 34px;
    padding: 0;
    color: rgba(255, 255, 255, 0.84);
    border: 0;
    font-size: 12px;
    font-weight: 500;
}
.site-header .main-nav a:hover,
.site-header .main-nav a[aria-current="page"] {
    color: #fff;
    background: transparent;
    border: 0;
    font-weight: 700;
}
.site-header .mobile-nav { display: none; }

#page-marketplace {
    width: min(1180px, calc(100% - 40px));
    padding-top: 36px;
}
#page-marketplace .page-heading {
    margin-bottom: 24px;
    padding: 26px 30px;
    background: #fff;
    border: 1px solid #ededed;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
#page-marketplace .page-heading h1 { font-size: 32px; }
#page-marketplace .market-balance {
    min-width: 132px;
    padding: 12px 16px;
    border: 1px solid #f2c7bd;
    border-radius: 2px;
    background: #fff7f5;
}
.market-layout,
.market-layout:has(.redemption-panel[hidden]) {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
}
.market-layout:has(.redemption-panel[hidden]) .redemption-panel { display: none; }
.market-layout:has(.redemption-panel[hidden]) .product-list { grid-column: 1 / -1; }
.product-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.reward-product,
.shopee-product {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ededed;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.reward-product:hover {
    transform: translateY(-2px);
    border-color: #ee4d2d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.11);
}
.reward-product > div:first-child,
.shopee-product > div:first-child {
    width: 100%;
    min-height: 150px;
    height: 150px;
    padding: 26px;
    display: grid;
    place-items: center;
    background: #fafafa;
    border: 0;
}
.reward-product > div:first-child img,
.shopee-product > div:first-child img {
    display: block;
    width: 78%;
    height: 70px;
    max-width: 190px;
    object-fit: contain;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    filter: none;
}
.shopee-product > div:first-child { background: #ee4d2d; }
.shopee-product > div:first-child img { filter: brightness(0) invert(1); }
.grabfood-product > div:first-child { background: #21653a; }
.traveloka-product > div:first-child { background: #294b68; }
.shopee-product-body {
    min-width: 0;
    padding: 14px;
    display: flex;
    flex: 1;
    flex-direction: column;
}
.product-category {
    align-self: flex-start;
    margin: 0 0 7px;
    padding: 2px 6px;
    color: #ee4d2d;
    background: #fff1ed;
    font-size: 9px;
    line-height: 1.5;
}
.reward-product h2,
.shopee-product h2 {
    min-height: 42px;
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0;
}
.reward-product p,
.shopee-product p {
    min-height: 54px;
    margin: 0 0 12px;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}
.reward-product dl,
.shopee-product dl {
    display: grid;
    gap: 4px;
    margin: auto 0 12px;
    padding: 9px;
    border: 0;
    border-radius: 2px;
    background: #f7f7f7;
}
.reward-product dl div,
.shopee-product dl div {
    min-width: 0;
    padding: 0;
    border: 0;
    gap: 8px;
}
.reward-product dt,
.shopee-product dt { font-size: 10px; }
.reward-product dd,
.shopee-product dd { font-size: 10px; text-align: right; }
.reward-product .reward-action {
    width: 100%;
    align-self: stretch;
    margin: 0;
    padding: 9px 10px;
    color: #fff;
    background: #ee4d2d;
    border: 1px solid #ee4d2d;
    border-radius: 2px;
    font-size: 12px;
}
.reward-product .reward-action:hover { background: #d73211; }
.reward-product .reward-action:disabled {
    color: #aaa;
    background: #f3f3f3;
    border-color: #e5e5e5;
}
.redemption-panel {
    position: sticky;
    top: 154px;
    border: 1px solid #ededed;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
@media (max-width: 980px) {
    .shopee-topbar { display: none; }
    .site-header .header-inner { height: 58px; gap: 12px; }
    .site-header .brand-logo { width: 118px; }
    .site-header .main-nav { display: none; }
    .site-header .mobile-nav {
        width: 100%;
        height: 40px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid rgba(255,255,255,.16);
    }
    .site-header .mobile-nav a {
        padding: 8px 4px;
        color: rgba(255,255,255,.88);
        font-size: 11px;
    }
    .shopee-search { display: none; }
    .site-header .coin-balance { margin-left: auto; }
    .product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .market-layout,
    .market-layout:has(.redemption-panel[hidden]) { grid-template-columns: 1fr; }
    .redemption-panel { position: static; order: -1; }
}
@media (max-width: 680px) {
    .site-header .header-inner { width: calc(100% - 24px); }
    .site-header .brand-logo { width: 112px; }
    .site-header .coin-balance { min-width: 82px; height: 38px; padding: 4px 8px; }
    .site-header .coin-balance .balance-label { font-size: 8px; }
    .site-header .profile-trigger { width: 36px; height: 36px; }
    #page-marketplace { width: calc(100% - 24px); padding-top: 18px; }
    #page-marketplace .page-heading { padding: 18px; }
    #page-marketplace .page-heading h1 { font-size: 26px; }
    .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .reward-product > div:first-child,
    .shopee-product > div:first-child { min-height: 116px; height: 116px; padding: 18px; }
    .reward-product > div:first-child img,
    .shopee-product > div:first-child img { height: 52px; width: 82%; }
    .shopee-product-body { padding: 11px; }
    .reward-product h2,
    .shopee-product h2 { min-height: 38px; font-size: 14px; }
    .reward-product p,
    .shopee-product p { display: none; }
    .reward-product dl,
    .shopee-product dl { padding: 7px; }
}
