:root {
    --gy-bg: #f8f3e7;
    --gy-surface: #fffdf8;
    --gy-surface-strong: #ffffff;
    --gy-ink: #18130a;
    --gy-muted: #766a57;
    --gy-line: rgba(112, 87, 34, .14);
    --gy-gold: #d9a625;
    --gy-gold-strong: #b98213;
    --gy-gold-soft: #fff2c8;
    --gy-green: #188351;
    --gy-danger: #be3f34;
    --gy-shadow: 0 18px 55px rgba(78, 56, 18, .12);
    --gy-radius: 24px;
}

html {
    background: var(--gy-bg);
}

body.gy-user-body,
body.gy-auth-body {
    margin: 0;
    min-height: 100vh;
    color: var(--gy-ink);
    background:
        radial-gradient(circle at 18% -10%, rgba(255, 224, 145, .55), transparent 30%),
        linear-gradient(180deg, #fffaf0 0%, var(--gy-bg) 46%, #f5ead4 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    letter-spacing: 0;
}

.gy-auth-card :where(h1, h2, h3, h4, h5, h6, p, a, button, label, span, strong, b, input),
.gy-topbar :where(h1, h2, h3, h4, h5, h6, p, a, button, label, span, strong, b),
.gy-content :where(h1, h2, h3, h4, h5, h6, p, a, button, label, span, strong, b, input),
.gy-page :where(h1, h2, h3, h4, h5, h6, p, a, button, label, span, strong, b, input, select, textarea),
.gy-bottom-nav :where(a, span) {
    font-family: inherit;
    font-weight: 400;
}

.gy-shell {
    width: min(100%, 520px);
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
    background:
        linear-gradient(135deg, rgba(185, 130, 19, .045) 25%, transparent 25%) 0 0 / 28px 28px,
        linear-gradient(315deg, rgba(185, 130, 19, .035) 25%, transparent 25%) 0 0 / 28px 28px,
        linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 250, 239, .72)),
        var(--gy-bg);
}

.gy-auth-page {
    background-image:
        linear-gradient(135deg, rgba(185, 130, 19, .04) 25%, transparent 25%),
        linear-gradient(315deg, rgba(185, 130, 19, .03) 25%, transparent 25%);
    background-position: 0 0;
    background-size: 28px 28px;
}

.gy-content {
    padding: 0 18px 24px;
}

.gy-page {
    min-height: 100vh;
    padding-bottom: 24px;
}

.gy-page-content {
    padding: 18px;
}

.gy-stack {
    display: grid;
    gap: 14px;
}

.gy-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 10px;
}

.gy-page-back {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--gy-line);
    border-radius: 15px;
    background: rgba(255, 253, 248, .88);
    color: var(--gy-ink);
    box-shadow: 0 10px 22px rgba(78, 56, 18, .06);
}

.gy-page-back svg {
    width: 18px;
    height: 18px;
}

.gy-page-heading {
    min-width: 0;
}

.gy-page-heading p,
.gy-page-heading h1 {
    margin: 0;
}

.gy-page-heading p {
    color: var(--gy-muted);
    font-size: 12px;
}

.gy-page-heading h1 {
    color: var(--gy-ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
}

.gy-card {
    border: 1px solid var(--gy-line);
    border-radius: 24px;
    background: var(--gy-surface-strong);
    padding: 16px;
    box-shadow: 0 12px 30px rgba(78, 56, 18, .07);
}

.gy-card-dark {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 217, 112, .34), transparent 30%),
        linear-gradient(135deg, #171107, #3b2a0f 52%, #b47c10);
    color: #fff;
    padding: 18px;
    box-shadow: 0 18px 42px rgba(78, 56, 18, .2);
}

.gy-card-dark::before,
.gy-balance-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .46;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .07) 12.5%, transparent 12.5%, transparent 50%, rgba(255, 255, 255, .07) 50%, rgba(255, 255, 255, .07) 62.5%, transparent 62.5%, transparent 100%) 0 0 / 34px 34px,
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, .08) 0 1px, transparent 1.5px) 0 0 / 22px 22px;
    mix-blend-mode: screen;
}

