@import "css2_1.css";
@import "css2.css";
@import "https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap";
@import "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&display=swap";

@layer properties {
    @supports (((-webkit-hyphens: none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))) {
        *,:before,:after,::backdrop {
            --tw-rotate-x:initial;
            --tw-rotate-y: initial;
            --tw-rotate-z: initial;
            --tw-skew-x: initial;
            --tw-skew-y: initial;
            --tw-border-style: solid;
            --tw-leading: initial;
            --tw-font-weight: initial;
            --tw-shadow: 0 0 #0000;
            --tw-shadow-color: initial;
            --tw-shadow-alpha: 100%;
            --tw-inset-shadow: 0 0 #0000;
            --tw-inset-shadow-color: initial;
            --tw-inset-shadow-alpha: 100%;
            --tw-ring-color: initial;
            --tw-ring-shadow: 0 0 #0000;
            --tw-inset-ring-color: initial;
            --tw-inset-ring-shadow: 0 0 #0000;
            --tw-ring-inset: initial;
            --tw-ring-offset-width: 0px;
            --tw-ring-offset-color: #fff;
            --tw-ring-offset-shadow: 0 0 #0000;
            --tw-outline-style: solid;
            --tw-blur: initial;
            --tw-brightness: initial;
            --tw-contrast: initial;
            --tw-grayscale: initial;
            --tw-hue-rotate: initial;
            --tw-invert: initial;
            --tw-opacity: initial;
            --tw-saturate: initial;
            --tw-sepia: initial;
            --tw-drop-shadow: initial;
            --tw-drop-shadow-color: initial;
            --tw-drop-shadow-alpha: 100%;
            --tw-drop-shadow-size: initial;
            --tw-backdrop-blur: initial;
            --tw-backdrop-brightness: initial;
            --tw-backdrop-contrast: initial;
            --tw-backdrop-grayscale: initial;
            --tw-backdrop-hue-rotate: initial;
            --tw-backdrop-invert: initial;
            --tw-backdrop-opacity: initial;
            --tw-backdrop-saturate: initial;
            --tw-backdrop-sepia: initial;
            --tw-ease: initial;
        }
    }
}

@layer theme {
    :root,:host {
        --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        --color-emerald-500: #00bb7f;
        --color-neutral-100: #f5f5f5;
        --color-neutral-200: #e5e5e5;
        --color-neutral-400: #a1a1a1;
        --color-neutral-700: #404040;
        --color-neutral-900: #171717;
        --color-black: #000;
        --color-white: #fff;
        --spacing: .25rem;
        --container-md: 28rem;
        --container-2xl: 42rem;
        --text-xs: .75rem;
        --text-xs--line-height: calc(1 / .75);
        --text-sm: .875rem;
        --text-sm--line-height: calc(1.25 / .875);
        --text-lg: 1.125rem;
        --text-lg--line-height: calc(1.75 / 1.125);
        --text-xl: 1.25rem;
        --text-xl--line-height: calc(1.75 / 1.25);
        --font-weight-medium: 500;
        --font-weight-semibold: 600;
        --leading-relaxed: 1.625;
        --radius-md: .375rem;
        --radius-2xl: 1rem;
        --ease-in-out: cubic-bezier(.4, 0, .2, 1);
        --blur-sm: 8px;
        --default-transition-duration: .15s;
        --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
        --default-font-family: var(--font-sans);
        --default-mono-font-family: var(--font-mono);
    }

    @supports (color: lab(0% 0 0)) {
        :root,:host {
            --color-emerald-500:lab(66.9756% -58.27 19.5419);
            --color-neutral-100: lab(96.52% -.0000298023 .0000119209);
            --color-neutral-200: lab(90.952% 0 -.0000119209);
            --color-neutral-400: lab(66.128% -.0000298023 .0000119209);
            --color-neutral-700: lab(27.036% 0 0);
            --color-neutral-900: lab(7.78201% -.0000149012 0);
        }
    }
}

@layer base {
    *,:after,:before,::backdrop {
        box-sizing: border-box;
        border: 0 solid;
        margin: 0;
        padding: 0;
    }

    ::file-selector-button {
        box-sizing: border-box;
        border: 0 solid;
        margin: 0;
        padding: 0;
    }

    html,: host {
        -webkit-text-size-adjust:100%;
        tab-size: 4;
        line-height: 1.5;
        font-family: var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
        font-feature-settings: var(--default-font-feature-settings,normal);
        font-variation-settings: var(--default-font-variation-settings,normal);
        -webkit-tap-highlight-color: transparent;
    }

    hr {
        height: 0;
        color: inherit;
        border-top-width: 1px;
    }

    abbr: where([title]) {
        -webkit-text-decoration:underline dotted;
        text-decoration: underline dotted;
    }

    h1,h2,h3,h4,h5,h6 {
        font-size: inherit;
        font-weight: inherit;
    }

    a {
        color: inherit;
        -webkit-text-decoration: inherit;
        text-decoration: inherit;
    }

    b,strong {
        font-weight: bolder;
    }

    code,kbd,samp,pre {
        font-family: var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
        font-feature-settings: var(--default-mono-font-feature-settings,normal);
        font-variation-settings: var(--default-mono-font-variation-settings,normal);
        font-size: 1em;
    }

    small {
        font-size: 80%;
    }

    sub,sup {
        vertical-align: baseline;
        font-size: 75%;
        line-height: 0;
        position: relative;
    }

    sub {
        bottom: -.25em;
    }

    sup {
        top: -.5em;
    }

    table {
        text-indent: 0;
        border-color: inherit;
        border-collapse: collapse;
    }

    :-moz-focusring {
        outline: auto;
    }

    progress {
        vertical-align: baseline;
    }

    summary {
        display: list-item;
    }

    ol,ul,menu {
        list-style: none;
    }

    img,svg,video,canvas,audio,iframe,embed,object {
        vertical-align: middle;
        display: block;
    }

    img,video {
        max-width: 100%;
        height: auto;
    }

    button,input,select,optgroup,textarea {
        font: inherit;
        font-feature-settings: inherit;
        font-variation-settings: inherit;
        letter-spacing: inherit;
        color: inherit;
        opacity: 1;
        background-color: #0000;
        border-radius: 0;
    }

    ::file-selector-button {
        font: inherit;
        font-feature-settings: inherit;
        font-variation-settings: inherit;
        letter-spacing: inherit;
        color: inherit;
        opacity: 1;
        background-color: #0000;
        border-radius: 0;
    }

    :where(select: is([multiple],[size])) optgroup {
        font-weight:bolder;
    }

    :where(select: is([multiple],[size])) optgroup option {
        padding-inline-start:20px;
    }

    ::file-selector-button {
        margin-inline-end:4px;
    }

    ::placeholder {
        opacity: 1;
    }

    @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size:1px) {
        ::placeholder {
            color:currentColor;
        }

        @supports (color: color-mix(in lab, red, red)) {
            ::placeholder {
                color:color-mix(in oklab, currentcolor 50%, transparent);
            }
        }
    }

    textarea {
        resize: vertical;
    }

    ::-webkit-search-decoration {
        -webkit-appearance: none;
    }

    ::-webkit-date-and-time-value {
        min-height: 1lh;
        text-align: inherit;
    }

    ::-webkit-datetime-edit {
        display: inline-flex;
    }

    ::-webkit-datetime-edit-fields-wrapper {
        padding: 0;
    }

    ::-webkit-datetime-edit {
        padding-block:0;
    }

    ::-webkit-datetime-edit-year-field {
        padding-block:0;
    }

    ::-webkit-datetime-edit-month-field {
        padding-block:0;
    }

    ::-webkit-datetime-edit-day-field {
        padding-block:0;
    }

    ::-webkit-datetime-edit-hour-field {
        padding-block:0;
    }

    ::-webkit-datetime-edit-minute-field {
        padding-block:0;
    }

    ::-webkit-datetime-edit-second-field {
        padding-block:0;
    }

    ::-webkit-datetime-edit-millisecond-field {
        padding-block:0;
    }

    ::-webkit-datetime-edit-meridiem-field {
        padding-block:0;
    }

    ::-webkit-calendar-picker-indicator {
        line-height: 1;
    }

    :-moz-ui-invalid {
        box-shadow: none;
    }

    button,input: where([type=button],[type=reset],[type=submit]) {
        appearance:button;
    }

    ::file-selector-button {
        appearance: button;
    }

    ::-webkit-inner-spin-button {
        height: auto;
    }

    ::-webkit-outer-spin-button {
        height: auto;
    }

    [hidden]: where(:not([hidden=until-found])) {
        display:none!important;
    }
}

@layer components;
@layer utilities {
    .visible {
        visibility: visible;
    }

    .absolute {
        position: absolute;
    }

    .fixed {
        position: fixed;
    }

    .relative {
        position: relative;
    }

    .sticky {
        position: sticky;
    }

    .inset-0 {
        inset: 0;
    }

    .z-10 {
        z-index: 10;
    }

    .z-\[9999\] {
        z-index: 9999;
    }

    .mx-auto {
        margin-inline:auto;
    }

    .mt-2 {
        margin-top: calc(var(--spacing) * 2);
    }

    .-mr-1 {
        margin-right: calc(var(--spacing) * -1);
    }

    .block {
        display: block;
    }

    .flex {
        display: flex;
    }

    .grid {
        display: grid;
    }

    .hidden {
        display: none;
    }

    .inline {
        display: inline;
    }

    .inline-block {
        display: inline-block;
    }

    .inline-flex {
        display: inline-flex;
    }

    .size-2 {
        width: calc(var(--spacing) * 2);
        height: calc(var(--spacing) * 2);
    }

    .h-10 {
        height: calc(var(--spacing) * 10);
    }

    .max-h-\[85vh\] {
        max-height: 85vh;
    }

    .w-full {
        width: 100%;
    }

    .max-w-2xl {
        max-width: var(--container-2xl);
    }

    .max-w-md {
        max-width: var(--container-md);
    }

    .min-w-0 {
        min-width: 0;
    }

    .flex-1 {
        flex: 1;
    }

    .shrink-0 {
        flex-shrink: 0;
    }

    .transform {
        transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    }

    .resize {
        resize: both;
    }

    .flex-col {
        flex-direction: column;
    }

    .items-center {
        align-items: center;
    }

    .items-start {
        align-items: flex-start;
    }

    .justify-between {
        justify-content: space-between;
    }

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

    .gap-1\.5 {
        gap: calc(var(--spacing) * 1.5);
    }

    .gap-3 {
        gap: calc(var(--spacing) * 3);
    }

    .overflow-hidden {
        overflow: hidden;
    }

    .overflow-y-auto {
        overflow-y: auto;
    }

    .rounded-2xl {
        border-radius: var(--radius-2xl);
    }

    .rounded-full {
        border-radius: 3.40282e38px;
    }

    .rounded-lg {
        border-radius: var(--radius);
    }

    .rounded-md {
        border-radius: var(--radius-md);
    }

    .border {
        border-style: var(--tw-border-style);
        border-width: 1px;
    }

    .border-t {
        border-top-style: var(--tw-border-style);
        border-top-width: 1px;
    }

    .border-b {
        border-bottom-style: var(--tw-border-style);
        border-bottom-width: 1px;
    }

    .border-border {
        border-color: var(--border);
    }

    .border-neutral-200 {
        border-color: var(--color-neutral-200);
    }

    .bg-black\/60 {
        background-color: #0009;
    }

    @supports (color: color-mix(in lab, red, red)) {
        .bg-black\/60 {
            background-color:color-mix(in oklab, var(--color-black) 60%, transparent);
        }
    }

    .bg-card {
        background-color: var(--card);
    }

    .bg-emerald-500 {
        background-color: var(--color-emerald-500);
    }

    .bg-primary {
        background-color: var(--primary);
    }

    .bg-white {
        background-color: var(--color-white);
    }

    .p-1 {
        padding: var(--spacing);
    }

    .p-2 {
        padding: calc(var(--spacing) * 2);
    }

    .p-4 {
        padding: calc(var(--spacing) * 4);
    }

    .px-3 {
        padding-inline:calc(var(--spacing) * 3);
    }

    .px-4 {
        padding-inline: calc(var(--spacing) * 4);
    }

    .py-20 {
        padding-block:calc(var(--spacing) * 20);
    }

    .text-center {
        text-align: center;
    }

    .text-lg {
        font-size: var(--text-lg);
        line-height: var(--tw-leading,var(--text-lg--line-height));
    }

    .text-sm {
        font-size: var(--text-sm);
        line-height: var(--tw-leading,var(--text-sm--line-height));
    }

    .text-xl {
        font-size: var(--text-xl);
        line-height: var(--tw-leading,var(--text-xl--line-height));
    }

    .text-xs {
        font-size: var(--text-xs);
        line-height: var(--tw-leading,var(--text-xs--line-height));
    }

    .leading-relaxed {
        --tw-leading: var(--leading-relaxed);
        line-height: var(--leading-relaxed);
    }

    .font-medium {
        --tw-font-weight: var(--font-weight-medium);
        font-weight: var(--font-weight-medium);
    }

    .font-semibold {
        --tw-font-weight: var(--font-weight-semibold);
        font-weight: var(--font-weight-semibold);
    }

    .break-all {
        word-break: break-all;
    }

    .text-foreground {
        color: var(--foreground);
    }

    .text-muted-foreground {
        color: var(--muted-foreground);
    }

    .text-neutral-400 {
        color: var(--color-neutral-400);
    }

    .text-neutral-900 {
        color: var(--color-neutral-900);
    }

    .text-primary-foreground {
        color: var(--primary-foreground);
    }

    .uppercase {
        text-transform: uppercase;
    }

    .shadow-2xl {
        --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color,#00000040);
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }

    .outline {
        outline-style: var(--tw-outline-style);
        outline-width: 1px;
    }

    .blur {
        --tw-blur: blur(8px);
        filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
    }

    .filter {
        filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
    }

    .backdrop-blur-sm {
        --tw-backdrop-blur: blur(var(--blur-sm));
        -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
        backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    }

    .backdrop-filter {
        -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
        backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    }

    .transition {
        transition-property: color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;
        transition-timing-function: var(--tw-ease,var(--default-transition-timing-function));
        transition-duration: var(--tw-duration,var(--default-transition-duration));
    }

    .transition-colors {
        transition-property: color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;
        transition-timing-function: var(--tw-ease,var(--default-transition-timing-function));
        transition-duration: var(--tw-duration,var(--default-transition-duration));
    }

    .ease-in-out {
        --tw-ease: var(--ease-in-out);
        transition-timing-function: var(--ease-in-out);
    }

    .outline-none {
        --tw-outline-style: none;
        outline-style: none;
    }

    @media (hover: hover) {
        .hover\:bg-muted:hover {
            background-color:var(--muted);
        }

        .hover\:bg-neutral-100:hover {
            background-color: var(--color-neutral-100);
        }

        .hover\:text-neutral-700:hover {
            color: var(--color-neutral-700);
        }

        .hover\:opacity-90:hover {
            opacity: .9;
        }
    }

    .focus\: ring-2:focus {
        --tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }

    .focus\: ring-primary\/40:focus {
        --tw-ring-color:var(--primary);
    }

    @supports (color: color-mix(in lab, red, red)) {
        .focus\:ring-primary\/40:focus {
            --tw-ring-color:color-mix(in oklab, var(--primary) 40%, transparent);
        }
    }

    .disabled\: pointer-events-none:disabled {
        pointer-events:none;
    }

    .disabled\: opacity-50:disabled {
        opacity:.5;
    }
}

