/* =========================================================
   DRAGON STORE - VIU PREMIUM
   Dark Gold Theme
========================================================= */

:root {
    --bg: #11110f;
    --bg-soft: #181815;
    --card: #1d1d19;
    --card-soft: #22221d;

    --text: #f4f1e8;
    --muted: #aaa79d;
    --muted-dark: #77756d;

    --gold: #c9a96e;
    --gold-light: #dfc58f;
    --gold-dark: #a98950;

    --border: #302f29;
    --border-light: #3a3932;

    --danger: #e58c8c;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow:
        0 16px 45px rgba(0, 0, 0, .30);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(201, 169, 110, .06),
            transparent 35%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
}

body.viu-modal-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 24px;

    background: rgba(17, 17, 15, .86);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 0;
}

.brand-logo {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    object-fit: cover;

    border-radius: 12px;

    border: 1px solid var(--border-light);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .22);
}

.brand-name {
    color: var(--text);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.2;
}

.brand-subtitle {
    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.2;
}


/* NAV ACTIONS */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}


/* COIN */

.coin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 40px;

    padding: 0 13px;

    color: var(--text);
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 999px;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.coin-pill:hover {
    background: var(--card-soft);
    border-color: var(--gold-dark);

    transform: translateY(-1px);
}

.coin-pill:active {
    transform: translateY(0);
}

.icon {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.coin-icon {
    color: var(--gold);
}

.coin-pill #coinBalance {
    color: var(--text);

    font-size: 13px;
    font-weight: 700;
}

.coin-label {
    color: var(--muted);

    font-size: 12px;
}

.plus {
    color: var(--gold);

    font-size: 16px;
    font-weight: 600;

    line-height: 1;
}


/* BACK BUTTON */

.history-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 14px;

    color: var(--muted);

    background: transparent;

    border: 1px solid var(--border);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.history-nav-btn:hover {
    color: var(--text);

    background: var(--card);

    border-color: var(--border-light);
}


/* =========================================================
   MAIN
========================================================= */

.viu-container {
    width: min(100% - 32px, 1080px);

    margin: 0 auto;

    padding: 42px 0 70px;
}


/* =========================================================
   HERO
========================================================= */

.viu-hero {
    position: relative;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 22px;

    padding: 28px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(201, 169, 110, .09),
            rgba(29, 29, 25, .96) 45%
        );

    border: 1px solid var(--border);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow);
}

.viu-hero::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    top: -150px;
    right: -80px;

    border-radius: 50%;

    background:
        rgba(201, 169, 110, .10);

    filter: blur(4px);

    pointer-events: none;
}

.viu-hero::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    bottom: -110px;
    left: 35%;

    border-radius: 50%;

    background:
        rgba(201, 169, 110, .055);

    pointer-events: none;
}


/* HERO LOGO */

.viu-logo-wrap {
    position: relative;
    z-index: 1;

    width: 76px;
    height: 76px;

    padding: 4px;

    flex-shrink: 0;

    background: var(--bg);

    border: 1px solid var(--border-light);

    border-radius: 20px;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .28);
}

.viu-app-logo {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 16px;
}


/* HERO CONTENT */

.viu-hero-content {
    position: relative;
    z-index: 1;

    min-width: 0;
}

.viu-label {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .14em;
}

.viu-hero-content h1 {
    margin: 0;

    color: var(--text);

    font-size: clamp(27px, 4vw, 40px);

    line-height: 1.08;

    letter-spacing: -.025em;
}

.viu-hero-content p {
    max-width: 520px;

    margin: 10px 0 0;

    color: var(--muted);

    font-size: 14px;
}


/* HERO BALANCE */

.viu-hero-balance {
    position: relative;
    z-index: 1;

    min-width: 125px;

    padding: 14px 17px;

    text-align: right;

    background:
        rgba(17, 17, 15, .55);

    border: 1px solid var(--border);

    border-radius: 14px;
}

.viu-hero-balance span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 11px;
}

.viu-hero-balance strong {
    display: block;

    color: var(--gold-light);

    font-size: 21px;
    font-weight: 700;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.viu-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 17px;
}

.viu-section-label {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .14em;
}

.viu-section-heading h2 {
    margin: 0;

    color: var(--text);

    font-size: 22px;
    line-height: 1.2;
}