.gy-card-dark > * {
    position: relative;
    z-index: 1;
}

.gy-card-title {
    margin: 0;
    color: var(--gy-ink);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
}

.gy-card-subtitle {
    margin: 5px 0 0;
    color: var(--gy-muted);
    font-size: 12px;
    line-height: 1.45;
}

.gy-muted {
    color: var(--gy-muted);
}

.gy-mini-label {
    color: var(--gy-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.gy-value {
    color: var(--gy-ink);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
}

.gy-form-card {
    display: grid;
    gap: 16px;
}

.gy-form-row {
    display: grid;
    gap: 8px;
}

.gy-select {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--gy-line);
    border-radius: 16px;
    background: #fffefa;
    color: var(--gy-ink);
    padding: 0 14px;
    outline: none;
}

.gy-input-with-prefix,
.gy-input-with-suffix {
    position: relative;
}

.gy-input-prefix,
.gy-input-suffix {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gy-gold-strong);
    font-size: 14px;
}

.gy-input-prefix {
    left: 14px;
}

.gy-input-suffix {
    right: 14px;
}

.gy-input-with-prefix .gy-input {
    padding-left: 38px;
}

.gy-input-with-suffix .gy-input {
    padding-right: 44px;
}

.gy-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.gy-amount-option {
    min-height: 48px;
    border: 1px solid var(--gy-line);
    border-radius: 16px;
    background: #fffefa;
    color: var(--gy-ink);
    font: inherit;
    cursor: pointer;
}

.gy-note-card {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(217, 166, 37, .22);
    border-radius: 20px;
    background: #fff8e4;
    padding: 14px;
}

.gy-note-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #5f4c29;
    font-size: 13px;
    line-height: 1.4;
}

.gy-note-row svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--gy-gold-strong);
}

.gy-filter-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
}

.gy-filter-strip::-webkit-scrollbar {
    display: none;
}

.gy-filter {
    flex: 0 0 auto;
    border: 1px solid var(--gy-line);
    border-radius: 999px;
    background: rgba(255, 253, 248, .78);
    color: var(--gy-muted);
    padding: 9px 14px;
    font-size: 12px;
}

.gy-filter.is-active {
    border-color: #171107;
    background: #171107;
    color: var(--gy-gold);
}

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

.gy-list-item {
    border: 1px solid var(--gy-line);
    border-radius: 20px;
    background: var(--gy-surface-strong);
    padding: 14px;
    box-shadow: 0 10px 24px rgba(78, 56, 18, .06);
}

.gy-list-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.gy-list-title {
    margin: 0;
    color: var(--gy-ink);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
}

.gy-list-meta {
    margin: 4px 0 0;
    color: var(--gy-muted);
    font-size: 12px;
}

.gy-list-amount {
    flex: 0 0 auto;
    color: var(--gy-ink);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    text-align: right;
}

.gy-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.gy-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    line-height: 1;
    text-transform: capitalize;
}

.gy-badge-success {
    background: rgba(24, 131, 81, .12);
    color: #126540;
}

.gy-badge-warning {
    background: rgba(217, 166, 37, .16);
    color: #8a5a08;
}

.gy-badge-danger {
    background: rgba(190, 63, 52, .12);
    color: var(--gy-danger);
}

.gy-badge-info {
    background: rgba(34, 158, 217, .12);
    color: #17769f;
}

.gy-empty {
    border: 1px dashed var(--gy-line);
    border-radius: 24px;
    background: rgba(255, 253, 248, .72);
    padding: 28px 18px;
    color: var(--gy-muted);
    text-align: center;
}

.gy-empty h3 {
    margin: 0;
    color: var(--gy-ink);
    font-size: 16px;
    font-weight: 500;
}

.gy-empty p {
    margin: 6px 0 0;
    font-size: 13px;
}

.gy-detail-grid {
    display: grid;
    gap: 10px;
}

.gy-mini-stat {
    border: 1px solid var(--gy-line);
    border-radius: 16px;
    background: #fffaf0;
    padding: 12px 8px;
    text-align: center;
}