:root[data-template=a1] {
    --primary: #4f46e5;
    --primary-foreground: #fff;
    --background: #fff;
    --foreground: #14151a;
    --card: #fff;
    --muted: #f7f8fc;
    --muted-foreground: #7b8290;
    --border: #e9ecf2;
    --radius: 16px;
    --accent: var(--primary);
    --accent-2: #7c73ff;
    --accent-soft: #eef0ff;
    --accent-ink: #2b2790;
    --ink: var(--foreground);
    --ink-2: #444a57;
    --ink-3: var(--muted-foreground);
    --line: var(--border);
    --line-2: #f1f3f8;
    --bg: var(--background);
    --bg-soft: var(--muted);
    --bg-soft-2: #eef1f7;
    --star: #ffb020;
    --good: #17b26a;
    --hot: #f0435a;
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 22px;
    --r-xl: 28px;
    --sh-1: 0 1px 2px #12151a0f, 0 2px 8px #12151a0d;
    --sh-2: 0 6px 16px #12151a14, 0 2px 6px #12151a0d;
    --sh-3: 0 18px 40px #12151a1f, 0 6px 14px #12151a12;
    --sh-accent: 0 10px 26px var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    :root[data-template=a1] {
        --sh-accent:0 10px 26px color-mix(in oklab, var(--accent) 30%, transparent);
    }
}

:root[data-template=a1] {
    --head: "Baloo 2", system-ui, sans-serif;
    --body: "Be Vietnam Pro", system-ui, sans-serif;
}

.tg-root {
    font-family: var(--body);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: clip;
}

.tg-root a {
    color: inherit;
    text-decoration: none;
}

.tg-root img {
    max-width: 100%;
    display: block;
}

.tg-root h1,.tg-root h2,.tg-root h3,.tg-root h4 {
    font-family: var(--head);
    letter-spacing: -.01em;
    margin: 0;
    line-height: 1.08;
}

.tg-root p {
    margin: 0;
}

.tg-root button {
    cursor: pointer;
    font-family: inherit;
}

.tg-root .wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline:auto;
    padding-inline:24px;
}

.tg-root .btn {
    font-family: var(--body);
    white-space: nowrap;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    transition: transform .12s,box-shadow .18s,background .18s;
    display: inline-flex;
}

.tg-root .btn:active {
    transform: translateY(1px);
}

.tg-root .btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--sh-accent);
}

.tg-root .btn-primary:hover {
    background: var(--accent);
}

.tg-root .btn-primary:disabled {
    background: #a5b4fc;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.65;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .btn-primary:hover {
        background:color-mix(in oklab, var(--accent) 88%, #000);
    }
}

.tg-root .btn-ghost {
    background: var(--bg-soft);
    color: var(--ink);
}

.tg-root .btn-ghost:hover {
    background: var(--bg-soft-2);
}

.tg-root .btn-outline {
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--line);
    background: #fff;
}

.tg-root .btn-outline:hover {
    box-shadow: inset 0 0 0 1.5px var(--accent);
    color: var(--accent-ink);
}

.tg-root .btn-sm {
    padding: 9px 16px;
    font-size: 14px;
}

.tg-root .btn-lg {
    padding: 15px 28px;
    font-size: 16px;
}

.tg-root .nav {
    z-index: 40;
    background: var(--bg);
    position: sticky;
    top: 0;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .nav {
        background:color-mix(in oklab, var(--bg) 88%, transparent);
    }
}

.tg-root .nav {
    -webkit-backdrop-filter: saturate(1.4)blur(12px);
    backdrop-filter: saturate(1.4)blur(12px);
    border-bottom: 1px solid var(--line);
}

.tg-root .nav-in {
    align-items: center;
    gap: 20px;
    height: 72px;
    display: flex;
}

.tg-root .brand {
    font-family: var(--head);
    letter-spacing: -.02em;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 22px;
    font-weight: 800;
    display: flex;
}