.viu-section-heading p {
    margin: 6px 0 0;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   PRODUCT SECTION
========================================================= */

.viu-product-section {
    margin-top: 48px;
}


/* PRODUCT CARD */

.viu-product-card {
    padding: 23px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .16);

    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.viu-product-card:hover {
    border-color: var(--border-light);

    box-shadow:
        0 16px 38px rgba(0, 0, 0, .22);
}


/* PRODUCT TOP */

.viu-product-top {
    display: flex;
    align-items: center;

    gap: 14px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.viu-product-icon {
    width: 55px;
    height: 55px;

    flex: 0 0 55px;

    padding: 3px;

    background: var(--bg);

    border: 1px solid var(--border-light);

    border-radius: 15px;

    overflow: hidden;
}

.viu-product-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 11px;
}

.viu-product-title {
    min-width: 0;
}

.viu-product-title h3 {
    margin: 0;

    color: var(--text);

    font-size: 17px;
}

.viu-product-title span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 12px;
}


/* PRODUCT INFO */

.viu-product-info {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1px;

    margin-top: 20px;

    overflow: hidden;

    background: var(--border);

    border: 1px solid var(--border);

    border-radius: 13px;
}

.viu-info-item {
    padding: 14px;

    background: var(--bg-soft);
}

.viu-info-item span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted-dark);

    font-size: 11px;
}

.viu-info-item strong {
    display: block;

    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}


/* BUY BUTTON */

.viu-buy-btn {
    width: 100%;

    min-height: 48px;

    margin-top: 20px;

    padding: 0 18px;

    color: #17150f;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    border-radius: 12px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        filter .2s ease,
        opacity .2s ease,
        box-shadow .2s ease;
}

.viu-buy-btn:hover:not(:disabled) {
    filter: brightness(1.05);

    transform: translateY(-1px);

    box-shadow:
        0 8px 24px rgba(201, 169, 110, .16);
}

.viu-buy-btn:active:not(:disabled) {
    transform: translateY(0);
}

.viu-buy-btn:disabled {
    color: var(--muted-dark);

    background: var(--bg-soft);

    border: 1px solid var(--border);

    cursor: not-allowed;

    opacity: .8;
}

.viu-product-note {
    margin: 12px 0 0;

    color: var(--muted-dark);

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   HISTORY SECTION
========================================================= */

.viu-history-section {
    margin-top: 52px;
}

.viu-history-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 30px;
    height: 30px;

    padding: 0 9px;

    color: var(--gold-light);

    background: rgba(201, 169, 110, .08);

    border: 1px solid rgba(201, 169, 110, .2);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
}


/* HISTORY GRID */

.viu-history {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* EMPTY */

.viu-empty-state {
    grid-column: 1 / -1;

    padding: 45px 24px;

    text-align: center;

    background: var(--card);

    border: 1px dashed var(--border-light);

    border-radius: var(--radius-lg);
}

.viu-empty-icon {
    width: 45px;
    height: 45px;

    margin: 0 auto 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gold);

    background: rgba(201, 169, 110, .08);

    border: 1px solid rgba(201, 169, 110, .2);

    border-radius: 14px;

    font-size: 16px;
    font-weight: 800;
}

.viu-empty-state h3 {
    margin: 0;

    color: var(--text);

    font-size: 15px;
}

.viu-empty-state p {
    max-width: 360px;

    margin: 7px auto 0;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   HISTORY CARD
========================================================= */

.viu-history-card {
    padding: 18px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        border-color .2s ease,
        transform .2s ease,
        background .2s ease;
}

.viu-history-card:hover {
    background: var(--card-soft);

    border-color: var(--border-light);

    transform: translateY(-2px);
}


/* HISTORY CARD HEADER */

.viu-history-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--border);
}

.viu-history-product {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;
}

.viu-history-product-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    padding: 2px;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: 11px;

    overflow: hidden;
}

.viu-history-product-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 8px;
}

.viu-history-product strong {
    display: block;

    color: var(--text);

    font-size: 13px;
}

.viu-history-product span {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;
}

.viu-history-price {
    flex-shrink: 0;

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 700;
}


/* HISTORY FIELDS */

.viu-history-fields {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 15px;
}

.viu-history-field {
    min-width: 0;

    padding: 11px;

    background: var(--bg-soft);

    border: 1px solid var(--border);

    border-radius: 10px;
}

.viu-history-field span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted-dark);

    font-size: 10px;
}