.gy-mini-stat label {
    display: block;
    color: var(--gy-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.gy-mini-stat span {
    display: block;
    margin-top: 5px;
    color: var(--gy-ink);
    font-size: 14px;
    line-height: 1.2;
}

.gy-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--gy-line);
    border-radius: 16px;
    background: #fffaf0;
    padding: 12px;
}

.gy-detail-row label {
    color: var(--gy-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.gy-detail-row span,
.gy-detail-row div {
    color: var(--gy-ink);
    font-size: 14px;
    text-align: right;
}

.gy-small-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff8e4;
    color: #8a5a08;
    padding: 8px 12px;
    font-size: 12px;
}

.gy-menu-list {
    display: grid;
    gap: 10px;
}

.gy-menu-list form {
    margin: 0;
}

.gy-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 1px solid var(--gy-line);
    border-radius: 20px;
    background: var(--gy-surface-strong);
    box-shadow: 0 10px 24px rgba(78, 56, 18, .06);
    color: var(--gy-ink);
    padding: 12px;
    text-align: left;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.gy-menu-item:hover {
    border-color: rgba(185, 126, 14, .28);
    background: #fffdf8;
    box-shadow: 0 14px 30px rgba(78, 56, 18, .08);
    transform: translateY(-1px);
}

.gy-menu-left {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.gy-menu-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 16px;
    background: #171107;
    color: var(--gy-gold);
}

.gy-menu-icon .icon,
.gy-menu-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.gy-menu-label {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gy-menu-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #fff8e4;
    color: #8a5a08;
    padding: 8px 12px;
    font-size: 12px;
}

.gy-menu-icon.is-telegram {
    background: #229ed9;
    color: #fff;
}

.gy-menu-icon.is-whatsapp {
    background: #25d366;
    color: #fff;
}

.gy-menu-icon.is-whatsapp .icon,
.gy-menu-icon.is-telegram .icon {
    fill: currentColor;
    stroke: none;
}

.gy-menu-item.is-danger {
    border-color: rgba(190, 63, 52, .16);
}

.gy-menu-item.is-danger .gy-menu-icon {
    background: rgba(190, 63, 52, .1);
    color: var(--gy-danger);
}

.gy-menu-item.is-danger .gy-menu-label,
.gy-menu-item.is-danger .gy-menu-action {
    color: var(--gy-danger);
}

.gy-menu-item.is-danger .gy-menu-action {
    background: rgba(190, 63, 52, .08);
}

.gy-copy-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    padding: 12px;
}

.gy-copy-box span {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gy-copy-box .gy-small-action {
    min-width: 52px;
    flex: 0 0 auto;
    padding-right: 10px;
    padding-left: 10px;
}

.gy-upload-box {
    border: 1px dashed rgba(217, 166, 37, .58);
    border-radius: 20px;
    background: #fff8e4;
    padding: 18px;
    text-align: center;
}

.gy-upload-box label {
    display: grid;
    gap: 6px;
    place-items: center;
    cursor: pointer;
}

.gy-upload-box svg {
    width: 30px;
    height: 30px;
    color: #9b6509;
}

.gy-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.gy-tab {
    border: 1px solid var(--gy-line);
    border-radius: 16px;
    background: rgba(255, 253, 248, .72);
    color: var(--gy-muted);
    padding: 11px 8px;
    font-size: 12px;
    text-align: center;
}

.gy-tab.is-active {
    border-color: #171107;
    background: #171107;
    color: var(--gy-gold);
}

.gy-auth-page {
    position: relative;
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px 18px;
    overflow: hidden;
}

.gy-auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(230, 177, 45, .42), transparent 34%),
        linear-gradient(145deg, rgba(22, 17, 8, .08), transparent 42%);
    pointer-events: none;
}

.gy-auth-card {
    position: relative;
    width: min(100%, 430px);
    border: 1px solid var(--gy-line);
    border-radius: 28px;
    background: rgba(255, 253, 248, .94);
    box-shadow: var(--gy-shadow);
    padding: 26px 20px 22px;
}

.gy-brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gy-brand-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border-radius: 18px;
    object-fit: cover;
    background: #1f1a10;
    box-shadow: 0 12px 28px rgba(76, 54, 14, .2);
}