.tg-root .brand .brand-name {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.tg-root .brand .logo {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    width: 38px;
    height: 38px;
    box-shadow: var(--sh-accent);
    border-radius: 11px;
    flex: none;
    place-items: center;
    display: grid;
}

.tg-root .brand .logo svg {
    width: 22px;
    height: 22px;
}

.tg-root .brand b {
    color: var(--accent);
}

.tg-root .nav-links {
    align-items: center;
    gap: 4px;
    display: flex;
}

.tg-root .nav-links a {
    color: var(--ink-2);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 15px;
    font-weight: 600;
}

.tg-root .nav-links a:hover {
    background: var(--bg-soft);
    color: var(--ink);
}

.tg-root .nav-links a.on {
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.tg-root .nav-spacer {
    flex: 1;
}

.tg-root .wallet-pill {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-radius: 999px;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
}

.tg-root .wallet-pill:hover {
    background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .wallet-pill:hover {
        background:color-mix(in oklab, var(--accent) 18%, #fff);
    }
}

.tg-root .wallet-pill svg {
    flex: none;
}

.tg-root .nav-ava {
    color: #fff;
    width: 38px;
    height: 38px;
    font-family: var(--head);
    background: linear-gradient(135deg,#ff6a3d,#ff2e63);
    border-radius: 50%;
    flex: none;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    display: grid;
}

.tg-root .icon-nav {
    width: 40px;
    height: 40px;
    color: var(--ink-2);
    border-radius: 12px;
    flex: none;
    place-items: center;
    display: grid;
    position: relative;
}

.tg-root .icon-nav:hover {
    background: var(--bg-soft);
    color: var(--ink);
}

.tg-root .icon-nav .dot-badge {
    background: var(--hot);
    color: #fff;
    min-width: 16px;
    height: 16px;
    font-family: var(--head);
    text-align: center;
    border: 2px solid var(--bg);
    border-radius: 999px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    animation: 1.5s ease-in-out infinite db-pulse;
    position: absolute;
    top: 1px;
    right: 1px;
}

@keyframes db-pulse {
    0%,to {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

@media (prefers-reduced-motion:reduce) {
    .tg-root .icon-nav .dot-badge {
        animation: none;
    }
}

.tg-root .search {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    max-width: 460px;
    color: var(--ink-3);
    border-radius: 999px;
    flex: 1;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    display: flex;
}

.tg-root .search input {
    font-family: var(--body);
    color: var(--ink);
    background: 0 0;
    border: none;
    outline: none;
    flex: 1;
    font-size: 15px;
}

.tg-root .search svg {
    flex: none;
}

.tg-root .card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    background: #fff;
    transition: transform .16s,box-shadow .2s,border-color .2s;
    display: block;
    overflow: hidden;
}

.tg-root .card:hover {
    box-shadow: var(--sh-3);
    border-color: var(--accent);
    transform: translateY(-4px);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .card:hover {
        border-color:color-mix(in oklab, var(--accent) 30%, var(--line));
    }
}

.tg-root .thumb {
    aspect-ratio: 4/3;
    color: #fff;
    place-items: center;
    display: grid;
    position: relative;
    overflow: hidden;
}

.tg-root .thumb.free {
    aspect-ratio: auto;
    display: block;
}

.tg-root .thumb.free .cat-img {
    width: 100%;
    height: auto;
    display: block;
}

.tg-root .thumb.free:after {
    display: none;
}

.tg-root .thumb:after {
    content: "";
    background: radial-gradient(120% 90% at 80% 0,#ffffff47,#0000 55%),linear-gradient(#0000 40%,#00000047);
    position: absolute;
    inset: 0;
}

.tg-root .thumb .g-name {
    z-index: 1;
    font-family: var(--head);
    text-shadow: 0 2px 12px #0000004d;
    text-align: center;
    letter-spacing: -.01em;
    padding: 0 14px;
    font-size: 26px;
    font-weight: 800;
    position: relative;
}

.tg-root .thumb .rank {
    z-index: 2;
    color: var(--ink);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    white-space: nowrap;
    box-shadow: var(--sh-1);
    background: #ffffffeb;
    border-radius: 999px;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    position: absolute;
    top: 12px;
    left: 12px;
}

.tg-root .thumb .rank svg {
    color: var(--star);
}

.tg-root .thumb .fav {
    z-index: 2;
    width: 34px;
    height: 34px;
    color: var(--ink-2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: #ffffffd9;
    border: none;
    border-radius: 50%;
    place-items: center;
    display: grid;
    position: absolute;
    top: 10px;
    right: 10px;
}

.tg-root .thumb .fav:hover,.tg-root .thumb .fav.on {
    color: var(--hot);
    background: #fff;
}

.tg-root .thumb .tag-hot,.tg-root .thumb .tag-rented {
    z-index: 2;
    white-space: nowrap;
    color: #fff;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    position: absolute;
    bottom: 12px;
    left: 12px;
}

.tg-root .thumb .tag-hot {
    background: var(--hot);
}

.tg-root .thumb .tag-rented {
    background: #14161eb8;
}

.tg-root .card-rented {
    cursor: default;
}

.tg-root .card-rented:hover {
    box-shadow: var(--sh-1);
    border-color: var(--line);
    transform: none;
}

.tg-root .card-rented .thumb {
    filter: grayscale(.4);
    opacity: .92;
}

.tg-root .pc-stock.rented {
    color: var(--ink-3);
}

.tg-root .price-rented {
    font-family: var(--head);
    color: var(--ink-3);
    font-size: 16px;
    font-weight: 800;
}

.tg-root .card-body {
    padding: 14px 15px 16px;
}

.tg-root .card-title {
    font-family: var(--body);
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
}

.tg-root .meta-row {
    color: var(--ink-3);
    align-items: center;
    gap: 10px;
    margin-top: 9px;
    font-size: 13px;
    display: flex;
}

.tg-root .stars {
    color: var(--star);
    align-items: center;
    gap: 4px;
    font-weight: 700;
    display: inline-flex;
}

.tg-root .stars b {
    color: var(--ink);
}

.tg-root .dot {
    background: var(--ink-3);
    opacity: .6;
    border-radius: 50%;
    width: 3px;
    height: 3px;
}

.tg-root .rentals {
    align-items: center;
    gap: 5px;
    display: inline-flex;
}

.tg-root .price-row {
    align-items: baseline;
    gap: 8px;
    margin-top: 12px;
    display: flex;
}

.tg-root .price {
    font-family: var(--head);
    color: var(--accent-ink);
    letter-spacing: -.01em;
    font-size: 22px;
    font-weight: 800;
}

.tg-root .price .per {
    font-family: var(--body);
    color: var(--ink-3);
    font-size: 13px;
    font-weight: 600;
}

.tg-root .price-old {
    color: var(--ink-3);
    font-size: 13px;
    text-decoration: line-through;
}

.tg-root .chip {
    border: 1px solid var(--line);
    color: var(--ink-2);
    white-space: nowrap;
    background: #fff;
    border-radius: 999px;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 600;
    transition: all .16s;
    display: inline-flex;
}

.tg-root .chip:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
}

.tg-root .chip.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: var(--sh-accent);
}

.tg-root .sec {
    padding-block:44px;
}

.tg-root .sec-head {
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
    display: flex;
}

.tg-root .sec-head .eyebrow {
    color: var(--accent);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
}

.tg-root .sec-head h2 {
    font-size: 30px;
    font-weight: 800;
}

.tg-root .sec-head .see-all {
    color: var(--accent-ink);
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
}

.tg-root .sec-head .see-all:hover {
    gap: 9px;
}

.tg-root .tg-grid {
    gap: 20px;
    display: grid;
}

.tg-root .grid-4 {
    grid-template-columns: repeat(4,1fr);
}

.tg-root .grid-3 {
    grid-template-columns: repeat(3,1fr);
}

.tg-root .grid-2 {
    grid-template-columns: repeat(2,1fr);
}

.tg-root .footer {
    background: radial-gradient(120% 120% at 100% 0%, var(--accent), transparent 55%), linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    position: relative;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .footer {
        background:radial-gradient(120% 120% at 100% 0%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 55%), linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    }
}

.tg-root .footer {
    border-top: 1px solid var(--line);
    padding-block:56px 26px;
}

.tg-root .footer:before {
    content: "";
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    height: 3px;
    position: absolute;
    inset: 0 0 auto;
}

.tg-root .foot-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 40px;
    display: grid;
}

.tg-root .foot-tagline {
    color: var(--ink-3);
    max-width: 26em;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.tg-root .foot-contact {
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.tg-root .foot-contact a,.tg-root .foot-contact .fc-static {
    color: var(--ink-2);
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    transition: color .15s;
    display: inline-flex;
}

.tg-root .foot-contact a:hover {
    color: var(--accent-ink);
}

.tg-root .foot-contact .fc-ic {
    background: var(--accent);
    border-radius: 9px;
    place-items: center;
    width: 28px;
    height: 28px;
    display: inline-grid;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .foot-contact .fc-ic {
        background:color-mix(in oklab, var(--accent) 10%, transparent);
    }
}

.tg-root .foot-contact .fc-ic {
    color: var(--accent);
    flex: none;
}

.tg-root .foot-grid h4 {
    font-family: var(--body);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 800;
}

.tg-root .foot-col a {
    width: fit-content;
    color: var(--ink-3);
    padding: 5px 0;
    font-size: 14px;
    transition: color .15s,transform .15s;
    display: block;
    position: relative;
}

.tg-root .foot-col a:before {
    content: "";
    background: var(--accent);
    opacity: 0;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    transition: opacity .15s,transform .15s;
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%)scale(.5);
}

.tg-root .foot-col a:hover {
    color: var(--accent-ink);
    transform: translate(12px);
}

.tg-root .foot-col a:hover:before {
    opacity: 1;
    transform: translateY(-50%)scale(1);
}

.tg-root .foot-bottom {
    border-top: 1px solid var(--line);
    color: var(--ink-3);
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 44px;
    padding-top: 22px;
    font-size: 13px;
    display: flex;
}

.tg-root .hero {
    position: relative;
    overflow: hidden;
}

.tg-root .hero-bg {
    z-index: -1;
    background: radial-gradient(60% 80% at 15% 0,#eef0ff 0%,#0000 55%),radial-gradient(50% 70% at 95% 10%,#f3ecff 0%,#0000 55%),linear-gradient(#fbfbff,#fff);
    position: absolute;
    inset: 0;
}

.tg-root .hero-in {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
    padding-block:56px 60px;
    display: grid;
}

.tg-root .hero h1 {
    letter-spacing: -.02em;
    font-size: 52px;
    font-weight: 800;
}

.tg-root .hero h1 em {
    color: var(--accent);
    font-style: normal;
}

.tg-root .hero .sub {
    color: var(--ink-2);
    max-width: 30em;
    margin-top: 16px;
    font-size: 18px;
}

.tg-root .hero-search {
    box-shadow: var(--sh-2);
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    gap: 8px;
    max-width: 480px;
    margin-top: 26px;
    padding: 8px;
    display: flex;
}

.tg-root .hero-search input {
    min-width: 0;
    font-family: var(--body);
    background: 0 0;
    border: none;
    outline: none;
    flex: 1;
    padding-left: 14px;
    font-size: 16px;
}

.tg-root .hero-stats {
    gap: 28px;
    margin-top: 28px;
    display: flex;
}

.tg-root .hero-stats .n {
    font-family: var(--head);
    color: var(--ink);
    font-size: 26px;
    font-weight: 800;
}

.tg-root .hero-stats .l {
    color: var(--ink-3);
    margin-top: 2px;
    font-size: 13.5px;
}

.tg-root .pop-tags {
    color: var(--ink-3);
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    display: flex;
}

.tg-root .pop-tags a {
    border: 1px solid var(--line);
    color: var(--ink-2);
    background: #fff;
    border-radius: 999px;
    padding: 6px 13px;
    font-weight: 600;
}

.tg-root .pop-tags a:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
}

.tg-root .hero-visual {
    height: 420px;
    position: relative;
}

.tg-root .hv-card {
    border-radius: var(--r-lg);
    width: 240px;
    box-shadow: var(--sh-3);
    border: 1px solid var(--line);
    background: #fff;
    position: absolute;
    overflow: hidden;
}

.tg-root .hv-card .t {
    aspect-ratio: 4/3;
    color: #fff;
    font-family: var(--head);
    text-align: center;
    place-items: center;
    padding: 0 12px;
    font-size: 20px;
    font-weight: 800;
    display: grid;
}

.tg-root .hv-card .b {
    padding: 12px 13px;
}

.tg-root .hv-1 {
    z-index: 2;
    top: 0;
    left: 8%;
    transform: rotate(-5deg);
}

.tg-root .hv-2 {
    z-index: 3;
    top: 40px;
    right: 4%;
    transform: rotate(4deg);
}

.tg-root .hv-3 {
    z-index: 4;
    width: 260px;
    bottom: 0;
    left: 26%;
    transform: rotate(-1deg);
}

.tg-root .hv-price {
    font-family: var(--head);
    color: var(--accent-ink);
    font-size: 18px;
    font-weight: 800;
}

.tg-root .hv-mini {
    color: var(--star);
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
}

.tg-root .float-badge {
    z-index: 5;
    border: 1px solid var(--line);
    box-shadow: var(--sh-2);
    background: #fff;
    border-radius: 14px;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    position: absolute;
}

.tg-root .float-badge .ic {
    color: #fff;
    border-radius: 10px;
    place-items: center;
    width: 34px;
    height: 34px;
    display: grid;
}

.tg-root .fb-1 {
    top: -6px;
    right: 12%;
}

.tg-root .fb-2 {
    bottom: 24px;
    right: -2%;
}

.tg-root .catbar {
    border-block:1px solid var(--line);
    z-index: 30;
    background: #fff;
    position: sticky;
    top: 71px;
}

.tg-root .catbar-in {
    scrollbar-width: none;
    gap: 10px;
    padding-block:14px;
    display: flex;
    overflow-x: auto;
}

.tg-root .catbar-in::-webkit-scrollbar {
    display: none;
}

.tg-root .how {
    background: var(--bg-soft);
    border-radius: var(--r-xl);
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    padding: 34px;
    display: grid;
}

.tg-root .step {
    align-items: flex-start;
    gap: 14px;
    display: flex;
}

.tg-root .step .num {
    width: 44px;
    height: 44px;
    box-shadow: var(--sh-1);
    font-family: var(--head);
    color: var(--accent);
    background: #fff;
    border-radius: 13px;
    flex: none;
    place-items: center;
    font-size: 20px;
    font-weight: 800;
    display: grid;
}

.tg-root .step h4 {
    font-family: var(--body);
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 800;
}

.tg-root .step p {
    color: var(--ink-2);
    font-size: 14px;
}

.tg-root .rev {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    background: #fff;
    padding: 22px;
}

.tg-root .rev p {
    font-size: 15px;
}

.tg-root .rev-user {
    align-items: center;
    gap: 11px;
    margin-top: 16px;
    display: flex;
}

.tg-root .rev-ava {
    color: #fff;
    width: 40px;
    height: 40px;
    font-family: var(--head);
    border-radius: 50%;
    place-items: center;
    font-weight: 800;
    display: grid;
}

.tg-root .ctaband {
    border-radius: var(--r-xl);
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: var(--sh-accent);
    padding: 46px;
    position: relative;
    overflow: hidden;
}

.tg-root .ctaband h2 {
    color: #fff;
    font-size: 34px;
}

.tg-root .ctaband p {
    color: #ffffffe6;
    max-width: 34em;
    margin-top: 10px;
    font-size: 16px;
}

.tg-root .ctaband .btn {
    color: var(--accent-ink);
    background: #fff;
    margin-top: 22px;
}

.tg-root .ctaband .blob {
    background: #ffffff1f;
    border-radius: 50%;
    position: absolute;
}

@media (max-width: 1000px) {
    .tg-root .grid-4 {
        grid-template-columns:repeat(3,1fr);
    }

    .tg-root .nav-links {
        display: none;
    }

    .tg-root .foot-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .tg-root .foot-brand {
        grid-column: 1/-1;
    }
}

@media (max-width: 900px) {
    .tg-root .hero-in {
        grid-template-columns:1fr;
    }

    .tg-root .hero-visual {
        display: none;
    }

    .tg-root .hero h1 {
        font-size: 40px;
    }

    .tg-root .how {
        grid-template-columns: 1fr;
    }

    .tg-root .catbar {
        top: 0;
    }
}

@media (max-width: 720px) {
    .tg-root .wrap {
        padding-inline:16px;
    }

    .tg-root .grid-4,.tg-root .grid-3 {
        grid-template-columns: repeat(2,1fr);
    }

    .tg-root .tg-grid {
        gap: 12px;
    }

    .tg-root .thumb.thumb-acc.free {
        aspect-ratio: 4/3;
        display: grid;
    }

    .tg-root .thumb.thumb-acc.free .cat-img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .tg-root .search {
        display: none;
    }

    .tg-root .sec-head h2 {
        font-size: 24px;
    }

    .tg-root .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }

    .tg-root .foot-brand {
        grid-column: 1/-1;
    }
}

@media (max-width: 560px) {
    .tg-root .hide-sm,.tg-root .wallet-pill span {
        display:none;
    }

    .tg-root .nav-in {
        gap: 12px;
    }

    .tg-root .brand {
        gap: 8px;
        font-size: 18px;
    }

    .tg-root .brand .logo {
        border-radius: 9px;
        width: 32px;
        height: 32px;
    }

    .tg-root .brand .logo svg {
        width: 18px;
        height: 18px;
    }

    .tg-root .icon-nav {
        display: none;
    }

    .tg-root .nav-auth .btn {
        padding: 8px 13px;
        font-size: 13px;
    }

    .tg-root .hero-in {
        padding-block:28px 34px;
    }

    .tg-root .hero h1 {
        font-size: 31px;
    }

    .tg-root .hero .sub {
        margin-top: 12px;
        font-size: 15.5px;
    }

    .tg-root .hero-search {
        margin-top: 20px;
    }

    .tg-root .hero-search input {
        font-size: 15px;
    }

    .tg-root .hero-search .btn {
        padding: 11px 18px;
        font-size: 14px;
    }

    .tg-root .hero-stats {
        gap: 18px;
    }

    .tg-root .hero-stats .n {
        font-size: 20px;
    }

    .tg-root .hero-stats .l {
        font-size: 12.5px;
    }

    .tg-root .card-body {
        padding: 11px 12px 13px;
    }

    .tg-root .pc-top {
        margin-bottom: 7px;
    }

    .tg-root .acc-code {
        padding: 3px 8px;
        font-size: 11px;
    }

    .tg-root .pc-stock {
        font-size: 11.5px;
    }

    .tg-root .pc-title {
        font-size: 14px;
    }

    .tg-root .price-row {
        margin-top: 8px;
    }

    .tg-root .price {
        font-size: 18px;
    }

    .tg-root .price .per {
        font-size: 11.5px;
    }

    .tg-root .how {
        gap: 6px;
        padding: 20px 18px;
    }

    .tg-root .step {
        align-items: center;
        gap: 12px;
        padding: 12px 0;
    }

    .tg-root .step+.step {
        border-top: 1px solid var(--line);
    }

    .tg-root .step .num {
        border-radius: 11px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .tg-root .step h4 {
        font-size: 15px;
    }

    .tg-root .step p {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .tg-root .grid-3 {
        grid-template-columns: 1fr;
    }

    .tg-root .rev {
        padding: 16px;
    }

    .tg-root .rev p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .tg-root .rev-user {
        gap: 9px;
        margin-top: 12px;
    }

    .tg-root .rev-ava {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .tg-root .ctaband {
        padding: 30px 22px;
    }

    .tg-root .ctaband h2 {
        font-size: 26px;
    }

    .tg-root .ctaband p {
        font-size: 14.5px;
    }

    .tg-root .ctaband .btn {
        padding: 13px 24px;
        font-size: 15px;
    }
}

.tg-root .nav-auth {
    align-items: center;
    gap: 8px;
    display: flex;
}

@media (max-width: 400px) {
    .tg-root .nav-in {
        gap:8px;
    }

    .tg-root .brand {
        gap: 6px;
        font-size: 16px;
    }

    .tg-root .brand .logo {
        width: 30px;
        height: 30px;
    }

    .tg-root .nav-auth {
        gap: 6px;
    }

    .tg-root .nav-auth .btn {
        padding: 7px 11px;
        font-size: 12.5px;
    }
}

@media (max-width: 460px) {
    .tg-root .grid-2 {
        grid-template-columns:1fr;
    }
}

@media (max-width: 640px) {
    .tg-root .sec-steps,.tg-root .sec-reviews,.tg-root .sec-cta {
        display:none;
    }
}

.tg-root .fav.on {
    color: var(--hot);
    background: #fff;
}

.tg-root .pc-top {
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    display: flex;
}

.tg-root .acc-code {
    background: var(--accent-soft,#efe9ff);
    color: var(--accent-ink,#4c1d95);
    letter-spacing: .5px;
    border-radius: 999px;
    padding: 3px 9px;
    font-family: ui-monospace,SFMono-Regular,Menlo,monospace;
    font-size: 12px;
    font-weight: 800;
    display: inline-block;
}

.tg-root .pc-stock {
    color: var(--good,#16a34a);
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 700;
}

.tg-root .pc-stock.out {
    color: var(--bad,#e11d48);
}

.tg-root .pc-title {
    font-family: var(--body);
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
}

.tg-root .pager {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    display: flex;
}

.tg-root .pg-btn {
    border: 1px solid var(--line,#e6e6ee);
    min-width: 38px;
    height: 38px;
    color: var(--ink-2);
    cursor: pointer;
    background: #fff;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 700;
    transition: color .15s,background .15s,border-color .15s;
}

.tg-root .pg-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent-ink);
}

.tg-root .pg-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.tg-root .pg-btn:disabled {
    opacity: .45;
    cursor: default;
}

.tg-root .pg-gap {
    color: var(--ink-3);
    padding: 0 4px;
}

.tg-root .fav-btn {
    background: var(--surface-2,#f4f4f7);
    width: 40px;
    height: 40px;
    color: var(--ink-2);
    border: 1px solid var(--line,#e6e6ee);
    cursor: pointer;
    border-radius: 50%;
    flex: none;
    place-items: center;
    transition: color .15s,background .15s,border-color .15s;
    display: grid;
}

.tg-root .fav-btn:hover {
    color: var(--hot);
    border-color: var(--hot);
}

.tg-root .fav-btn.on {
    color: #fff;
    background: var(--hot);
    border-color: var(--hot);
}

.tg-root .fav-btn:disabled {
    opacity: .6;
    cursor: default;
}

.tg-root .crumb {
    color: var(--ink-3);
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-block:20px 0;
    font-size: 13.5px;
    display: flex;
}

.tg-root .crumb a:hover {
    color: var(--accent-ink);
}

.tg-root .crumb .sep {
    opacity: .5;
}

.tg-root .crumb b {
    color: var(--ink);
    font-weight: 600;
}

.tg-root .page-head {
    padding-block:8px 4px;
}

.tg-root .page-head h1 {
    letter-spacing: -.02em;
    font-size: 34px;
    font-weight: 800;
}

.tg-root .page-head .lead {
    color: var(--ink-2);
    margin-top: 8px;
    font-size: 15.5px;
}

.tg-root .with-side {
    grid-template-columns: 268px 1fr;
    align-items: start;
    gap: 28px;
    display: grid;
}

.tg-root .filters {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    background: #fff;
    padding: 6px 20px 20px;
    position: sticky;
    top: 88px;
}

.tg-root .filter-group {
    border-bottom: 1px solid var(--line-2);
    padding-block:18px;
}

.tg-root .filter-group:last-child {
    border-bottom: none;
}

.tg-root .filter-group>h4 {
    font-family: var(--body);
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
}

.tg-root .filter-opt {
    color: var(--ink-2);
    cursor: pointer;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    display: flex;
}

.tg-root .filter-opt input {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.tg-root .filter-opt .count {
    color: var(--ink-3);
    margin-left: auto;
    font-size: 12.5px;
}

.tg-root .filter-opt:hover {
    color: var(--ink);
}

.tg-root .chip-wrap {
    flex-wrap: wrap;
    gap: 8px;
    display: flex;
}

.tg-root .chip-sm {
    border: 1px solid var(--line);
    color: var(--ink-2);
    background: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
}

.tg-root .chip-sm.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.tg-root .range-row {
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    display: flex;
}

.tg-root .range-row input {
    border: 1px solid var(--line);
    width: 100%;
    font-family: var(--body);
    border-radius: 10px;
    outline: none;
    padding: 9px 11px;
    font-size: 13.5px;
}

.tg-root .range-row input:focus {
    border-color: var(--accent);
}

.tg-root .code-input {
    border: 1px solid var(--line);
    width: 100%;
    font-family: var(--body);
    border-radius: 10px;
    outline: none;
    margin-top: 6px;
    padding: 9px 11px;
    font-size: 13.5px;
}

.tg-root .code-input:focus {
    border-color: var(--accent);
}

.tg-root .toolbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    display: flex;
}

.tg-root .toolbar .result-n {
    color: var(--ink);
    font-weight: 700;
}

.tg-root .toolbar .spacer {
    flex: 1;
}

.tg-root .select {
    border: 1.5px solid var(--line);
    color: var(--ink-2);
    background: #fff;
    border-radius: 999px;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    transition: border-color .15s,box-shadow .15s;
    display: inline-flex;
    box-shadow: 0 2px 8px #12151a0f;
}

.tg-root .select:hover,.tg-root .select:focus-within {
    border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .select:hover,.tg-root .select:focus-within {
        border-color:color-mix(in srgb, var(--accent) 50%, transparent);
    }
}

.tg-root .select:hover,.tg-root .select:focus-within {
    box-shadow: 0 4px 12px var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .select:hover,.tg-root .select:focus-within {
        box-shadow:0 4px 12px color-mix(in srgb, var(--accent) 14%, transparent);
    }
}

.tg-root .select select {
    cursor: pointer;
    font-family: var(--body);
    color: var(--ink);
    background: 0 0;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
}

.tg-root .active-tags {
    flex-wrap: wrap;
    gap: 8px;
    display: flex;
}

.tg-root .active-tags .t {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-radius: 999px;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
}

.tg-root .active-tags .t button {
    color: var(--accent-ink);
    opacity: .7;
    place-items: center;
    display: grid;
}

.tg-root .active-tags .t button:hover {
    opacity: 1;
}

.tg-root .pager {
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
    display: flex;
}

.tg-root .pager button {
    border: 1px solid var(--line);
    min-width: 40px;
    height: 40px;
    color: var(--ink-2);
    background: #fff;
    border-radius: 12px;
    font-weight: 700;
}

.tg-root .pager button:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
}

.tg-root .pager button.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.tg-root .detail {
    grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
    align-items: start;
    gap: 36px;
    padding-top: 10px;
    display: grid;
}

.tg-root .detail>div {
    min-width: 0;
}

.tg-root .detail-more {
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
    display: flex;
}

.tg-root .detail-more .panel {
    margin: 0;
}

.tg-root .commit-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px;
    padding: 24px;
    display: grid;
}

.tg-root .commit-item {
    align-items: flex-start;
    gap: 12px;
    display: flex;
}

.tg-root .commit-item .ci-ic {
    background: var(--accent);
    border-radius: 12px;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    display: grid;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .commit-item .ci-ic {
        background:color-mix(in srgb, var(--accent) 12%, transparent);
    }
}

.tg-root .commit-item .ci-ic {
    color: var(--accent);
}

.tg-root .commit-item b {
    color: var(--ink-1);
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 800;
    display: block;
}

.tg-root .commit-item p {
    color: var(--ink-3);
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .tg-root .commit-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 560px) {
    .tg-root .commit-grid {
        grid-template-columns:1fr;
        gap: 16px;
        padding: 14px 0 0;
    }

    .tg-root .detail-more .panel {
        box-shadow: none;
        background: 0 0;
        border: none;
        border-radius: 0;
    }

    .tg-root .detail-more .panel-h {
        padding: 0 0 12px;
        font-size: 16px;
    }

    .tg-root .detail-more .panel-b {
        padding: 14px 0 0;
    }

    .tg-root .detail-more .panel+.panel {
        border-top: 1px solid var(--line);
        padding-top: 18px;
    }
}

.tg-root .gallery-main {
    aspect-ratio: 16/10;
    border-radius: var(--r-lg);
    color: #fff;
    box-shadow: var(--sh-2);
    place-items: center;
    display: grid;
    position: relative;
    overflow: hidden;
}

.tg-root .gallery-main:after {
    content: "";
    background: radial-gradient(120% 90% at 80% 0,#ffffff3d,#0000 55%),linear-gradient(#0000 45%,#0000004d);
    position: absolute;
    inset: 0;
}

.tg-root .gallery-main .g-name {
    z-index: 1;
    font-family: var(--head);
    text-shadow: 0 2px 16px #00000059;
    text-align: center;
    padding: 0 24px;
    font-size: 44px;
    font-weight: 800;
    position: relative;
}

.tg-root .gallery-main .gal-nav {
    z-index: 2;
    width: 42px;
    height: 42px;
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--sh-2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: #ffffffe6;
    border: none;
    border-radius: 50%;
    place-items: center;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    transition: background .15s,transform .15s;
    display: grid;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.tg-root .gallery-main .gal-nav:hover {
    background: #fff;
}

.tg-root .gallery-main .gal-nav.prev {
    left: 12px;
}

.tg-root .gallery-main .gal-nav.next {
    right: 12px;
}

.tg-root .gallery-main .gal-count {
    z-index: 2;
    color: #fff;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: #0000008c;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    bottom: 12px;
    right: 12px;
}

.tg-root .gallery-strip {
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    margin-top: 12px;
    padding-bottom: 4px;
    scroll-padding: 0 40%;
    display: flex;
    overflow-x: auto;
}

.tg-root .gallery-strip::-webkit-scrollbar {
    height: 6px;
}

.tg-root .gallery-strip::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 999px;
}

.tg-root .gallery-strip .gt {
    aspect-ratio: 4/3;
    border-radius: var(--r);
    cursor: pointer;
    width: 96px;
    box-shadow: var(--sh-1);
    border: 2px solid #0000;
    flex: 0 0 96px;
    padding: 0;
    transition: border-color .15s;
    overflow: hidden;
}

.tg-root .gallery-strip .gt.active {
    border-color: var(--accent);
}

.tg-root .gallery-main .gal-quick {
    z-index: 2;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    letter-spacing: .2px;
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    font-size: 12.5px;
    font-weight: 800;
    animation: 2.4s ease-in-out infinite qv-pulse;
    display: inline-flex;
    position: absolute;
    bottom: 12px;
    left: 12px;
}

.tg-root .gallery-main .gal-quick:hover {
    filter: brightness(1.08);
    animation-play-state: paused;
    transform: translateY(-1px);
}

@keyframes qv-pulse {
    0% {
        box-shadow: 0 6px 18px #00000047, 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
        transform: scale(1);
    }

    60% {
        box-shadow: 0 6px 18px #00000047, 0 0 0 12px color-mix(in srgb, var(--accent) 0%, transparent);
        transform: scale(1.05);
    }

    to {
        box-shadow: 0 6px 18px #00000047, 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent);
        transform: scale(1);
    }
}

.qv-overlay {
    z-index: 200;
    background: #0a0814f5;
    flex-direction: column;
    display: flex;
    position: fixed;
    inset: 0;
}

.qv-bar {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: #0006;
    border-bottom: 1px solid #ffffff1f;
    flex: none;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    display: flex;
}

.qv-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.qv-close {
    color: #fff;
    cursor: pointer;
    background: #ffffff14;
    border: 1px solid #ffffff40;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: background .15s;
}

.qv-close:hover {
    background: #fff3;
}

.qv-scroll {
    flex-direction: column;
    flex: auto;
    align-items: center;
    gap: 14px;
    padding: 18px 0 40px;
    display: flex;
    overflow-y: auto;
}

.tg-root .qv-img {
    border-radius: 8px;
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
}

.tg-root .gallery-thumbs {
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-top: 12px;
    display: grid;
}

.tg-root .gallery-thumbs .gt {
    aspect-ratio: 4/3;
    border-radius: var(--r);
    cursor: pointer;
    box-shadow: var(--sh-1);
    border: 2px solid #0000;
    position: relative;
    overflow: hidden;
}

.tg-root .gallery-thumbs .gt.active {
    border-color: var(--accent);
}

.tg-root .gallery-thumbs .gt .lbl {
    color: #ffffffe6;
    place-items: center;
    font-size: 11px;
    display: grid;
    position: absolute;
    inset: 0;
}

.tg-root .buybox {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-2);
    background: #fff;
    padding: 24px;
    position: sticky;
    top: 88px;
}

.tg-root .pkg-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-block:14px 18px;
    display: grid;
}

.tg-root .pkg {
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    cursor: pointer;
    padding: 13px 14px;
    transition: all .15s;
    position: relative;
}

.tg-root .pkg:hover {
    border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .pkg:hover {
        border-color:color-mix(in oklab, var(--accent) 40%, var(--line));
    }
}

.tg-root .pkg.active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.tg-root .pkg .pl {
    align-items: baseline;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
}

.tg-root .pkg .pkg-soon {
    color: var(--ink-3);
    letter-spacing: .2px;
    text-transform: uppercase;
    font-size: 10.5px;
    font-weight: 700;
}

.tg-root .pkg .pu {
    color: var(--ink-3);
    margin-top: 2px;
    font-size: 12.5px;
}

.tg-root .pkg .pp {
    font-family: var(--head);
    color: var(--accent-ink);
    font-weight: 800;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .pkg .pp {
        color:color-mix(in srgb, var(--accent-ink) 60%, #000);
    }
}

.tg-root .pkg .pp {
    margin-top: 8px;
    font-size: 18px;
}

.tg-root .pkg .badge {
    background: var(--good);
    color: #fff;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 800;
    position: absolute;
    top: -9px;
    right: 10px;
}

.tg-root .pkg.soon {
    cursor: not-allowed;
    opacity: .85;
    background: var(--bg-soft,#f6f6fa);
}

.tg-root .pkg.soon:hover {
    border-color: var(--line);
}

.tg-root .pkg-note {
    color: var(--ink-3);
    margin-top: -8px;
    margin-bottom: 18px;
    font-size: 12.5px;
    line-height: 1.55;
}

.tg-root .buy-total {
    border-top: 1px dashed var(--line);
    justify-content: space-between;
    align-items: baseline;
    margin-top: 4px;
    padding: 16px 0;
    display: flex;
}

.tg-root .buy-total .tt {
    font-family: var(--head);
    color: var(--ink);
    font-size: 30px;
    font-weight: 800;
}

.tg-root .buy-sticky {
    display: none;
}

.tg-root .assure {
    gap: 10px;
    margin-top: 16px;
    display: grid;
}

.tg-root .assure li {
    color: var(--ink-2);
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    list-style: none;
    display: flex;
}

.tg-root .assure svg {
    color: var(--good);
    flex: none;
}

.tg-root .spec-grid {
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-top: 22px;
    display: grid;
}

.tg-root .spec {
    background: var(--bg-soft);
    border-radius: var(--r);
    padding: 16px;
}

.tg-root .spec .k {
    color: var(--ink-3);
    font-size: 12.5px;
    font-weight: 600;
}

.tg-root .spec .v {
    font-family: var(--head);
    margin-top: 4px;
    font-size: 20px;
    font-weight: 800;
}

.tg-root .spec.wide {
    grid-column: 1/-1;
}

.tg-root .spec .chips {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    display: flex;
}

.tg-root .spec .chip {
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 13.5px;
    font-weight: 600;
}

.tg-root .spec .chip-more {
    cursor: pointer;
    color: var(--primary);
    border-color: var(--primary);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .spec .chip-more {
        border-color:color-mix(in srgb, var(--primary) 40%, var(--line));
    }
}

.tg-root .spec .chip-more {
    background: var(--primary);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .spec .chip-more {
        background:color-mix(in srgb, var(--primary) 8%, var(--card));
    }
}

.tg-root .spec .chip-more:hover {
    background: var(--primary);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .spec .chip-more:hover {
        background:color-mix(in srgb, var(--primary) 15%, var(--card));
    }
}

.tg-root .seller {
    background: var(--bg-soft);
    border-radius: var(--r-lg);
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 18px;
    display: flex;
}

.tg-root .seller .sav {
    color: #fff;
    width: 54px;
    height: 54px;
    font-family: var(--head);
    border-radius: 14px;
    flex: none;
    place-items: center;
    font-size: 22px;
    font-weight: 800;
    display: grid;
}

.tg-root .panel {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    background: #fff;
}

.tg-root .panel-h {
    border-bottom: 1px solid var(--line-2);
    font-family: var(--head);
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 800;
}

.tg-root .panel-b {
    padding: 24px;
}

.tg-root .orow {
    border-bottom: 1px solid var(--line-2);
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    display: flex;
}

.tg-root .orow:last-child {
    border-bottom: none;
}

.tg-root .orow .oth {
    color: #fff;
    width: 76px;
    height: 58px;
    font-family: var(--head);
    text-align: center;
    border-radius: 12px;
    flex: none;
    place-items: center;
    padding: 4px;
    font-size: 11px;
    font-weight: 800;
    display: grid;
}

.tg-root .orow .oinfo {
    flex: 1;
    min-width: 0;
}

.tg-root .orow .oinfo b {
    font-size: 14.5px;
    font-weight: 700;
    display: block;
}

.tg-root .orow .oinfo span {
    color: var(--ink-3);
    font-size: 13px;
}

.tg-root .orow .oprice {
    font-family: var(--head);
    color: var(--accent-ink);
    font-size: 17px;
    font-weight: 800;
}

.tg-root .sum-line {
    color: var(--ink-2);
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    font-size: 14.5px;
    display: flex;
}

.tg-root .sum-line.total {
    border-top: 1px solid var(--line);
    font-family: var(--head);
    color: var(--ink);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 22px;
    font-weight: 800;
}

.tg-root .sum-line.total .v {
    color: var(--accent-ink);
}

.tg-root .pay-opt {
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    cursor: pointer;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding: 15px 16px;
    transition: all .15s;
    display: flex;
}

.tg-root .pay-opt:hover {
    border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .pay-opt:hover {
        border-color:color-mix(in oklab, var(--accent) 40%, var(--line));
    }
}

.tg-root .pay-opt.active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.tg-root .pay-opt .pic {
    color: #fff;
    border-radius: 12px;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 13px;
    font-weight: 800;
    display: grid;
}

.tg-root .pay-opt .ptxt {
    flex: 1;
}

.tg-root .pay-opt .ptxt b {
    font-size: 14.5px;
    font-weight: 700;
}

.tg-root .pay-opt .ptxt span {
    color: var(--ink-3);
    font-size: 13px;
    display: block;
}

.tg-root .pay-opt .radio {
    border: 2px solid var(--line);
    border-radius: 50%;
    flex: none;
    place-items: center;
    width: 20px;
    height: 20px;
    display: grid;
}

.tg-root .pay-opt.active .radio {
    border-color: var(--accent);
}

.tg-root .pay-opt.active .radio:after {
    content: "";
    background: var(--accent);
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.tg-root .field {
    margin-bottom: 16px;
}

.tg-root .field label {
    color: var(--ink);
    margin-bottom: 7px;
    font-size: 13.5px;
    font-weight: 700;
    display: block;
}

.tg-root .field .inp {
    border: 1.5px solid var(--line);
    width: 100%;
    font-family: var(--body);
    background: #fff;
    border-radius: 12px;
    outline: none;
    padding: 13px 15px;
    font-size: 15px;
    transition: border-color .15s;
}

.tg-root .field .inp:focus {
    border-color: var(--accent);
}

.tg-root .field .inp::placeholder {
    color: var(--ink-3);
}

.tg-root .inp-wrap {
    position: relative;
}

.tg-root .inp-wrap .eye {
    color: var(--ink-3);
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

.tg-root .auth {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 72px);
    display: grid;
}

.tg-root .auth-visual {
    color: #fff;
    background: linear-gradient(150deg, var(--accent), var(--accent-2));
    flex-direction: column;
    justify-content: space-between;
    padding: 56px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.tg-root .auth-visual .blob {
    background: #ffffff1f;
    border-radius: 50%;
    position: absolute;
}

.tg-root .auth-form-wrap {
    place-items: center;
    padding: 48px 24px;
    display: grid;
}

.tg-root .auth-card {
    width: 100%;
    max-width: 400px;
}

.tg-root .auth-tabs {
    background: var(--bg-soft);
    border-radius: 999px;
    gap: 4px;
    margin-bottom: 26px;
    padding: 5px;
    display: flex;
}

.tg-root .auth-tabs button,.tg-root .auth-tabs a {
    color: var(--ink-3);
    text-align: center;
    border-radius: 999px;
    flex: 1;
    padding: 11px;
    font-size: 14.5px;
    font-weight: 700;
}

.tg-root .auth-tabs button.active,.tg-root .auth-tabs a.active {
    color: var(--ink);
    box-shadow: var(--sh-1);
    background: #fff;
}

.tg-root .divider {
    color: var(--ink-3);
    align-items: center;
    gap: 14px;
    margin-block:20px;
    font-size: 13px;
    display: flex;
}

.tg-root .divider:before,.tg-root .divider:after {
    content: "";
    background: var(--line);
    flex: 1;
    height: 1px;
}

.tg-root .social-btn {
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    font-size: 14.5px;
    font-weight: 700;
    display: flex;
}

.tg-root .social-btn:hover {
    border-color: var(--ink-3);
}

.tg-root .wallet-hero {
    border-radius: var(--r-xl);
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: var(--sh-accent);
    padding: 30px 32px;
    position: relative;
    overflow: hidden;
}

.tg-root .wallet-hero .blob {
    background: #ffffff1f;
    border-radius: 50%;
    position: absolute;
}

.tg-root .wallet-hero .bal-label {
    opacity: .9;
    font-size: 14px;
    position: relative;
}

.tg-root .wallet-hero .bal {
    font-family: var(--head);
    letter-spacing: -.01em;
    margin-top: 6px;
    font-size: 46px;
    font-weight: 800;
    position: relative;
}

.tg-root .wallet-hero .bal-actions {
    gap: 10px;
    margin-top: 20px;
    display: flex;
    position: relative;
}

@media (max-width: 560px) {
    .tg-root .wallet-hero {
        padding:22px 20px;
    }

    .tg-root .wallet-hero .bal {
        font-size: 34px;
    }

    .tg-root .wallet-hero .bal-label {
        font-size: 13px;
    }

    .tg-root .wallet-col .panel-h {
        padding: 16px 18px;
        font-size: 16px;
    }

    .tg-root .wallet-col .panel-b {
        padding: 18px;
    }
}

.tg-root .topup-grid {
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    display: grid;
}

.tg-root .topup-opt {
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    text-align: center;
    cursor: pointer;
    padding: 16px;
    transition: all .15s;
}

.tg-root .topup-opt:hover {
    border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .topup-opt:hover {
        border-color:color-mix(in oklab, var(--accent) 40%, var(--line));
    }
}

.tg-root .topup-opt.active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.tg-root .topup-opt .amt {
    font-family: var(--head);
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
}

.tg-root .topup-opt .bonus {
    color: var(--good);
    margin-top: 3px;
    font-size: 12.5px;
    font-weight: 700;
}

.tg-root .txn {
    border-collapse: collapse;
    width: 100%;
}

.tg-root .txn th {
    text-align: left;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    font-size: 12.5px;
    font-weight: 700;
}

.tg-root .txn td {
    border-bottom: 1px solid var(--line-2);
    padding: 15px 14px;
    font-size: 14px;
}

.tg-root .txn tr:last-child td {
    border-bottom: none;
}

.tg-root .txn .amt-pos {
    color: var(--good);
    font-weight: 700;
}

.tg-root .txn .amt-neg {
    color: var(--ink);
    font-weight: 700;
}

.tg-root .badge-st {
    border-radius: 999px;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
}

.tg-root .badge-st.ok {
    background: var(--good);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .badge-st.ok {
        background:color-mix(in oklab, var(--good) 14%, #fff);
    }
}

.tg-root .badge-st.ok {
    color: var(--good);
}

.tg-root .badge-st.pending {
    background: var(--star);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .badge-st.pending {
        background:color-mix(in oklab, var(--star) 18%, #fff);
    }
}

.tg-root .badge-st.pending {
    color: #a56a00;
}

.tg-root .badge-st.done {
    background: var(--bg-soft-2);
    color: var(--ink-2);
}

.tg-root .bill-code {
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: 999px;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    font-size: 12px;
    display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .bill-code {
        border:1px solid color-mix(in oklab, var(--accent) 22%, transparent);
    }
}

.tg-root .bill-code .lbl {
    color: var(--ink-3);
    font-weight: 600;
}

.tg-root .bill-code .val {
    letter-spacing: 1.5px;
    color: var(--accent-ink);
    font-family: ui-monospace,SFMono-Regular,Menlo,monospace;
    font-weight: 800;
}

.tg-root .w-tab {
    color: var(--ink-3);
    cursor: pointer;
    background: 0 0;
    border: 1px solid #0000;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
}

.tg-root .w-tab:hover {
    color: var(--ink-2);
}

.tg-root .w-tab.active {
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .w-tab.active {
        border-color:color-mix(in oklab, var(--accent) 22%, transparent);
    }
}

.tg-root .acc-head {
    align-items: center;
    gap: 18px;
    display: flex;
}

.tg-root .acc-head .avatar {
    color: #fff;
    width: 76px;
    height: 76px;
    font-family: var(--head);
    box-shadow: var(--sh-accent);
    border-radius: 20px;
    flex: none;
    place-items: center;
    font-size: 32px;
    font-weight: 800;
    display: grid;
}

.tg-root .acc-name {
    letter-spacing: -.02em;
    font-size: 26px;
    font-weight: 800;
}

.tg-root .stat-grid {
    grid-template-columns: repeat(4,1fr);
}

@media (max-width: 560px) {
    .tg-root .stat-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .tg-root .stat-grid .spec {
        padding: 13px;
    }

    .tg-root .stat-grid .spec .v {
        font-size: 18px;
    }

    .tg-root .acc-head {
        grid-template-columns: auto 1fr;
        grid-template-areas: "avatar meta""logout logout";
        align-items: center;
        gap: 12px 14px;
        display: grid;
    }

    .tg-root .acc-head .avatar {
        border-radius: 15px;
        grid-area: avatar;
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .tg-root .acc-head .acc-meta {
        grid-area: meta;
        min-width: 0;
    }

    .tg-root .acc-head .acc-logout {
        grid-area: logout;
        justify-self: start;
    }

    .tg-root .acc-name {
        font-size: 20px;
    }

    .tg-root .tabs {
        margin-block:20px 18px;
    }

    .tg-root .tabs button {
        padding: 12px;
        font-size: 14px;
    }
}

.tg-root .tabs {
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
    gap: 4px;
    margin-block:26px 24px;
    display: flex;
    overflow-x: auto;
}

.tg-root .tabs::-webkit-scrollbar {
    display: none;
}

.tg-root .tabs button {
    color: var(--ink-3);
    white-space: nowrap;
    border-bottom: 2.5px solid #0000;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
}

.tg-root .tabs button.active {
    color: var(--accent-ink);
    border-bottom-color: var(--accent);
}

.tg-root .rental-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    background: #fff;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding: 16px;
    display: flex;
}

.tg-root .rental-2col .panel-gap {
    margin-top: 22px;
}

.tg-root .rental-card .rth {
    color: #fff;
    width: 96px;
    height: 72px;
    font-family: var(--head);
    text-align: center;
    border-radius: 12px;
    flex: none;
    place-items: center;
    padding: 6px;
    font-size: 12px;
    font-weight: 800;
    display: grid;
}

.tg-root .rental-card .rinfo {
    flex: 1;
    min-width: 0;
}

.tg-root .rental-card .rinfo b {
    font-size: 15.5px;
    font-weight: 700;
}

.tg-root .rental-card .rmeta {
    color: var(--ink-3);
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 13px;
    display: flex;
}

.tg-root .rental-card .ract {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    display: flex;
}

@media (max-width: 560px) {
    .tg-root .rental-card {
        grid-template-columns:auto 1fr;
        grid-template-areas: "thumb info""action action";
        align-items: center;
        gap: 12px 14px;
        padding: 14px;
        display: grid;
    }

    .tg-root .rental-card .rth {
        grid-area: thumb;
    }

    .tg-root .rental-card .rinfo {
        grid-area: info;
    }

    .tg-root .rental-card .ract {
        flex-direction: row;
        grid-area: action;
        align-items: stretch;
    }

    .tg-root .rental-card .ract .btn {
        width: 100%;
    }

    .tg-root .rental-2col .panel {
        box-shadow: none;
        background: 0 0;
        border: none;
        border-radius: 0;
    }

    .tg-root .rental-2col .panel-h {
        padding: 0 0 12px;
        font-size: 16px;
    }

    .tg-root .rental-2col .panel-b {
        padding: 14px 0 0;
    }

    .tg-root .rental-2col .panel-gap {
        border-top: 1px solid var(--line);
        margin-top: 0;
        padding-top: 18px;
    }

    .tg-root .rental-2col aside>.panel {
        border-top: 1px solid var(--line);
        padding-top: 18px;
    }
}

.tg-root .timer {
    font-family: var(--head);
    color: var(--accent-ink);
    font-size: 15px;
    font-weight: 800;
}

.tg-root .two-col {
    grid-template-columns: minmax(0,1.5fr) minmax(0,.9fr);
    align-items: start;
    gap: 28px;
    display: grid;
}

.tg-root .two-col>* {
    min-width: 0;
}

.tg-root .wallet-col {
    flex-direction: column;
    gap: 22px;
    display: flex;
}

.tg-root .filter-btn {
    background: var(--accent-soft);
    border: 1.5px solid var(--accent);
    align-items: center;
    gap: 9px;
    display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .filter-btn {
        border:1.5px solid color-mix(in srgb, var(--accent) 45%, transparent);
    }
}

.tg-root .filter-btn {
    color: var(--accent-ink);
    box-shadow: 0 2px 8px var(--accent);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .filter-btn {
        box-shadow:0 2px 8px color-mix(in srgb, var(--accent) 18%, transparent);
    }
}

.tg-root .filter-btn {
    transition: background .15s,border-color .15s,box-shadow .15s,transform 80ms;
}

.tg-root .filter-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .filter-btn:hover {
        box-shadow:0 4px 14px color-mix(in srgb, var(--accent) 32%, transparent);
    }
}

.tg-root .filter-btn:active {
    transform: translateY(1px);
}

.tg-root .filter-btn .fcount {
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 800;
    display: grid;
}

.tg-root .modal-scrim {
    z-index: 90;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    background: #12151a80;
    transition: opacity .2s;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
    display: none;
}

.tg-root .modal-scrim.open {
    opacity: 1;
    pointer-events: auto;
    display: flex;
}

.tg-root .bag-confirm {
    z-index: 95;
    width: 380px;
    max-width: 92vw;
    background: #fff;
    border-radius: 18px;
    text-align: center;
    padding: 28px 24px 22px;
    box-shadow: 0 30px 60px -18px #00000066;
    position: relative;
    margin: auto;
}

.tg-root .bag-confirm .bag-confirm-emoji {
    background: linear-gradient(135deg,#ffe08a,#ff9f45);
    border: 4px solid #fff;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 32px;
    line-height: 1;
    display: flex;
    box-shadow: 0 12px 28px -8px #ff8c28cc;
    margin: -52px auto 14px;
}

.tg-root .bag-confirm h3 {
    color: var(--ink);
    margin: 0 0 8px;
    font-family: var(--head);
    font-size: 20px;
    font-weight: 900;
}

.tg-root .bag-confirm p {
    color: var(--ink-3);
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
}

.tg-root .bag-confirm .bag-confirm-price {
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 12px;
    padding: 10px 14px;
    font-family: var(--head);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 18px;
}

.tg-root .bag-confirm .bag-confirm-actions {
    gap: 10px;
    display: flex;
}

.tg-root .bag-confirm .bag-confirm-actions .btn {
    flex: 1;
    padding: 11px 16px;
    font-size: 14.5px;
}

/* Modal có thể bị portal ra ngoài .tg-root, nên dùng selector global */
.modal-scrim .btn {
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--body);
    line-height: 1.2;
    padding: 14px 20px;
    font-size: 15.5px;
    transition: opacity .15s, transform .15s, background .15s, box-shadow .15s;
}
.modal-scrim .btn:active { transform: translateY(1px); }
.modal-scrim .btn-primary {
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: #fff;
    box-shadow: 0 8px 20px rgba(220, 38, 38, .3);
}
.modal-scrim .btn-primary:hover {
    background: linear-gradient(135deg, #ea580c, #b91c1c);
    box-shadow: 0 10px 24px rgba(220, 38, 38, .4);
}
.modal-scrim .btn-ghost {
    background: #f3f4f6;
    color: #111827;
}
.modal-scrim .btn-ghost:hover {
    background: #e5e7eb;
}

/* Nút chính trong modal confirm (Xé túi) to hơn — CTA chính */
#bagConfirmScrim .bag-confirm-actions .btn {
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 12px;
}
#bagConfirmScrim .bag-confirm-actions .btn-primary {
    font-size: 17px;
    font-weight: 800;
}

.tg-root .filter-modal {
    z-index: 91;
    width: 420px;
    max-width: 92vw;
    height: 100%;
    box-shadow: var(--sh-3);
    background: #fff;
    flex-direction: column;
    transition: transform .26s cubic-bezier(.4,0,.2,1);
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    transform: translate(100%);
}

.tg-root .filter-modal.open {
    transform: none;
}

.tg-root .fm-head {
    border-bottom: 1px solid var(--line-2);
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    display: flex;
}

.tg-root .fm-head h3 {
    font-family: var(--head);
    white-space: nowrap;
    font-size: 20px;
    font-weight: 800;
}

.tg-root .fm-head .x {
    width: 38px;
    height: 38px;
    color: var(--ink-2);
    background: var(--bg-soft);
    border-radius: 11px;
    place-items: center;
    display: grid;
}

.tg-root .fm-head .x:hover {
    background: var(--bg-soft-2);
    color: var(--ink);
}

.tg-root .fm-body {
    flex: 1;
    padding: 4px 24px;
    overflow-y: auto;
}

.tg-root .fm-foot {
    border-top: 1px solid var(--line-2);
    gap: 12px;
    padding: 16px 24px;
    display: flex;
}

.tg-root .fm-foot .btn {
    flex: 1;
    min-width: 0;
}

@media (max-width: 560px) {
    .tg-root .fm-head,.tg-root .fm-body {
        padding-inline:16px;
    }

    .tg-root .fm-foot {
        gap: 8px;
        padding: 12px 14px;
    }

    .tg-root .fm-foot .btn {
        white-space: nowrap;
        padding-inline:8px;
        font-size: 13px;
    }
}

.tg-root .c-modal {
    z-index: 91;
    border-radius: var(--r-xl);
    width: 440px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 48px);
    box-shadow: var(--sh-3);
    opacity: 0;
    pointer-events: none;
    background: #fff;
    transition: opacity .2s,transform .2s;
    position: fixed;
    top: 50%;
    left: 50%;
    overflow-y: auto;
    transform: translate(-50%,-46%);
}

.tg-root .c-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,-50%);
}

.tg-root .c-modal .cm-head {
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 14px;
    display: flex;
}

.tg-root .c-modal .cm-head h3 {
    font-family: var(--head);
    font-size: 20px;
    font-weight: 800;
}

.tg-root .c-modal .cm-head .x {
    width: 36px;
    height: 36px;
    color: var(--ink-2);
    background: var(--bg-soft);
    border-radius: 10px;
    place-items: center;
    display: grid;
}

.tg-root .c-modal .cm-head .x:hover {
    background: var(--bg-soft-2);
    color: var(--ink);
}

.tg-root .c-modal .cm-body {
    padding: 0 24px 24px;
}

.tg-root .qr-box {
    background: var(--bg-soft);
    border-radius: var(--r-lg);
    text-align: center;
    padding: 22px;
}

.tg-root .qr-img {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    place-items: center;
    width: 190px;
    height: 190px;
    margin: 0 auto;
    padding: 12px;
    display: grid;
}

.tg-root .qr-amt {
    font-family: var(--head);
    color: var(--accent-ink);
    margin-top: 14px;
    font-size: 28px;
    font-weight: 800;
}

.tg-root .qr-info {
    text-align: left;
    gap: 8px;
    margin-top: 16px;
    display: grid;
}

.tg-root .qr-info .qr-row {
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    display: flex;
}

.tg-root .qr-info .qr-row .k {
    color: var(--ink-3);
}

.tg-root .qr-info .qr-row .v {
    font-weight: 700;
}

.tg-root .qr-info .qr-row .cp {
    color: var(--accent-ink);
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
}

.tg-root .deposit-box {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--accent) 0%, var(--bg-soft,#f7f7fb) 100%);
    border-radius: 18px;
    margin-top: 16px;
    padding: 22px;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .deposit-box {
        background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, #fff) 0%, var(--bg-soft,#f7f7fb) 100%);
    }
}

.tg-root .deposit-grid {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    display: flex;
}

.tg-root .deposit-grid .qr-info {
    flex: 0 380px;
    gap: 0;
    min-width: 260px;
    margin-top: 0;
}

.tg-root .deposit-grid .qr-info .qr-row {
    border-bottom: 1px dashed var(--line);
    padding: 11px 2px;
    font-size: 14.5px;
}

.tg-root .deposit-grid .qr-info .qr-row:last-child {
    border-bottom: none;
}

.tg-root .deposit-grid .qr-box {
    flex-direction: column;
    flex: none;
    align-items: center;
    gap: 10px;
    display: flex;
}

.tg-root .deposit-grid .qr-img {
    border: 1px solid var(--line);
    width: 184px;
    height: 184px;
    box-shadow: 0 12px 30px -14px var(--accent);
    background: #fff;
    border-radius: 16px;
    padding: 10px;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .deposit-grid .qr-img {
        box-shadow:0 12px 30px -14px color-mix(in srgb, var(--accent) 55%, transparent);
    }
}

.tg-root .deposit-grid .qr-cap {
    color: var(--ink-3);
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
}

.tg-root .deposit-grid .qr-cap:before {
    content: "📷";
    font-size: 13px;
}

.tg-root .hint {
    color: var(--ink-3);
    font-size: 12.5px;
    line-height: 1.55;
}

.tg-root .wm-tabs {
    background: var(--bg-soft,#f4f4f7);
    border-radius: 999px;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
    display: inline-flex;
}

.tg-root .wm-tabs button {
    color: var(--ink-2);
    font-family: var(--body);
    cursor: pointer;
    background: 0 0;
    border: 0;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    transition: background .15s,color .15s;
}

.tg-root .wm-tabs button.active {
    color: var(--accent-ink);
    box-shadow: var(--sh-1);
    background: #fff;
}

.tg-root .qr-info .qr-row .v.copyable {
    cursor: pointer;
    align-items: center;
    display: inline-flex;
}

.tg-root .qr-info .qr-row .v.copyable em {
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-radius: 999px;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.tg-root .qr-info .qr-row .v.copyable:hover em {
    background: var(--accent);
    color: #fff;
}

@media (max-width: 1000px) {
    .tg-root .with-side {
        grid-template-columns:1fr;
    }

    .tg-root .filters {
        position: static;
    }

    .tg-root .detail {
        grid-template-columns: 1fr;
    }

    .tg-root .buybox {
        position: static;
    }

    .tg-root .two-col {
        grid-template-columns: minmax(0,1fr);
    }

    .tg-root .spec-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 560px) {
    .tg-root .buybox {
        box-shadow:none;
        background: 0 0;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .tg-root .pkg-grid {
        gap: 8px;
        margin-block:12px 14px;
    }

    .tg-root .pkg {
        padding: 11px 12px;
    }

    .tg-root .pkg .pp {
        font-size: 16.5px;
    }

    .tg-root .pkg-note {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .tg-root .buy-total {
        padding: 14px 0;
    }

    .tg-root .buy-total .tt {
        font-size: 24px;
    }
}

@media (max-width: 760px) {
    .tg-root .auth {
        grid-template-columns:1fr;
    }

    .tg-root .auth-visual {
        display: none;
    }

    .tg-root .page-head h1 {
        font-size: 26px;
    }

    .tg-root .gallery-main .g-name {
        font-size: 30px;
    }

    .tg-root .topup-grid,.tg-root .pkg-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tg-root .buy-cta {
        display: none;
    }

    .tg-root .buy-sticky {
        z-index: 80;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: #fff;
        align-items: center;
        gap: 12px;
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: 0 -10px 30px #12151a29;
    }

    .tg-root .buy-sticky:before {
        content: "";
        background: linear-gradient(90deg, var(--accent), var(--accent));
        height: 3px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    @supports (color: color-mix(in lab, red, red)) {
        .tg-root .buy-sticky:before {
            background:linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7c3aed));
        }
    }

    .tg-root .buy-sticky .bs-total {
        flex-direction: column;
        flex: 1;
        min-width: 0;
        display: flex;
    }

    .tg-root .buy-sticky .bs-label {
        color: var(--ink-3);
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 12px;
        overflow: hidden;
    }

    .tg-root .buy-sticky .bs-price {
        font-family: var(--head);
        color: var(--accent);
        font-size: 21px;
        font-weight: 800;
        line-height: 1.15;
    }

    .tg-root .buy-sticky .btn {
        white-space: nowrap;
        box-shadow: 0 8px 22px -6px var(--accent);
        flex: none;
        padding: 13px 30px;
        font-size: 15.5px;
        font-weight: 800;
    }

    @supports (color: color-mix(in lab, red, red)) {
        .tg-root .buy-sticky .btn {
            box-shadow:0 8px 22px -6px color-mix(in srgb, var(--accent) 70%, transparent);
        }
    }

    .tg-root .buy-sticky .btn {
        animation: 2.2s ease-in-out infinite bs-cta-pulse;
    }

    .tg-root.has-buybar .footer {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .tg-root.has-buybar .chat-fab {
        bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .tg-root .txn thead {
        display: none;
    }

    .tg-root .txn td {
        border: none;
        padding: 4px 0;
        display: block;
    }

    .tg-root .txn tr {
        border-bottom: 1px solid var(--line-2);
        padding: 14px 0;
        display: block;
    }
}

@keyframes bs-cta-pulse {
    0%,to {
        box-shadow: 0 8px 22px -6px color-mix(in srgb, var(--accent) 60%, transparent);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 12px 28px -6px color-mix(in srgb, var(--accent) 90%, transparent);
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion:reduce) {
    .tg-root .buy-sticky .btn {
        animation: none;
    }
}

.tg-root .bag-top {
    margin-top: 22px;
}

.tg-root .bag-panel {
    isolation: isolate;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    background: #fff;
    margin-top: 18px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.tg-root .bag-panel.has-bg {
    border: 0;
    box-shadow: 0 30px 60px -22px #4f46e58c,0 10px 24px -14px #00000059;
}

.tg-root .bag-panel.has-bg:before {
    content: "";
    z-index: -2;
    background-image: var(--panel-img);
    filter: blur(20px)saturate(1.25);
    background-position: 50%;
    background-size: cover;
    position: absolute;
    inset: 0;
    transform: scale(1.18);
}

.tg-root .bag-panel.has-bg:after {
    content: "";
    z-index: -1;
    background: linear-gradient(160deg,#26184ab3,#0e0922d1);
    position: absolute;
    inset: 0;
}

.tg-root .bag-empty {
    text-align: center;
    color: var(--ink-3);
    padding: 48px 0;
}

.tg-root .bag-panel.has-bg .bag-empty {
    color: #ffffffe6;
}

.tg-root .bag-steps {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
    padding: 24px;
    display: grid;
}

.tg-root .bag-step {
    align-items: flex-start;
    gap: 14px;
    display: flex;
}

.tg-root .bag-step .bs-num {
    background: linear-gradient(135deg, var(--accent), var(--accent-2,#6366f1));
    color: #fff;
    width: 34px;
    height: 34px;
    font-family: var(--head);
    border-radius: 50%;
    flex: 0 0 34px;
    place-items: center;
    font-size: 16px;
    font-weight: 900;
    display: grid;
    box-shadow: 0 6px 14px -6px #4f46e5b3;
}

.tg-root .bag-step>div>b {
    color: var(--ink-1);
    margin-bottom: 3px;
    font-size: 14.5px;
    font-weight: 800;
    display: block;
}

.tg-root .bag-step p {
    color: var(--ink-3);
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .tg-root .bag-steps {
        grid-template-columns:1fr;
    }
}

.tg-root .bag-note {
    background: var(--accent-soft);
    border: 1px solid var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .bag-note {
        border:1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
    }
}

.tg-root .bag-note {
    color: var(--ink-2);
    border-radius: var(--r);
    margin-bottom: 20px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
}

.tg-root .bag-durations {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.tg-root .bag-count {
    color: var(--ink-3);
    margin: 6px 0 16px;
    font-size: 14px;
}

.tg-root .bag-count b {
    color: var(--ink-1);
}

.tg-root .bag-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 26px;
    display: grid;
}

.tg-root .bag {
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    place-items: center;
    transition: transform .16s cubic-bezier(.34,1.56,.64,1),box-shadow .16s,filter .16s;
    display: grid;
    position: relative;
    box-shadow: 0 10px 24px -12px #4f46e5b3;
}

.tg-root .bag:not(.has-img) {
    aspect-ratio: 1;
}

.tg-root .bag:hover:not(:disabled) {
    z-index: 2;
    transform: translateY(0)scale(1);
    box-shadow: 0 26px 44px -14px #00000080;
}

.tg-root .bag:disabled {
    cursor: default;
    filter: grayscale(.15)brightness(.98);
}

.tg-root .bag.has-img {
    overflow: hidden;
}

.tg-root .bag .bag-img {
    width: 100%;
    height: auto;
    transition: transform .2s;
    display: block;
}

.tg-root .bag.has-img:hover:not(:disabled) .bag-img {
    transform: scale(1.06);
}

.tg-root .bag-emoji {
    filter: drop-shadow(0 4px 6px #00000040);
    font-size: 46px;
    line-height: 1;
    transition: transform .16s;
}

.tg-root .bag:hover:not(:disabled) .bag-emoji {
    transform: scale(1)rotate(4deg);
}

.tg-root .bag-q {
    font-family: var(--head);
    color: #ffffffbf;
    text-shadow: 0 1px 4px #00000073;
    font-size: 20px;
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 12px;
}

.tg-root .bag-open-label {
    z-index: 3;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    background: #18122b6b;
    place-items: center;
    transition: opacity .16s;
    display: grid;
    position: absolute;
    inset: 0;
}

.tg-root .bag-open-label span {
    color: #6a2f00;
    font-family: var(--head);
    letter-spacing: .3px;
    white-space: nowrap;
    background: linear-gradient(135deg,#ffe08a,#ff9f45);
    border: 1.5px solid #ffffffbf;
    border-radius: 999px;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 900;
    transition: transform .22s cubic-bezier(.34,1.56,.64,1);
    display: inline-flex;
    transform: translateY(10px)scale(.88);
    box-shadow: 0 12px 26px -8px #ff8c28cc,inset 0 1px #ffffffa6;
}

.tg-root .bag-open-label span:before {
    content: "🎁";
    font-size: 15px;
}

.tg-root .bag:hover:not(:disabled) .bag-open-label {
    opacity: 1;
}

.tg-root .bag:hover:not(:disabled) .bag-open-label span {
    transform: translateY(0)scale(1);
}

.tg-root .bag.opening {
    z-index: 3;
    animation: .5s bagShake;
}

@keyframes bagShake {
    0%,to {
        transform: translate(0)rotate(0);
    }

    15% {
        transform: translate(-4px)rotate(-2deg);
    }

    30% {
        transform: translate(4px)rotate(2deg);
    }

    45% {
        transform: translate(-3px)rotate(-1.4deg);
    }

    60% {
        transform: translate(3px)rotate(1.4deg);
    }

    80% {
        transform: translate(-1.5px)rotate(-.6deg);
    }
}

.tg-root .bag-burst {
    z-index: 4;
    border-radius: inherit;
    pointer-events: none;
    place-items: center;
    display: grid;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.tg-root .bb-glow {
    opacity: 0;
    background: radial-gradient(circle,#fffffffa 0%,#ffe08a 34%,#ff9f45e6 58%,#ff9f4500 78%);
    animation: 1.1s .35s forwards bbGlow;
    position: absolute;
    inset: 0;
    transform: scale(.35);
}

@keyframes bbGlow {
    0% {
        opacity: 0;
        transform: scale(.35);
    }

    45% {
        opacity: 1;
        transform: scale(1.06);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tg-root .bb-rays {
    aspect-ratio: 1;
    opacity: 0;
    background: repeating-conic-gradient(#ffffff8c 0deg 5deg,#0000 5deg 22deg);
    border-radius: 50%;
    width: 150%;
    animation: 1.2s .4s forwards bbRays;
    position: absolute;
    transform: scale(.2)rotate(0);
}

@keyframes bbRays {
    0% {
        opacity: 0;
        transform: scale(.2)rotate(0);
    }

    40% {
        opacity: .85;
    }

    to {
        opacity: 0;
        transform: scale(1.5)rotate(45deg);
    }
}

.tg-root .bb-emoji {
    z-index: 2;
    opacity: 0;
    filter: drop-shadow(0 4px 8px #0000004d);
    font-size: 52px;
    animation: .7s cubic-bezier(.34,1.56,.64,1) .6s forwards bbEmoji;
    position: relative;
    transform: scale(.2)rotate(-20deg);
}

@keyframes bbEmoji {
    0% {
        opacity: 0;
        transform: scale(.2)rotate(-20deg);
    }

    60% {
        opacity: 1;
        transform: scale(1.18)rotate(6deg);
    }

    to {
        opacity: 1;
        transform: scale(1)rotate(0);
    }
}

.bag-confirm {
    z-index: 92;
    width: 380px;
    max-width: 92vw;
    box-shadow: var(--sh-3,0 30px 60px -20px #0006);
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 28px 26px 22px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.bag-confirm-emoji {
    margin-bottom: 8px;
    font-size: 54px;
    line-height: 1;
}

.bag-confirm h3 {
    font-family: var(--head);
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 800;
}

.bag-confirm p {
    color: var(--ink-3);
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.bag-confirm-price {
    font-family: var(--head);
    color: var(--accent-ink);
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 900;
}

.bag-confirm-actions {
    gap: 12px;
    display: flex;
}

.bag-confirm-actions .btn {
    flex: 1;
}

@media (max-width: 720px) {
    .tg-root .bag-durations {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .tg-root .bag-panel {
        padding: 18px;
    }

    .tg-root .bag-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 14px;
    }
}

.tg-root .chat-fab,.chat-fab {
    z-index: 60;
    width: 60px;
    height: 60px;
    text-decoration: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
}

.chat-fab .cf-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
    border-radius: 50%;
    place-items: center;
    display: grid;
    position: absolute;
    inset: 0;
}

@supports (color: color-mix(in lab, red, red)) {
    .chat-fab .cf-btn {
        background:linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 60%, #7c3aed) 100%);
    }
}

.chat-fab .cf-btn {
    box-shadow: 0 14px 30px -8px var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .chat-fab .cf-btn {
        box-shadow:0 14px 30px -8px color-mix(in srgb, var(--accent) 70%, transparent);
    }
}

.chat-fab .cf-btn {
    z-index: 2;
    transition: transform .18s,box-shadow .18s;
    animation: 2.6s ease-in-out infinite cf-bob;
}

.chat-fab:hover .cf-btn {
    box-shadow: 0 18px 38px -8px var(--accent);
    transform: scale(1.07);
}

@supports (color: color-mix(in lab, red, red)) {
    .chat-fab:hover .cf-btn {
        box-shadow:0 18px 38px -8px color-mix(in srgb, var(--accent) 80%, transparent);
    }
}

.chat-fab .cf-ring {
    background: var(--accent);
    opacity: .5;
    z-index: 1;
    border-radius: 50%;
    animation: 2.2s ease-out infinite cf-pulse;
    position: absolute;
    inset: 0;
}

.chat-fab .cf-ring-2 {
    animation-delay: 1.1s;
}

.chat-fab .cf-dot {
    color: #fff;
    min-width: 20px;
    height: 20px;
    font-family: var(--head);
    text-align: center;
    z-index: 3;
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 0 5px;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 20px;
    animation: 1.4s ease-in-out infinite cf-dot;
    position: absolute;
    top: -3px;
    right: -3px;
}

.chat-fab.has-unread .cf-btn {
    background: linear-gradient(135deg,#ff4d4d 0%,#ef4444 100%);
    animation: .9s ease-in-out infinite cf-shake;
    box-shadow: 0 14px 30px -8px #ef4444b3;
}

.chat-fab.has-unread .cf-ring {
    background: #ef4444;
}

@keyframes cf-shake {
    0%,55%,to {
        transform: translateY(0)rotate(0);
    }

    10% {
        transform: translateY(-3px)rotate(-10deg);
    }

    20% {
        transform: translateY(-3px)rotate(10deg);
    }

    30% {
        transform: translateY(-2px)rotate(-7deg);
    }

    40% {
        transform: translateY(-1px)rotate(5deg);
    }
}

.chat-fab .cf-label {
    white-space: nowrap;
    color: var(--accent-ink);
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 9px 15px;
    font-size: 13.5px;
    font-weight: 800;
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    transform: translateY(-50%);
    box-shadow: 0 8px 22px -10px #00000059;
}

.chat-fab .cf-label:after {
    content: "";
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    background: #fff;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%)rotate(45deg);
}

@keyframes cf-bob {
    0%,to {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes cf-pulse {
    0% {
        opacity: .5;
        transform: scale(1);
    }

    70% {
        opacity: 0;
        transform: scale(1.85);
    }

    to {
        opacity: 0;
        transform: scale(1.85);
    }
}

@keyframes cf-dot {
    0%,to {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

@media (max-width: 640px) {
    .chat-fab .cf-label {
        display:none;
    }

    .tg-root .chat-fab,.chat-fab {
        bottom: 16px;
        right: 16px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .chat-fab .cf-btn,.chat-fab.has-unread .cf-btn,.chat-fab .cf-ring,.chat-fab .cf-dot {
        animation: none;
    }

    .chat-fab .cf-ring {
        display: none;
    }

    .tg-root .gallery-main .gal-quick {
        animation: none;
        box-shadow: 0 6px 18px #00000047;
    }
}

.tg-root .cred {
    padding: 0;
}

.tg-root .cred-row {
    border-bottom: 1px solid var(--line-2);
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    display: flex;
}

.tg-root .cred-row:last-child {
    border-bottom: none;
}

.tg-root .cred-row .ck {
    color: var(--ink-3);
    flex: none;
    width: 130px;
    font-size: 13px;
    font-weight: 600;
}

.tg-root .cred-row .cv {
    letter-spacing: .02em;
    word-break: break-all;
    flex: 1;
    font-size: 16px;
    font-weight: 700;
}

.tg-root .copy {
    border: 1px solid var(--line);
    color: var(--ink-2);
    background: #fff;
    border-radius: 10px;
    flex: none;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
}

.tg-root .copy:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
}

.tg-root .copy.done {
    border-color: var(--good);
    color: var(--good);
}

.tg-root .verify-guide {
    border: 1px solid var(--accent);
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-radius: 12px;
    align-items: center;
    gap: 8px;
    margin: 4px 0 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    display: flex;
}

.tg-root .verify-guide b {
    white-space: nowrap;
    font-weight: 800;
}

.tg-root .verify-guide:hover {
    filter: brightness(.97);
}

@media (max-width: 640px) {
    .tg-root .cred-row {
        flex-wrap:wrap;
        row-gap: 8px;
    }

    .tg-root .cred-row .ck {
        width: 100%;
    }

    .tg-root .cred-row .cv {
        word-break: break-word;
        overflow-wrap: anywhere;
        flex: 100%;
    }
}

.tg-root .warn-note {
    background: var(--star);
    gap: 12px;
    display: flex;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .warn-note {
        background:color-mix(in oklab, var(--star) 12%, #fff);
    }
}

.tg-root .warn-note {
    border: 1px solid var(--star);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .warn-note {
        border:1px solid color-mix(in oklab, var(--star) 34%, #fff);
    }
}

.tg-root .warn-note {
    border-radius: var(--r);
    color: #7a5200;
    padding: 14px 16px;
    font-size: 13.5px;
    line-height: 1.55;
}

.tg-root .warn-note svg {
    color: #c98a00;
    flex: none;
    margin-top: 1px;
}

.tg-root .steps-guide {
    counter-reset: s;
    gap: 12px;
    margin-top: 4px;
    display: grid;
}

.tg-root .steps-guide li {
    color: var(--ink-2);
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    list-style: none;
    display: flex;
}

.tg-root .steps-guide li:before {
    counter-increment: s;
    content: counter(s);
    background: var(--accent-soft);
    width: 26px;
    height: 26px;
    color: var(--accent-ink);
    font-family: var(--head);
    border-radius: 8px;
    flex: none;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    display: grid;
}

.tg-root .countdown {
    gap: 10px;
    margin-top: 14px;
    display: flex;
}

.tg-root .cd-unit {
    background: var(--bg-soft);
    text-align: center;
    border-radius: 12px;
    flex: 1;
    min-width: 0;
    padding: 12px 0;
}

.tg-root .cd-unit .cn {
    font-family: var(--head);
    color: var(--ink);
    white-space: nowrap;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.tg-root .cd-unit .cl {
    color: var(--ink-3);
    margin-top: 5px;
    font-size: 12px;
}

.tg-root .chat-page {
    background: var(--bg-soft);
    min-height: calc(100vh - 72px);
    padding: 26px 0 40px;
}

.tg-root .chat-box {
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 760px;
    box-shadow: var(--sh-2);
    background: #fff;
    flex-direction: column;
    height: calc(100vh - 138px);
    margin-inline:auto;
    display: flex;
    overflow: hidden;
}

.tg-root.chat-screen {
    z-index: 60;
    background: var(--bg-soft);
    position: fixed;
    inset: 0;
}

.tg-root.chat-screen .chat-box {
    max-width: 1200px;
    height: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin-inline:auto;
}

.tg-root .chat-back {
    width: 40px;
    height: 40px;
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-radius: 12px;
    flex: none;
    place-items: center;
    margin-left: auto;
    display: grid;
}

.tg-root .chat-back svg {
    width: 22px;
    height: 22px;
}

.tg-root .chat-back:hover {
    background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .chat-back:hover {
        background:color-mix(in oklab, var(--accent) 18%, #fff);
    }
}

.tg-root .thread-head {
    border-bottom: 1px solid var(--line-2);
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    display: flex;
}

.tg-root .thread-head .tav {
    color: #fff;
    border-radius: 13px;
    place-items: center;
    width: 46px;
    height: 46px;
    display: grid;
    position: relative;
}

.tg-root .thread-head .tav .on-dot {
    background: var(--good);
    border: 2.5px solid #fff;
    border-radius: 50%;
    width: 13px;
    height: 13px;
    position: absolute;
    bottom: -1px;
    right: -1px;
}

.tg-root .thread-head .tav svg {
    width: 24px;
    height: 24px;
}

.tg-root .thread-head .tmeta b {
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
}

.tg-root .thread-head .tmeta span {
    color: var(--ink-3);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
}

.tg-root .thread-head .tmeta span.st-on {
    color: var(--good);
    font-weight: 600;
}

.tg-root .thread-head .tav .on-dot.off {
    background: var(--ink-3);
}

.tg-root .thread-head .tacts {
    gap: 8px;
    margin-left: auto;
    display: flex;
}

.tg-root .icon-btn {
    border: 1px solid var(--line);
    width: 38px;
    height: 38px;
    color: var(--ink-2);
    border-radius: 11px;
    place-items: center;
    display: grid;
}

.tg-root .icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
}

.tg-root .msgs {
    flex-direction: column;
    flex: 1;
    gap: 14px;
    padding: 24px 22px;
    display: flex;
    overflow-y: auto;
}

.tg-root .day-sep {
    text-align: center;
    color: var(--ink-3);
    margin: 4px 0;
    font-size: 12px;
}

.tg-root .msg {
    flex-direction: column;
    max-width: 74%;
    display: flex;
}

.tg-root .msg .bubble {
    border-radius: 16px;
    padding: 11px 15px;
    font-size: 14.5px;
    line-height: 1.5;
}

.tg-root .msg .time {
    color: var(--ink-3);
    margin-top: 5px;
    font-size: 11px;
}

.tg-root .msg.them {
    align-self: flex-start;
}

.tg-root .msg.them .bubble {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink);
    border-bottom-left-radius: 5px;
}

.tg-root .msg.me {
    align-self: flex-end;
    align-items: flex-end;
}

.tg-root .msg.me .bubble {
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 5px;
}

.tg-root .msg.me .time {
    text-align: right;
}

.tg-root .chat-acc {
    border: 1px solid var(--line);
    width: 260px;
    box-shadow: var(--sh-1);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.tg-root .chat-acc .cthumb {
    aspect-ratio: 16/8;
    color: #fff;
    font-family: var(--head);
    place-items: center;
    font-size: 15px;
    font-weight: 800;
    display: grid;
}

.tg-root .chat-acc .cinfo {
    padding: 11px 13px;
}

.tg-root .chat-acc .cinfo b {
    font-size: 13.5px;
}

.tg-root .chat-acc .cinfo .cp {
    font-family: var(--head);
    color: var(--accent-ink);
    margin-top: 3px;
    font-size: 17px;
    font-weight: 800;
}

.tg-root .chat-acc .cinfo .btn {
    width: 100%;
    margin-top: 9px;
}

.tg-root .typing {
    gap: 4px;
    padding: 13px 16px;
    display: inline-flex;
}

.tg-root .typing i {
    background: var(--ink-3);
    opacity: .5;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    animation: 1.2s infinite tg-bounce;
}

.tg-root .typing i:nth-child(2) {
    animation-delay: .15s;
}

.tg-root .typing i:nth-child(3) {
    animation-delay: .3s;
}

@keyframes tg-bounce {
    0%,60%,to {
        opacity: .4;
        transform: translateY(0);
    }

    30% {
        opacity: .9;
        transform: translateY(-5px);
    }
}

.tg-root .quick {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 22px 0;
    display: flex;
}

.tg-root .quick button {
    border: 1px solid var(--line);
    color: var(--ink-2);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
}

.tg-root .quick button:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
}

.tg-root .off-hours-note {
    color: var(--ink-2);
    background: var(--accent);
    padding: 10px 16px;
    font-size: 12.5px;
    line-height: 1.45;
}

@supports (color: color-mix(in lab, red, red)) {
    .tg-root .off-hours-note {
        background:color-mix(in srgb, var(--accent) 7%, var(--bg-soft));
    }
}

.tg-root .off-hours-note {
    border-top: 1px solid var(--line-2);
    text-align: center;
}

.tg-root .composer {
    border-top: 1px solid var(--line-2);
    align-items: center;
    gap: 10px;
    padding: 14px 22px 18px;
    display: flex;
}

.tg-root .composer .cin {
    border: 1.5px solid var(--line);
    font-family: var(--body);
    border-radius: 999px;
    outline: none;
    flex: 1;
    padding: 12px 18px;
    font-size: 15px;
}

.tg-root .composer .cin:focus {
    border-color: var(--accent);
}

.tg-root .composer .send {
    background: var(--accent);
    color: #fff;
    width: 46px;
    height: 46px;
    box-shadow: var(--sh-accent);
    border-radius: 50%;
    flex: none;
    place-items: center;
    display: grid;
}

.tg-root .help-hero {
    background: linear-gradient(180deg, var(--accent-soft), transparent);
    border-bottom: 1px solid var(--line);
}

.tg-root .help-hero-in {
    padding-block:30px 26px;
}

.tg-root .help-hero h1 {
    font-size: 32px;
    font-weight: 800;
}

.tg-root .help-hero p {
    color: var(--ink-2);
    margin-top: 8px;
    font-size: 15.5px;
}

.tg-root .help-nav {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    background: #fff;
    padding: 10px;
    position: sticky;
    top: 88px;
}

.tg-root .help-nav a {
    color: var(--ink-2);
    border-radius: 12px;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
}

.tg-root .help-nav a:hover {
    background: var(--bg-soft);
    color: var(--ink);
}

.tg-root .help-nav a.on {
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-weight: 700;
}

.tg-root .help-nav a .hi {
    flex: none;
    place-items: center;
    width: 20px;
    display: grid;
}

.tg-root .article {
    background: #fff;
}

.tg-root .article .eyebrow {
    color: var(--accent);
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
}

.tg-root .article h1.at {
    letter-spacing: -.02em;
    margin-top: 8px;
    font-size: 34px;
    font-weight: 800;
}

.tg-root .article .meta {
    color: var(--ink-3);
    margin-top: 10px;
    font-size: 13.5px;
}

.tg-root .article .body {
    color: var(--ink-2);
    max-width: 62ch;
    margin-top: 26px;
    font-size: 15.5px;
    line-height: 1.75;
}

.tg-root .article .body h2 {
    font-family: var(--head);
    color: var(--ink);
    letter-spacing: -.01em;
    margin: 30px 0 12px;
    font-size: 21px;
    font-weight: 800;
}

.tg-root .article .body p {
    margin-bottom: 14px;
}

.tg-root .article .body .guide-img {
    border: 2px solid var(--ink-2);
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    display: block;
}

.tg-root .article .body ul,.tg-root .article .body ol {
    gap: 9px;
    margin: 0 0 16px;
    padding-left: 22px;
    display: grid;
}

.tg-root .article .body li {
    padding-left: 4px;
}

.tg-root .article .body b {
    color: var(--ink);
}

.tg-root .article .body .callout {
    background: var(--bg-soft);
    border-radius: var(--r);
    color: var(--ink-2);
    gap: 12px;
    margin: 18px 0;
    padding: 15px 17px;
    font-size: 14.5px;
    line-height: 1.6;
    display: flex;
}

.tg-root .article .body .callout svg {
    color: var(--accent);
    flex: none;
    margin-top: 2px;
}

.tg-root .article .body a {
    color: var(--accent-ink);
    font-weight: 600;
}

.tg-root .help-foot {
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    padding-top: 22px;
    display: flex;
}

.tg-root .help-foot .hf-q {
    font-weight: 700;
}

.tg-root .contact-grid {
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin: 4px 0 26px;
    display: grid;
}

.tg-root .cc {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px;
}

.tg-root .cc .ci {
    color: #fff;
    border-radius: 12px;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    display: grid;
}

.tg-root .cc b {
    font-size: 15px;
    display: block;
}

.tg-root .cc span {
    color: var(--ink-3);
    font-size: 13.5px;
}

.tg-root .cform {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    display: grid;
}

.tg-root .cform .full {
    grid-column: 1/-1;
}

@media (max-width: 1000px) {
    .tg-root .help-nav {
        position:static;
    }

    .tg-root .contact-grid,.tg-root .cform {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .tg-root .chat-page {
        padding:0;
    }

    .tg-root .chat-box {
        border-left: none;
        border-right: none;
        border-radius: 0;
        height: calc(100vh - 72px);
    }

    .tg-root .msg {
        max-width: 86%;
    }
}

/* ===========================
   Profile page (/user/profile)
   =========================== */
.tg-root .page-head {
    margin-top: 6px;
}
.tg-root .acc-head {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e9ecf2);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.tg-root .acc-head .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff6a3d, #ff2e63);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}
.tg-root .acc-head .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tg-root .acc-head .acc-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: var(--ink, #14151a);
}
.tg-root .acc-head .acc-logout {
    flex-shrink: 0;
}

.tg-root .stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.tg-root .stat-grid .spec {
    background: var(--card, #fff);
    border: 1px solid var(--border, #e9ecf2);
    border-radius: 14px;
    padding: 16px 18px;
}
.tg-root .stat-grid .spec .k {
    color: var(--ink-3, #7b8290);
    font-size: 13px;
    margin-bottom: 6px;
}
.tg-root .stat-grid .spec .v {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink, #14151a);
}

.tg-root .profile-tabs {
    margin-top: 26px;
    margin-bottom: 18px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border, #e9ecf2);
}
.tg-root .profile-tabs button {
    background: transparent;
    border: 0;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-3, #7b8290);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .15s, border-color .15s;
    font-family: inherit;
}
.tg-root .profile-tabs button:hover {
    color: var(--ink, #14151a);
}
.tg-root .profile-tabs button.active {
    color: var(--accent, #f97316);
    border-bottom-color: var(--accent, #f97316);
}

.tg-root .profile-pane {
    padding-bottom: 48px;
}

.tg-root .empty {
    padding: 56px 16px;
    text-align: center;
    color: var(--ink-3, #7b8290);
}
.tg-root .empty .empty-ico {
    font-size: 48px;
    margin-bottom: 12px;
}
.tg-root .empty p {
    margin: 4px 0 14px;
    font-size: 14.5px;
}
.tg-root .empty .empty-hint {
    font-size: 13px;
    color: var(--ink-3, #7b8290);
    margin-top: -6px;
    margin-bottom: 18px;
}

.tg-root .rental-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tg-root .rental-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e9ecf2);
    border-radius: 12px;
    padding: 14px 18px;
    transition: border-color .15s, box-shadow .15s;
}
.tg-root .rental-card:hover {
    border-color: var(--accent, #f97316);
    box-shadow: 0 4px 12px rgba(249, 115, 22, .08);
}
.tg-root .rc-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7ed, #fee2e2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.tg-root .rc-meta {
    flex: 1 1 auto;
    min-width: 0;
}
.tg-root .rc-title {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink, #14151a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tg-root .rc-sub {
    font-size: 12.5px;
    color: var(--ink-3, #7b8290);
    margin-top: 2px;
}
.tg-root .rc-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #6b7280;
    text-transform: capitalize;
    flex-shrink: 0;
}
.tg-root .rc-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    flex-shrink: 0;
}
.tg-root .rc-badge-direct {
    background: #ecfeff;
    color: #0e7490;
    border: 1px solid #a5f3fc;
}
.tg-root .rc-badge-rand {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
.tg-root .rc-pill {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.tg-root .rc-pill-on {
    background: #dcfce7;
    color: #166534;
}
.tg-root .rc-pill-off {
    background: #fee2e2;
    color: #991b1b;
}
.tg-root .rc-expired {
    opacity: 0.65;
}
.tg-root .rc-expired .rc-thumb {
    filter: grayscale(0.6);
}

/* Modal chi tiết thuê acc */
.tg-root .rent-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tg-root .rent-modal[hidden] { display: none; }
.tg-root .rent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}
.tg-root .rent-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: min(92vw, 520px);
    max-height: 86vh;
    overflow: auto;
    padding: 22px 22px 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    animation: rent-pop .18s ease-out;
}
@keyframes rent-pop {
    from { transform: translateY(8px) scale(0.98); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
.tg-root .rent-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}
.tg-root .rent-modal__close:hover { color: #111827; }
.tg-root .rent-modal__title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.tg-root .rent-modal__loading {
    padding: 30px 0;
    text-align: center;
    color: #6b7280;
}
.tg-root .rent-modal__error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}
.tg-root .rent-modal__footer {
    margin-top: 16px;
    text-align: right;
}
.tg-root .rent-info {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 8px 14px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 10px;
}
.tg-root .ri-lbl {
    color: #6b7280;
    font-size: 13px;
}
.tg-root .ri-val {
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
}
.tg-root .rent-ok { color: #166534; }
.tg-root .rent-bad { color: #991b1b; }
.tg-root .rent-secret { margin-top: 16px; }
.tg-root .rent-secret__grid {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}
.tg-root .rs-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 10px;
    align-items: center;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
}
.tg-root .rs-lbl {
    color: #475569;
    font-weight: 600;
    font-size: 13px;
}
.tg-root .rs-val {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    word-break: break-all;
}
.tg-root .rs-val code {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 6px 8px;
    border-radius: 6px;
    flex: 1;
}
.tg-root .rs-cp.btn-tiny {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
}
.tg-root .rs-cp.btn-tiny:hover { background: #f1f5f9; }
.tg-root .rent-secret__note {
    margin-top: 12px;
    padding: 10px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 8px;
    font-size: 13px;
}

.tg-root .info-form {
    max-width: 560px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e9ecf2);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tg-root .info-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tg-root .info-row label {
    font-size: 13px;
    color: var(--ink-3, #7b8290);
    font-weight: 600;
}
.tg-root .info-row input {
    border: 1px solid var(--border, #e9ecf2);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14.5px;
    background: #f9fafb;
    color: var(--ink, #14151a);
    font-family: inherit;
}
.tg-root .info-row input:disabled {
    color: #6b7280;
    cursor: not-allowed;
}
.tg-root .info-actions {
    margin-top: 4px;
}

@media (max-width: 720px) {
    .tg-root .acc-head {
        padding: 14px 16px;
        gap: 12px;
    }
    .tg-root .acc-head .avatar {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
    .tg-root .acc-head .acc-name {
        font-size: 18px;
    }
    .tg-root .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .tg-root .stat-grid .spec .v {
        font-size: 18px;
    }
    .tg-root .profile-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .tg-root .profile-tabs button {
        flex-shrink: 0;
        padding: 12px 14px;
        font-size: 13.5px;
    }
    .tg-root .rental-card {
        padding: 12px 14px;
    }
    .tg-root .rental-card .btn {
        flex-shrink: 0;
    }
}