.viu-history-field strong {
    display: block;

    overflow: hidden;

    color: var(--text);

    font-size: 11px;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* HISTORY BUTTON */

.viu-history-view-btn {
    width: 100%;

    min-height: 42px;

    margin-top: 13px;

    padding: 0 14px;

    color: var(--gold-light);

    background: transparent;

    border: 1px solid var(--border-light);

    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.viu-history-view-btn:hover {
    color: var(--text);

    background: rgba(201, 169, 110, .08);

    border-color: var(--gold-dark);
}


/* =========================================================
   MODAL
========================================================= */

.viu-modal {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, .72);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .2s ease,
        visibility .2s ease;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.viu-modal.is-open {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* MODAL BOX */

.viu-modal-box {
    position: relative;

    width: min(100%, 450px);
    max-height: calc(100vh - 40px);

    overflow-y: auto;

    padding: 27px;

    background: var(--card);

    border: 1px solid var(--border-light);

    border-radius: var(--radius-lg);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .55);

    transform:
        translateY(12px)
        scale(.98);

    transition:
        transform .2s ease;
}

.viu-modal.is-open .viu-modal-box {
    transform:
        translateY(0)
        scale(1);
}


/* CLOSE */

.viu-modal-close {
    position: absolute;

    top: 13px;
    right: 13px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--muted);

    background: transparent;

    border: 1px solid transparent;

    border-radius: 9px;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.viu-modal-close:hover {
    color: var(--text);

    background: var(--bg-soft);

    border-color: var(--border);
}


/* MODAL ICON */

.viu-modal-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gold-light);

    background:
        rgba(201, 169, 110, .08);

    border: 1px solid rgba(201, 169, 110, .22);

    border-radius: 14px;

    font-size: 17px;
    font-weight: 800;
}

.viu-modal-box h3 {
    margin: 0;

    padding-right: 30px;

    color: var(--text);

    font-size: 19px;
}

.viu-modal-box > p {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   PURCHASE MODAL
========================================================= */

.viu-modal-summary {
    display: grid;

    gap: 1px;

    margin-top: 20px;

    overflow: hidden;

    background: var(--border);

    border: 1px solid var(--border);

    border-radius: 12px;
}

.viu-modal-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 12px 14px;

    background: var(--bg-soft);
}

.viu-modal-summary span {
    color: var(--muted);

    font-size: 11px;
}

.viu-modal-summary strong {
    color: var(--text);

    font-size: 12px;
    font-weight: 700;

    text-align: right;
}

.viu-modal-summary > div:last-child strong {
    color: var(--gold-light);
}


/* MODAL ACTIONS */

.viu-modal-actions {
    display: grid;

    grid-template-columns:
        1fr 1.35fr;

    gap: 9px;

    margin-top: 18px;
}

.viu-cancel-btn,
.viu-confirm-btn {
    min-height: 44px;

    padding: 0 14px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        opacity .2s ease;
}

.viu-cancel-btn {
    color: var(--muted);

    background: var(--bg-soft);

    border: 1px solid var(--border);
}

.viu-cancel-btn:hover {
    color: var(--text);

    border-color: var(--border-light);
}

.viu-confirm-btn {
    color: #17150f;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );
}

.viu-confirm-btn:hover:not(:disabled) {
    filter: brightness(1.05);
}

.viu-confirm-btn:disabled {
    cursor: not-allowed;

    opacity: .55;
}


/* =========================================================
   ACCOUNT MODAL
========================================================= */

.viu-account-modal-box {
    width: min(100%, 500px);
}

.viu-account-subtitle {
    margin-top: 7px !important;
}


/* CREDENTIAL LIST */

.viu-credential-list {
    display: grid;

    gap: 9px;

    margin-top: 20px;
}

.viu-credential-item {
    padding: 13px 14px;

    background: var(--bg-soft);

    border: 1px solid var(--border);

    border-radius: 11px;
}

.viu-credential-item > span {
    display: block;

    margin-bottom: 7px;

    color: var(--muted-dark);

    font-size: 10px;
    font-weight: 600;
}

.viu-credential-item > strong {
    display: block;

    color: var(--text);

    font-size: 12px;

    overflow-wrap: anywhere;
}


/* CREDENTIAL VALUE */

.viu-credential-value {
    display: flex;
    align-items: center;

    gap: 9px;

    min-width: 0;
}

.viu-credential-value > strong {
    min-width: 0;
    flex: 1;

    color: var(--text);

    font-size: 12px;

    overflow-wrap: anywhere;
}


/* PASSWORD */

.viu-password-hidden {
    letter-spacing: .16em;
}


/* PASSWORD ACTIONS */

.viu-password-actions {
    display: flex;
    align-items: center;

    gap: 6px;

    flex-shrink: 0;
}


/* COPY BUTTON */