.gy-auth-logo {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(87, 62, 13, .18);
}

.gy-eyebrow {
    margin: 0;
    color: var(--gy-gold-strong);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.gy-title {
    margin: 4px 0 0;
    color: var(--gy-ink);
    font-size: 26px;
    line-height: 1.08;
    font-weight: 600;
}

.gy-subtitle {
    margin: 8px 0 0;
    color: var(--gy-muted);
    font-size: 14px;
    line-height: 1.5;
}

.gy-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.gy-field {
    display: grid;
    gap: 8px;
}

.gy-label {
    color: #3b2d14;
    font-size: 13px;
    font-weight: 500;
}

.gy-input-wrap {
    position: relative;
}

.gy-input-icon,
.gy-password-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--gy-gold-strong);
}

.gy-input-icon {
    left: 7px;
}

.gy-password-toggle {
    right: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gy-input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--gy-line);
    border-radius: 16px;
    background: #fffefa;
    color: var(--gy-ink);
    padding: 0 16px 0 48px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.gy-input-plain {
    padding-right: 16px;
    padding-left: 16px;
}

.gy-input:focus {
    border-color: rgba(217, 166, 37, .72);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(217, 166, 37, .16);
}

.gy-input-wrap .gy-input.gy-has-action {
    padding-right: 48px;
}

.gy-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #171107, #4b3510 48%, var(--gy-gold));
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 14px 28px rgba(88, 61, 12, .18);
    cursor: pointer;
}

.gy-button-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.gy-button-secondary {
    background: #fff8e4;
    color: #271d0b;
    border: 1px solid rgba(217, 166, 37, .35);
    box-shadow: none;
}

.gy-auth-switch {
    margin: 4px 0 0;
    color: var(--gy-muted);
    font-size: 14px;
    text-align: center;
}

.gy-auth-switch a,
.gy-link {
    color: #9b6509;
    font-weight: 500;
}

.gy-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 12px;
}

.gy-topbar-meta {
    min-width: 0;
}

.gy-topbar-meta p,
.gy-topbar-meta h1 {
    margin: 0;
}

.gy-topbar-meta p {
    color: var(--gy-muted);
    font-size: 12px;
    font-weight: 500;
}

.gy-topbar-meta h1 {
    overflow: hidden;
    color: var(--gy-ink);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gy-icon-button {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--gy-line);
    border-radius: 16px;
    background: rgba(255, 253, 248, .82);
    color: #3c2b0c;
    box-shadow: 0 10px 28px rgba(78, 56, 18, .08);
}

.gy-balance-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 86% 20%, rgba(255, 230, 149, .52), transparent 30%),
        linear-gradient(135deg, #171107 0%, #3b2a0f 48%, #c8941c 100%);
    color: #fff;
    padding: 24px 22px;
    box-shadow: 0 22px 46px rgba(76, 54, 14, .22);
}

.gy-balance-card::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -72px;
    z-index: 0;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 34px solid rgba(255, 255, 255, .08);
}

.gy-card-label {
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.gy-balance-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.gy-balance-toggle {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.gy-balance-toggle:hover {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.gy-eye-icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.gy-eye-closed,
html.gy-balances-hidden .gy-eye-open {
    display: none;
}

html.gy-balances-hidden .gy-eye-closed {
    display: block;
}

.gy-balance-amount {
    position: relative;
    z-index: 1;
    margin: 8px 0 22px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
}

.gy-balance-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gy-stat-pill {
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    padding: 12px;
}

.gy-stat-pill span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 400;
}

.gy-stat-pill strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.gy-section {
    margin-top: 22px;
}

.gy-plan-image-card {
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid var(--gy-line);
    border-radius: 24px;
    background: var(--gy-surface-strong);
    box-shadow: 0 14px 34px rgba(78, 56, 18, .09);
}

.gy-plan-image-card img {
    display: block;
    width: 100%;
    height: auto;
}

.gy-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gy-section-head h2 {
    margin: 0;
    color: var(--gy-ink);
    font-size: 19px;
    font-weight: 600;
}

.gy-section-head a,
.gy-section-head span {
    color: #9b6509;
    font-size: 12px;
    font-weight: 500;
}

.gy-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gy-action {
    display: flex;
    min-width: 0;
    min-height: 86px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--gy-line);
    border-radius: 20px;
    background: var(--gy-surface-strong);
    color: var(--gy-ink);
    font: inherit;
    text-align: center;
    box-shadow: 0 12px 28px rgba(78, 56, 18, .07);
    cursor: pointer;
}

.gy-action-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    background: var(--gy-gold-soft);
    color: #9b6509;
}

.gy-action span:last-child {
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gy-info-grid {
    display: grid;
    gap: 10px;
}

.gy-info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--gy-line);
    border-radius: 20px;
    background: var(--gy-surface-strong);
    padding: 14px;
    box-shadow: 0 10px 24px rgba(78, 56, 18, .06);
}

.gy-info-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    background: #171107;
    color: var(--gy-gold);
}

.gy-info-card h3,
.gy-info-card p {
    margin: 0;
}

.gy-info-card h3 {
    color: var(--gy-ink);
    font-size: 14px;
    font-weight: 500;
}

.gy-info-card p {
    margin-top: 3px;
    color: var(--gy-muted);
    font-size: 12px;
    line-height: 1.45;
}

.gy-community-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gy-community-card {
    position: relative;
    overflow: hidden;
    min-height: 126px;
    border: 1px solid var(--gy-line);
    border-radius: 24px;
    background: var(--gy-surface-strong);
    padding: 16px;
    box-shadow: 0 12px 28px rgba(78, 56, 18, .07);
}

.gy-community-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -36px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    opacity: .1;
}

.gy-community-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 12px 22px rgba(22, 17, 8, .12);
}

.gy-community-icon svg {
    width: 25px;
    height: 25px;
}

.gy-community-card h3,
.gy-community-card p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.gy-community-card h3 {
    margin-top: 13px;
    color: var(--gy-ink);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}

.gy-community-card p {
    margin-top: 4px;
    color: var(--gy-muted);
    font-size: 12px;
    line-height: 1.35;
}

.gy-community-telegram::after {
    background: #229ed9;
}

.gy-community-telegram .gy-community-icon {
    background: linear-gradient(135deg, #37b8ed, #168ac4);
}

.gy-community-whatsapp::after {
    background: #25d366;
}

.gy-community-whatsapp .gy-community-icon {
    background: linear-gradient(135deg, #35dc73, #118c46);
}

.gy-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(18, 13, 5, .64);
}

.gy-modal-panel {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 2101;
    width: min(90%, 390px);
    transform: translate(-50%, -50%);
    border: 1px solid var(--gy-line);
    border-radius: 24px;
    background: var(--gy-surface-strong);
    padding: 20px;
    box-shadow: 0 24px 70px rgba(18, 13, 5, .28);
}

.gy-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, .88);
    border-top: 1px solid var(--gy-line);
    backdrop-filter: blur(18px);
}

.gy-bottom-nav-inner {
    display: grid;
    width: min(100%, 520px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 0 auto;
}

.gy-nav-item {
    display: flex;
    min-width: 0;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 18px;
    color: #7e725f;
    font-size: 11px;
    font-weight: 500;
}

.gy-nav-item svg {
    width: 22px;
    height: 22px;
}

.gy-nav-item.is-active {
    background: #171107;
    color: var(--gy-gold);
}

.gy-loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 3px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity .16s ease, transform .16s ease;
}

.gy-loader::before {
    content: "";
    display: block;
    width: 35%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ffd76a, #b98213);
    box-shadow: 0 0 18px rgba(217, 166, 37, .72);
    animation: gy-loader-slide 1s ease-in-out infinite;
}

.gy-loader.is-loading {
    opacity: 1;
    transform: translateY(0);
}

body.gy-user-body :where(a, button, input, select, textarea, label, [role="button"]),
body.gy-auth-body :where(a, button, input, select, textarea, label, [role="button"]) {
    -webkit-tap-highlight-color: transparent;
}

body.gy-user-body :where(a, button, input, select, textarea, [tabindex]):focus,
body.gy-auth-body :where(a, button, input, select, textarea, [tabindex]):focus {
    outline: none !important;
}