.viu-copy-btn {
    min-height: 30px;

    padding: 0 9px;

    color: var(--gold-light);

    background: transparent;

    border: 1px solid var(--border-light);

    border-radius: 7px;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.viu-copy-btn:hover {
    color: var(--text);

    background: rgba(201, 169, 110, .08);

    border-color: var(--gold-dark);
}


/* =========================================================
   TOAST
========================================================= */

.viu-toast {
    position: fixed;

    left: 50%;
    bottom: 24px;

    z-index: 2000;

    width: max-content;
    max-width: calc(100% - 32px);

    padding: 11px 15px;

    color: var(--text);

    background:
        rgba(29, 29, 25, .96);

    border: 1px solid var(--border-light);

    border-radius: 10px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .35);

    font-size: 12px;
    font-weight: 600;

    text-align: center;

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, 12px);

    pointer-events: none;

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

.viu-toast.show {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 760px) {

    .navbar {
        padding: 12px 15px;
    }

    .brand-subtitle {
        display: none;
    }

    .brand-logo {
        width: 39px;
        height: 39px;

        flex-basis: 39px;
    }

    .nav-actions {
        gap: 6px;
    }

    .coin-pill {
        min-height: 38px;

        padding: 0 10px;

        gap: 5px;
    }

    .coin-label {
        display: none;
    }

    .history-nav-btn {
        min-height: 38px;

        padding: 0 11px;

        font-size: 11px;
    }

    .viu-container {
        width: min(100% - 24px, 1080px);

        padding-top: 25px;
        padding-bottom: 50px;
    }

    .viu-hero {
        grid-template-columns: auto minmax(0, 1fr);

        gap: 15px;

        padding: 20px;
    }

    .viu-hero-balance {
        grid-column: 1 / -1;

        min-width: 0;

        text-align: left;
    }

    .viu-hero-content h1 {
        font-size: 27px;
    }

    .viu-hero-content p {
        font-size: 12px;
    }

    .viu-product-section,
    .viu-history-section {
        margin-top: 38px;
    }

    .viu-history {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 520px) {

    .brand-name {
        font-size: 13px;
    }

    .navbar {
        gap: 10px;
    }

    .viu-hero {
        padding: 17px;

        border-radius: 18px;
    }

    .viu-logo-wrap {
        width: 62px;
        height: 62px;

        border-radius: 16px;
    }

    .viu-app-logo {
        border-radius: 12px;
    }

    .viu-label {
        font-size: 9px;
    }

    .viu-hero-content h1 {
        font-size: 23px;
    }

    .viu-hero-content p {
        margin-top: 7px;

        font-size: 11px;
    }

    .viu-hero-balance {
        padding: 12px 14px;
    }

    .viu-product-card {
        padding: 17px;
    }

    .viu-product-info {
        grid-template-columns: 1fr;
    }

    .viu-info-item {
        padding: 11px 13px;
    }

    .viu-section-heading h2 {
        font-size: 20px;
    }

    .viu-history-fields {
        grid-template-columns: 1fr;
    }


    /* =====================================================
       MODAL MOBILE
       TETAP DI TENGAH LAYAR
    ===================================================== */

    .viu-modal {
        align-items: center;
        justify-content: center;

        padding: 16px;
    }

    .viu-modal-box {
        width: 100%;
        max-width: 450px;

        max-height: 82vh;

        padding: 22px 17px;

        border-radius: 18px;

        overflow-y: auto;

        -webkit-overflow-scrolling: touch;
    }

    .viu-modal-actions {
        grid-template-columns: 1fr 1.35fr;
    }


    /* ACCOUNT MODAL */

    .viu-credential-value {
        align-items: flex-start;

        flex-direction: column;
    }

    .viu-password-actions {
        width: 100%;
    }

    .viu-password-actions .viu-copy-btn {
        flex: 1;
    }

    .viu-copy-btn {
        min-height: 34px;
    }

    .viu-toast {
        bottom: 15px;
    }
}


@media (max-width: 380px) {

    .brand-name {
        font-size: 12px;
    }

    .brand-logo {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .history-nav-btn {
        padding: 0 9px;

        font-size: 10px;
    }

    .coin-pill {
        padding: 0 8px;
    }

    .viu-container {
        width: min(100% - 18px, 1080px);
    }

    .viu-hero {
        gap: 11px;
    }

    .viu-logo-wrap {
        width: 55px;
        height: 55px;
    }

    .viu-hero-content h1 {
        font-size: 21px;
    }
}