body.gy-user-body :where(a, button, input, select, textarea, [tabindex]):focus:not(:focus-visible),
body.gy-auth-body :where(a, button, input, select, textarea, [tabindex]):focus:not(:focus-visible) {
    box-shadow: none !important;
}

body.gy-user-body :where(a, button, input, select, textarea, [tabindex]):focus-visible,
body.gy-auth-body :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid rgba(217, 166, 37, .62) !important;
    outline-offset: 3px;
}

body.gy-user-body .iziToast-wrapper,
body.gy-auth-body .iziToast-wrapper {
    top: calc(env(safe-area-inset-top) + 12px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 14px !important;
    pointer-events: none;
}

body.gy-user-body .iziToast-capsule,
body.gy-auth-body .iziToast-capsule {
    pointer-events: none;
}

body.gy-user-body .iziToast.gy-toast,
body.gy-auth-body .iziToast.gy-toast {
    width: min(430px, calc(100vw - 28px)) !important;
    min-height: 0 !important;
    margin: 0 auto 10px !important;
    border: 1px solid rgba(217, 166, 37, .22) !important;
    border-radius: 18px !important;
    background: rgba(255, 253, 248, .96) !important;
    box-shadow: 0 18px 45px rgba(36, 25, 8, .18) !important;
    color: var(--gy-ink) !important;
    overflow: hidden !important;
    pointer-events: auto;
    backdrop-filter: blur(14px);
}

body.gy-user-body .iziToast.gy-toast::before,
body.gy-auth-body .iziToast.gy-toast::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gy-gold);
}

body.gy-user-body .iziToast.gy-toast::after,
body.gy-auth-body .iziToast.gy-toast::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--gy-gold);
    box-shadow: 0 0 0 5px rgba(217, 166, 37, .12);
    transform: translateY(-50%);
}

body.gy-user-body .iziToast.gy-toast-success::before,
body.gy-user-body .iziToast.gy-toast-success::after,
body.gy-auth-body .iziToast.gy-toast-success::before,
body.gy-auth-body .iziToast.gy-toast-success::after {
    background: #20a162;
}

body.gy-user-body .iziToast.gy-toast-error::before,
body.gy-user-body .iziToast.gy-toast-error::after,
body.gy-auth-body .iziToast.gy-toast-error::before,
body.gy-auth-body .iziToast.gy-toast-error::after {
    background: var(--gy-danger);
}

body.gy-user-body .iziToast.gy-toast-warning::before,
body.gy-user-body .iziToast.gy-toast-warning::after,
body.gy-auth-body .iziToast.gy-toast-warning::before,
body.gy-auth-body .iziToast.gy-toast-warning::after {
    background: #c98200;
}

body.gy-user-body .iziToast.gy-toast > .iziToast-body,
body.gy-auth-body .iziToast.gy-toast > .iziToast-body {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: center !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 15px 46px 15px 46px !important;
    text-align: left !important;
}

body.gy-user-body .iziToast.gy-toast .iziToast-texts,
body.gy-auth-body .iziToast.gy-toast .iziToast-texts {
    display: grid !important;
    gap: 3px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

body.gy-user-body .iziToast.gy-toast .iziToast-icon,
body.gy-auth-body .iziToast.gy-toast .iziToast-icon {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

body.gy-user-body .iziToast.gy-toast .iziToast-title,
body.gy-auth-body .iziToast.gy-toast .iziToast-title {
    display: block !important;
    float: none !important;
    margin: 0 0 3px !important;
    color: var(--gy-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

body.gy-user-body .iziToast.gy-toast .iziToast-message,
body.gy-auth-body .iziToast.gy-toast .iziToast-message {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    color: var(--gy-muted) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

body.gy-user-body .iziToast.gy-toast .iziToast-close,
body.gy-auth-body .iziToast.gy-toast .iziToast-close {
    top: 50% !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 999px !important;
    background-color: rgba(23, 17, 7, .06) !important;
    background-size: 9px !important;
    opacity: 1 !important;
    transform: translateY(-50%);
}

body.gy-user-body .iziToast.gy-toast .iziToast-progressbar,
body.gy-auth-body .iziToast.gy-toast .iziToast-progressbar {
    height: 3px !important;
    background: rgba(217, 166, 37, .12) !important;
}

body.gy-user-body .iziToast.gy-toast .iziToast-progressbar div,
body.gy-auth-body .iziToast.gy-toast .iziToast-progressbar div {
    height: 3px !important;
}

body.gy-user-body .gy-topbar,
body.gy-user-body .gy-page-header,
body.gy-user-body .gy-content > *,
body.gy-user-body .gy-page-content > *,
body.gy-auth-body .gy-auth-card {
    animation: gy-rise-in .52s cubic-bezier(.16, .84, .32, 1) both;
}

body.gy-user-body .gy-content > *:nth-child(2),
body.gy-user-body .gy-page-content > *:nth-child(2) {
    animation-delay: .04s;
}

body.gy-user-body .gy-content > *:nth-child(3),
body.gy-user-body .gy-page-content > *:nth-child(3) {
    animation-delay: .08s;
}

body.gy-user-body .gy-content > *:nth-child(4),
body.gy-user-body .gy-page-content > *:nth-child(4) {
    animation-delay: .12s;
}

body.gy-user-body .gy-content > *:nth-child(n+5),
body.gy-user-body .gy-page-content > *:nth-child(n+5) {
    animation-delay: .16s;
}

body.gy-user-body .gy-action,
body.gy-user-body .gy-menu-item,
body.gy-user-body .gy-list-item,
body.gy-user-body .gy-card,
body.gy-user-body .gy-form-card {
    animation: gy-soft-pop .48s cubic-bezier(.16, .84, .32, 1) both;
}

body.gy-user-body .gy-action:nth-child(2),
body.gy-user-body .gy-menu-item:nth-child(2),
body.gy-user-body .gy-list-item:nth-child(2) {
    animation-delay: .04s;
}

body.gy-user-body .gy-action:nth-child(3),
body.gy-user-body .gy-menu-item:nth-child(3),
body.gy-user-body .gy-list-item:nth-child(3) {
    animation-delay: .08s;
}

body.gy-user-body .gy-action:nth-child(4),
body.gy-user-body .gy-menu-item:nth-child(4),
body.gy-user-body .gy-list-item:nth-child(4) {
    animation-delay: .12s;
}

body.gy-user-body .gy-action:nth-child(n+5),
body.gy-user-body .gy-menu-item:nth-child(n+5),
body.gy-user-body .gy-list-item:nth-child(n+5) {
    animation-delay: .16s;
}

.gy-card-dark::before,
.gy-balance-card::before {
    animation: gy-pattern-drift 18s linear infinite;
}

.gy-balance-card::after {
    animation: gy-orbit-glow 8s ease-in-out infinite;
}

@keyframes gy-loader-slide {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(320%);
    }
}

@keyframes gy-rise-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gy-soft-pop {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(.985);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gy-pattern-drift {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 34px 34px, 22px 22px;
    }
}

@keyframes gy-orbit-glow {
    0%, 100% {
        opacity: .78;
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate3d(-8px, -5px, 0) scale(1.04);
    }
}

@media (min-width: 768px) {
    .gy-auth-card {
        padding: 32px 30px 28px;
    }

    .gy-shell {
        border-right: 1px solid var(--gy-line);
        border-left: 1px solid var(--gy-line);
        box-shadow: 0 0 50px rgba(78, 56, 18, .08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gy-loader::before {
        animation-duration: 2.2s;
    }

    body.gy-user-body .gy-topbar,
    body.gy-user-body .gy-page-header,
    body.gy-user-body .gy-content > *,
    body.gy-user-body .gy-page-content > *,
    body.gy-user-body .gy-action,
    body.gy-user-body .gy-menu-item,
    body.gy-user-body .gy-list-item,
    body.gy-user-body .gy-card,
    body.gy-user-body .gy-form-card,
    body.gy-auth-body .gy-auth-card,
    .gy-card-dark::before,
    .gy-balance-card::before,
    .gy-balance-card::after {
        animation: none !important;
    }
}
