/* User-panel skin aligned with provided green-gold mobile reference. */
.pnl-reference,
.pnl-reference *,
.pnl-reference *::before,
.pnl-reference *::after {
    box-sizing: border-box;
}

body.pnl-reference {
    --pnl-bg: #f6f8f8;
    --pnl-surface: #ffffff;
    --pnl-surface-2: #eef3f3;
    --pnl-ink: #0f2037;
    --pnl-muted: #7c8ea6;
    --pnl-border: #e6ecef;
    --pnl-primary: #016a67;
    --pnl-primary-2: #00504e;
    --pnl-grad: linear-gradient(120deg, #c4a44b 0%, #6e7c3f 32%, #00514d 100%);
    --pnl-font: "Poppins", "Montserrat", sans-serif;
    --pnl-font-display: "Baloo 2", "Poppins", sans-serif;
    --pnl-shadow: 0 10px 22px rgb(10 34 56 / 8%);
    --pnl-appbar-h: 72px;
    --ux-teal: #006964;
    --ux-teal-dark: #004f4b;
    --ux-yellow: #f4bc15;
    --ux-danger: #ea2f34;
    --ux-soft: #eaf6f5;
    background: #f6f8f8;
    color: #0f2037;
    font-family: var(--pnl-font);
    letter-spacing: 0;
}

/* ---------- App bar ---------- */
.pnl-reference .pnl-appbar {
    left: 0;
    right: 0;
    transform: none;
    max-width: none;
    height: var(--pnl-appbar-h);
    padding: 0 10px;
    gap: 7px;
    background: var(--pnl-grad);
    color: #fff;
    border: 0;
    box-shadow: none;
}

.pnl-reference .pnl-appbar::after {
    display: none;
}

.pnl-reference .pnl-appbar-sub {
    border-radius: 0 0 20px 20px;
}

.pnl-reference .pnl-appbar-home {
    border-radius: 0;
    background: linear-gradient(120deg, #b89d4a 0%, #6d793e 30%, #00524d 100%);
}

.pnl-reference .pnl-iconbtn {
    border: 0;
    color: #fff;
    background: transparent;
}

.pnl-reference .pnl-menu-btn,
.pnl-reference .pnl-back-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    box-shadow: none;
}

.pnl-reference .pnl-menu-btn {
    background: #113746;
    border: 1px solid rgb(255 255 255 / 8%);
    margin-right: 0;
}

.pnl-reference .pnl-back-btn {
    background: #fff;
    color: #0f2037;
    box-shadow: 0 4px 12px rgb(14 28 46 / 14%);
}

.pnl-reference .pnl-menu-btn .pnl-i,
.pnl-reference .pnl-back-btn .pnl-i {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.pnl-reference .pnl-brand.pnl-brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #113746;
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

.pnl-reference .pnl-brand-app {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 13px;
    font-family: var(--pnl-font-display);
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1;
}

.pnl-reference .pnl-brand-main {
    color: #fff;
}

.pnl-reference .pnl-brand-tail {
    color: #e7b33b;
}

.pnl-reference .pnl-appbar-title-wrap {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.pnl-reference .pnl-appbar-title {
    display: block;
    color: #0e2238;
    font-family: var(--pnl-font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pnl-reference .pnl-appbar-title-wrap + .pnl-spacer {
    display: none;
}

.pnl-reference .pnl-chip.pnl-balance-chip {
    height: 36px;
    padding: 0 10px;
    flex-shrink: 0;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: 0;
    border-radius: 10px;
    background: #113746;
    box-shadow: none;
}

.pnl-reference .pnl-balance-chip .pnl-i {
    width: 16px;
    height: 16px;
    stroke-width: 2.15;
}

.pnl-reference .pnl-notification-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: #fff;
    border: 0;
}

.pnl-reference .pnl-notification-btn .pnl-i {
    width: 18px;
    height: 18px;
}

.pnl-reference .pnl-iconbtn .pnl-dot {
    box-shadow: none;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    background: #eb2f34;
    color: #fff;
    font-size: 10px;
}

/* ---------- Shell ---------- */
.pnl-reference .pnl-main {
    max-width: none;
    padding: calc(var(--pnl-appbar-h) + 8px) 10px calc(108px + env(safe-area-inset-bottom));
}

.pnl-reference .pnl-main-inner {
    max-width: 1080px;
}

.pnl-reference .pnl-page-head {
    margin-bottom: 12px;
}

.pnl-reference .pnl-page-head h1 {
    margin: 0;
    font-family: var(--pnl-font-display);
    font-size: 30px;
    font-weight: 700;
    color: #0f2037;
}

.pnl-reference .pnl-page-head .pnl-sub {
    color: #7990a9;
    font-size: 14px;
}

.pnl-reference .btn-pnl,
.pnl-reference .btn-pnl:hover {
    border: 0;
    color: #fff;
    background: var(--ux-teal);
    border-radius: 14px;
    box-shadow: none;
}

.pnl-reference .btn-pnl-soft,
.pnl-reference .btn-pnl-soft:hover {
    border: 1px solid #d6e5e6;
    color: #0f2037;
    background: #fff;
    border-radius: 14px;
}

.pnl-reference .form-control,
.pnl-reference .form-select {
    min-height: 50px;
    border: 1px solid #e3ebee;
    border-radius: 14px;
    box-shadow: none;
}

.pnl-reference .form-control:focus,
.pnl-reference .form-select:focus {
    border-color: #0e7e79;
    box-shadow: 0 0 0 3px rgb(1 106 103 / 12%);
}

/* ---------- Bottom nav ---------- */
.pnl-reference .pnl-bottomnav {
    left: 0;
    right: 0;
    transform: none;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(82px + env(safe-area-inset-bottom));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e7edf0;
    box-shadow: 0 -6px 20px rgb(9 30 50 / 8%);
    overflow: visible;
}

.pnl-reference .pnl-bottomnav a {
    min-width: 0;
    gap: 3px;
    padding: 6px 0 0;
    color: #798aa0;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0;
    background: transparent;
}

.pnl-reference .pnl-bottomnav a .pnl-i {
    width: 23px;
    height: 23px;
}

.pnl-reference .pnl-bottomnav a.active {
    color: #005d59;
}

.pnl-reference .pnl-bottomnav .pnl-home-tab {
    position: relative;
    top: -20px;
    justify-self: center;
    width: 62px;
    height: 62px;
    min-height: 62px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: #f2b807;
    padding: 0;
    display: grid;
    place-items: center;
    transform: none;
    box-shadow: 0 8px 20px rgb(25 41 62 / 18%);
}

.pnl-reference .pnl-bottomnav .pnl-home-tab .pnl-i,
.pnl-reference .pnl-bottomnav .pnl-home-tab.active .pnl-i {
    width: 25px;
    height: 25px;
    color: #fff;
}

.pnl-reference .pnl-home-tab span {
    display: none;
}

/* ---------- Home ---------- */
.pnl-reference .ux-home-page {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pnl-reference .ux-home-sticky-top {
    position: sticky;
    top: var(--pnl-appbar-h);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 3px 10px 12px;
    margin: -8px -10px 8px;
    background: linear-gradient(120deg, #b89d4a 0%, #6d793e 30%, #00524d 100%);
    box-shadow: 0 10px 20px rgb(5 45 57 / 20%);
}

.pnl-reference .ux-home-notice-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.pnl-reference .ux-notice-wrap {
    min-width: 0;
    height: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.pnl-reference .ux-notice-pill {
    display: none;
}

.pnl-reference .ux-notice-pill-ic {
    width: auto;
    height: auto;
    background: transparent;
    font-size: 14px;
}

.pnl-reference .ux-notice-track {
    min-height: 0;
    border: 0;
    padding: 0;
    background: transparent;
}

.pnl-reference .ux-notice-marquee {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}

.pnl-reference .ux-home-pill-board {
    padding: 0;
}

.pnl-reference .ux-home-pill-row {
    gap: 8px;
}

.pnl-reference .ux-home-pill-row.bottom {
    margin-top: 8px;
}

.pnl-reference .ux-home-pill {
    justify-content: center;
    min-height: 50px;
    padding: 8px 8px;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 5px 12px rgb(8 35 57 / 12%);
    color: #fff;
    background: #006a66;
}

.pnl-reference .ux-home-pill::after {
    display: none;
}

.pnl-reference .ux-home-pill.top-link {
    background: #fff;
    color: #03324f;
    border: 0;
    box-shadow: 0 4px 10px rgb(12 44 66 / 8%);
}

.pnl-reference .ux-home-pill.top-link .pnl-i {
    width: 18px;
    height: 18px;
    color: #fff;
}

.pnl-reference .ux-home-pill.top-link .ux-home-pill-play {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #005f5b;
}

.pnl-reference .ux-home-pill-ic {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgb(8 32 50 / 22%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.pnl-reference .ux-home-pill-ic .pnl-i {
    width: 14px;
    height: 14px;
}

.pnl-reference .ux-home-pill.ux-add {
    background: #0ab834;
}

.pnl-reference .ux-home-pill.ux-withdraw {
    background: #ef2335;
}

.pnl-reference .ux-home-pill.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pnl-reference .ux-market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.pnl-reference .ux-market-panel {
    border: 1px solid #e8eff2;
    border-radius: 6px;
    background: #fff;
    padding: 0;
    box-shadow: 0 3px 8px rgb(9 36 58 / 7%);
    overflow: hidden;
    min-width: 0;
}

.pnl-reference .ux-market-panel-head {
    display: block;
    border-bottom: 1px solid #edf2f3;
    padding: 10px 9px 7px;
}

.pnl-reference .ux-market-time-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    color: #8899ae;
    font-size: 10px;
    font-weight: 700;
}

.pnl-reference .ux-market-panel-stat {
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 50%;
    background: #ffab0d;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.pnl-reference button.ux-market-panel-stat {
    padding: 0;
    line-height: 1;
}

.pnl-reference .ux-market-panel-head h3 {
    margin: 0;
    color: #0f2037;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.pnl-reference .ux-market-panel-face {
    margin-top: 6px;
    color: #00a543;
    text-align: left;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.pnl-reference .ux-market-panel-foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 10px 10px;
}

.pnl-reference .ux-market-times {
    display: none;
}

.pnl-reference .ux-market-panel-state {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}

.pnl-reference .ux-market-panel-state.closed {
    color: #ec2f33;
}

.pnl-reference .ux-market-panel-state.open {
    color: #009e3f;
}

.pnl-reference .ux-market-place,
.pnl-reference .ux-market-place.disabled {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    border: 0;
    border-radius: 7px;
    background: #5a616b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.pnl-reference .ux-market-place:not(.disabled) {
    background: #006a66;
}

.pnl-reference .ux-market-place .pnl-i {
    width: 15px;
    height: 15px;
}

.pnl-reference .ux-market-empty {
    grid-column: 1 / -1;
    padding: 28px 20px;
    text-align: center;
    color: #63758f;
}

/* ---------- Timing dialog ---------- */
.pnl-reference .ux-timing-dialog {
    width: min(330px, calc(100vw - 28px));
    max-height: calc(100dvh - 56px);
    overflow: auto;
    padding: 22px 16px 14px;
    margin: auto;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: #1f2f45;
    text-align: center;
    box-shadow: 0 14px 42px rgb(0 0 0 / 30%);
}

.pnl-reference .ux-timing-dialog::backdrop {
    background: rgb(0 0 0 / 58%);
}

.pnl-reference .ux-timing-close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #ecf4f5;
    color: #0e5d59;
    display: grid;
    place-items: center;
}

.pnl-reference .ux-timing-status {
    display: inline-block;
    border-radius: 999px;
    background: #eaf6f5;
    color: #0b706b;
    padding: 5px 11px;
    margin-bottom: 16px;
    font-size: 11px;
}

.pnl-reference .ux-timing-ok {
    width: 100%;
    min-height: 42px;
    margin-top: 16px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--ux-teal);
}

/* ---------- History / Funds list screens ---------- */
.pnl-reference .ux-history-hub-grid,
.pnl-reference .ux-funds-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.pnl-reference .ux-history-tile,
.pnl-reference .ux-funds-link,
.pnl-reference .ux-contact-row,
.pnl-reference .pnl-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e9eff2;
    box-shadow: 0 4px 10px rgb(10 34 56 / 7%);
    text-decoration: none;
    color: #0f2037;
}

.pnl-reference .pnl-row-btn {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.pnl-reference .ux-history-tile-icon,
.pnl-reference .ux-funds-icon,
.pnl-reference .ux-contact-row-ic,
.pnl-reference .pnl-row-ic {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eaf6f5;
    color: #005e5a;
}

.pnl-reference .ux-history-tile-icon .pnl-i,
.pnl-reference .ux-funds-icon .pnl-i,
.pnl-reference .ux-contact-row-ic .pnl-i,
.pnl-reference .pnl-row-ic .pnl-i {
    width: 22px;
    height: 22px;
}

.pnl-reference .ux-history-tile-title,
.pnl-reference .ux-funds-link > span:not(.ux-funds-icon),
.pnl-reference .pnl-row-title {
    font-size: 18px;
    font-weight: 700;
}

.pnl-reference .ux-funds-chevron,
.pnl-reference .pnl-row-end .pnl-i {
    margin-left: auto;
    color: #8ba0b5;
    width: 16px;
    height: 16px;
}

.pnl-reference .ux-history-more,
.pnl-reference .ux-wallet-details {
    display: none;
}

.pnl-reference .ux-funds-link.disabled {
    opacity: 0.55;
    pointer-events: none;
}

/* ---------- Play game type grid ---------- */
.pnl-reference .ux-play-screen-head,
.pnl-reference .ux-bid-form-head {
    display: none;
}

.pnl-reference .ux-game-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.pnl-reference .ux-game-tile {
    min-height: 148px;
    padding: 18px 12px;
    border: 1px solid #e8eef0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 12px rgb(8 35 57 / 8%);
    gap: 12px;
    color: #0f2037;
    text-decoration: none;
}

.pnl-reference .ux-game-tile-ic {
    width: 66px;
    height: 66px;
    background: #006e6a;
    color: #fff;
    box-shadow: none;
}

.pnl-reference .ux-game-tile-ic .pnl-i {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.pnl-reference .ux-game-tile-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.pnl-reference .ux-game-tile-bar {
    display: none;
}

/* ---------- Bid form ---------- */
.pnl-reference .ux-bid-mode-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.pnl-reference .ux-bid-mode {
    min-height: 50px;
    border-radius: 12px;
    border: 2px solid #0a807a;
    background: #fff;
    color: #0f2037;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.pnl-reference .ux-bid-mode.active {
    color: #fff;
    background: #007b75;
    border-color: #007b75;
}

.pnl-reference .ux-bid-form-card {
    margin-top: 0;
    padding: 16px 0 calc(126px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.pnl-reference .ux-bid-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    margin-bottom: 12px;
}

.pnl-reference .ux-bid-form-grid .ux-bid-col-label {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #122b42;
}

.pnl-reference .ux-bid-label {
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #253f56;
}

.pnl-reference .ux-bid-input {
    min-height: 52px;
    border: 1px solid #e3ebee;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 10px 14px;
    font-size: 16px;
    color: #23374d;
    background: #fff;
}

.pnl-reference .ux-bid-points-ic {
    display: none;
}

.pnl-reference .ux-bid-points-wrap .ux-bid-input {
    padding-left: 14px;
}

.pnl-reference .ux-bid-add {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: #004b47;
    font-size: 18px;
    font-weight: 700;
}

.pnl-reference .ux-bid-table-head {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid #0b8079;
    color: #00716b;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.pnl-reference .ux-bid-limit-note {
    margin-top: -6px;
    font-size: 12px;
    color: #7a8ea2;
}

.pnl-reference .ux-bid-submitbar {
    position: fixed;
    z-index: 1060;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 90px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e8edf0;
    box-shadow: 0 -8px 20px rgb(9 32 53 / 9%);
}

.pnl-reference .ux-bid-submitbar > div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.pnl-reference .ux-bid-submitbar span {
    color: #7e91a6;
    font-size: 14px;
    font-weight: 600;
}

.pnl-reference .ux-bid-submitbar strong {
    color: #0f2037;
    font-size: 30px;
    font-weight: 800;
}

.pnl-reference .ux-bid-submitbar .ux-bid-submit {
    min-width: 166px;
    min-height: 58px;
    margin-left: auto;
    border: 0;
    border-radius: 16px;
    background: #004e4a;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.pnl-reference:has(.ux-bid-submitbar) .pnl-bottomnav,
.pnl-reference:has(.ux-play-screen) .pnl-bottomnav {
    display: none;
}

/* ---------- Support ---------- */
.pnl-reference .ux-contact-screen {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pnl-reference .ux-contact-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0 2px;
}

.pnl-reference .ux-contact-hero h2 {
    margin: 0;
    color: #0f2037;
    font-size: 30px;
    font-family: var(--pnl-font-display);
    font-weight: 700;
}

.pnl-reference .ux-contact-hero p {
    margin: 6px 0 0;
    color: #677f98;
    font-size: 14px;
    font-weight: 500;
}

.pnl-reference .ux-contact-hero-art {
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #eaf6f5;
    color: #006965;
}

.pnl-reference .ux-contact-hero-art .pnl-i {
    width: 46px;
    height: 46px;
}

.pnl-reference .ux-contact-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pnl-reference .ux-contact-action {
    border: 1px solid #e7eef1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 12px rgb(10 34 56 / 8%);
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 238px;
}

.pnl-reference .ux-contact-action-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #005f5b;
    background: #eaf6f5;
}

.pnl-reference .ux-contact-action-icon .pnl-i {
    width: 28px;
    height: 28px;
}

.pnl-reference .ux-contact-action h3 {
    margin: 0;
    color: #0f2037;
    font-size: 18px;
    font-weight: 700;
}

.pnl-reference .ux-contact-action p {
    margin: 0;
    color: #758aa0;
    font-size: 14px;
    line-height: 1.35;
}

.pnl-reference .ux-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 10px;
    background: #edf4f6;
    color: #617991;
    font-size: 12px;
    font-weight: 700;
}

.pnl-reference .ux-contact-chip .pnl-i {
    width: 14px;
    height: 14px;
}

.pnl-reference .ux-contact-btn {
    margin-top: auto;
    min-height: 48px;
    border-radius: 12px;
    border: 0;
    background: #005c58;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.pnl-reference .ux-contact-trust {
    margin-top: 6px;
    border-radius: 14px;
    background: #ecf7f6;
    border: 1px solid #deefef;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pnl-reference .ux-contact-trust-ic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #006e69;
}

.pnl-reference .ux-contact-trust-ic .pnl-i {
    width: 26px;
    height: 26px;
}

.pnl-reference .ux-contact-trust h4 {
    margin: 0;
    color: #1a3753;
    font-size: 18px;
    font-weight: 700;
}

.pnl-reference .ux-contact-trust p {
    margin: 2px 0 0;
    color: #4f6982;
    font-size: 14px;
}

/* ---------- Passbook ---------- */
.pnl-reference .ux-passbook-wrap {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    min-height: calc(100vh - 248px);
}

.pnl-reference .ux-passbook-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 300px);
    padding: 20px;
}

.pnl-reference .ux-passbook-empty-art {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf6f5;
    color: #005f5b;
    margin-bottom: 12px;
}

.pnl-reference .ux-passbook-empty-title {
    color: #0f2037;
    font-size: 20px;
    font-weight: 700;
}

.pnl-reference .ux-passbook-empty-sub {
    margin-top: 8px;
    color: #748ca5;
    font-size: 14px;
    max-width: 360px;
}

.pnl-reference .ux-passbook-empty-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(16px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: #7a8ea4;
}

.pnl-reference .ux-passbook-empty-nav strong {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #2f3d4d;
    color: #fff;
    display: grid;
    place-items: center;
}

.pnl-reference:has(.ux-passbook-empty-nav) .pnl-bottomnav {
    display: none;
}

.pnl-reference .ux-passbook-table-scroll {
    overflow-x: auto;
}

.pnl-reference .ux-passbook-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e7edf0;
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
}

.pnl-reference .ux-passbook-table th {
    background: #0a7973;
    color: #fff;
    font-weight: 700;
}

.pnl-reference .ux-passbook-table th,
.pnl-reference .ux-passbook-table td {
    padding: 12px 10px;
    border: 1px solid #edf1f4;
    vertical-align: top;
}

.pnl-reference .ux-passbook-table .pos {
    color: #0e9f49;
}

.pnl-reference .ux-passbook-table .neg {
    color: #ef2e34;
}

/* ---------- Result history ---------- */
.pnl-reference .ux-result-history-screen {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnl-reference .ux-result-filter-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}

.pnl-reference .ux-result-filter-row label {
    color: #7d90a6;
    font-size: 14px;
    font-weight: 700;
}

.pnl-reference .ux-result-filter-row input {
    width: 170px;
    height: 52px;
    border: 1px solid #e6edf0;
    border-radius: 16px;
    padding: 8px 12px;
    color: #10243b;
    font-size: 16px;
    font-weight: 700;
    background: #fff;
}

.pnl-reference .ux-result-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnl-reference .ux-result-history-row {
    min-height: 74px;
    border-radius: 14px;
    border: 1px solid #e8edf0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
}

.pnl-reference .ux-result-history-name {
    color: #005c58;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.pnl-reference .ux-result-history-face {
    color: #0f2037;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ---------- Deposit / withdraw and generic cards ---------- */
.pnl-reference .pnl-card {
    border: 1px solid #e7edf0;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgb(10 34 56 / 7%);
    background: #fff;
}

.pnl-reference .dep-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.pnl-reference .dep-balance-card {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(120deg, #0b5b59 0%, #006763 100%);
    box-shadow: 0 10px 20px rgb(5 74 70 / 20%);
    margin-bottom: 18px;
}

.pnl-reference .dep-balance-brand {
    padding: 16px;
    color: #f0ca63;
    font-size: 20px;
    font-family: var(--pnl-font-display);
    font-weight: 700;
}

.pnl-reference .dep-balance-body {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 0 14px;
    padding: 0 16px 16px;
    color: #fff;
}

.pnl-reference .dep-balance-body > .pnl-i {
    width: 34px;
    height: 34px;
    color: #f0ca63;
}

.pnl-reference .dep-balance-label {
    color: rgb(255 255 255 / 80%);
    font-size: 13px;
}

.pnl-reference .dep-balance-value {
    font-size: 28px;
    font-weight: 700;
}

.pnl-reference .dep-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.pnl-reference .dep-tab {
    flex: 1;
    border: 2px solid #0b817b;
    border-radius: 12px;
    min-height: 50px;
    background: #fff;
    color: #0f2037;
    font-weight: 700;
}

.pnl-reference .dep-tab.active {
    background: #007874;
    color: #fff;
}

.pnl-reference .dep-pane {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.pnl-reference .dep-amt-wrap {
    position: relative;
}

.pnl-reference .dep-amt-cur {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #7890a6;
}

.pnl-reference .dep-amt-input {
    height: 56px;
    border-radius: 999px;
    padding: 12px 46px 12px 16px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: none;
}

.pnl-reference .dep-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.pnl-reference .dep-chip {
    min-height: 46px;
    border: 2px solid #cfa850;
    border-radius: 12px;
    background: #fff;
    color: #0f2037;
    font-size: 16px;
    font-weight: 700;
}

.pnl-reference .dep-chip.active,
.pnl-reference .dep-chip:hover {
    background: #f5ecd3;
}

.pnl-reference .dep-note {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: #f9f4e6;
    color: #7b6540;
    font-size: 13px;
}

.pnl-reference .dep-secure {
    margin-top: 12px;
    text-align: center;
    color: #4f6982;
    font-size: 13px;
}

.pnl-reference .dep-secure .pnl-i {
    width: 14px;
    height: 14px;
}

.pnl-reference .dep-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
}

.pnl-reference .dep-notice-ic {
    flex: 0 0 30px;
    color: #0e766f;
}

.pnl-reference .dep-qr-frame {
    width: 260px;
    max-width: 92%;
    margin: 16px auto;
    padding: 10px;
    border: 1px solid #e3ebee;
    background: #fff;
    border-radius: 14px;
}

.pnl-reference .dep-qr-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.pnl-reference .ux-fund-input {
    min-height: 50px;
    border-radius: 14px;
    box-shadow: none;
    padding: 11px 14px;
}

.pnl-reference .ux-payout-fields {
    border: 0;
    background: transparent;
    padding: 0 !important;
}

.pnl-reference .ux-ifsc-input {
    text-transform: uppercase;
}

.pnl-reference .ux-fund-submit {
    min-height: 52px;
}

/* ---------- Drawer ---------- */
.pnl-reference .pnl-drawer {
    width: 78%;
    max-width: 390px;
    margin: 0;
    left: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 6px 0 20px rgb(0 0 0 / 22%);
}

.pnl-reference .pnl-drawer-overlay {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    transform: none;
    margin: 0;
    background: rgb(0 0 0 / 34%);
}

.pnl-reference .pnl-drawer-profile-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 98px;
    padding: 16px;
    margin: 0;
    border-radius: 0;
    background: #fff;
    color: #0f2037;
    border-bottom: 1px solid #e8edf0;
    box-shadow: none;
}

.pnl-reference .pnl-drawer-profile-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #005f5b;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.pnl-reference .pnl-drawer-profile-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.pnl-reference .pnl-drawer-profile-phone {
    font-size: 15px;
    font-weight: 500;
    color: #7b8fa5;
    line-height: 1.25;
}

.pnl-reference .pnl-drawer-profile-meta {
    padding-right: 10px;
    overflow-wrap: anywhere;
}

.pnl-reference .pnl-drawer-x {
    position: absolute;
    top: 14px;
    right: 12px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0f2037;
    box-shadow: none;
}

.pnl-reference .pnl-drawer-nav {
    padding: 0;
    gap: 0;
}

.pnl-reference .pnl-drawer-link,
.pnl-reference .pnl-drawer-link-logout {
    min-height: 60px;
    padding: 9px 16px;
    gap: 12px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #eef2f4;
    border-radius: 0;
    background: #fff;
    color: #0f2037;
    font-family: var(--pnl-font);
    font-size: 18px;
    font-weight: 600;
    box-shadow: none;
}

.pnl-reference .pnl-drawer-link:hover {
    background: #f5f8f9;
}

.pnl-reference .pnl-drawer-link-ic {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: #eaf6f5;
    color: #005f5b;
}

.pnl-reference .pnl-drawer-link-ic .pnl-i {
    width: 21px;
    height: 21px;
}

.pnl-reference .pnl-drawer-link::after,
.pnl-reference .pnl-drawer-link-logout::after {
    content: "";
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #8ea2b7;
    border-bottom: 2px solid #8ea2b7;
    transform: rotate(-45deg);
}

.pnl-reference .pnl-drawer-toggle::after {
    display: none;
}

.pnl-reference .pnl-switch {
    margin-left: auto;
    width: 38px;
    height: 20px;
    border-radius: 999px;
    background: #e8edf0;
    position: relative;
}

.pnl-reference .pnl-switch-dot {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
}

.pnl-reference .pnl-drawer-version {
    padding: 14px 16px;
    color: #7790a8;
    font-size: 13px;
    font-weight: 600;
}

/* ---------- Profile screen ---------- */
.pnl-reference .ux-profile-hero {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(125deg, #053f41 0%, #005f5b 54%, #2a8f89 100%);
    box-shadow: 0 10px 20px rgb(4 90 86 / 20%);
}

.pnl-reference .ux-profile-hero-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pnl-reference .ux-profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgb(244 190 46 / 92%);
    color: #073b3f;
    font-weight: 800;
    font-size: 28px;
    display: grid;
    place-items: center;
}

.pnl-reference .ux-profile-name {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.pnl-reference .ux-profile-phone {
    margin-top: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: rgb(255 255 255 / 18%);
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 600;
}

.pnl-reference .ux-profile-membership {
    margin-left: auto;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: #f2d27b;
}

/* ---------- Starline main ---------- */
.pnl-reference .ux-sl-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pnl-reference .ux-sl-history-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pnl-reference .ux-sl-history-card {
    min-height: 68px;
    border-radius: 14px;
    border: 1px solid #e8edf0;
    background: #fff;
    box-shadow: 0 4px 10px rgb(8 31 52 / 8%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.pnl-reference .ux-sl-history-card.result {
    color: #007972;
}

.pnl-reference .ux-sl-history-card.bid {
    color: #f2a600;
}

.pnl-reference .ux-sl-history-ic {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
}

.pnl-reference .ux-sl-history-ic .pnl-i {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.pnl-reference .ux-sl-rates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pnl-reference .ux-sl-rate-tile {
    min-height: 66px;
    border-radius: 14px;
    border: 1px solid #e8edf0;
    border-left: 4px solid #006a66;
    background: #fff;
    box-shadow: 0 4px 10px rgb(8 31 52 / 8%);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pnl-reference .ux-sl-rate-name {
    color: #6f8198;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.pnl-reference .ux-sl-rate-value {
    color: #006f6a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.pnl-reference .ux-sl-session-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pnl-reference .ux-sl-session-row {
    min-height: 78px;
    border-radius: 14px;
    border: 1px solid #e8edf0;
    border-left: 4px solid #006a66;
    background: #fff;
    box-shadow: 0 4px 10px rgb(8 31 52 / 8%);
    padding: 8px 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px 138px;
    align-items: center;
    gap: 10px;
}

.pnl-reference .ux-sl-session-time {
    color: #00847e;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pnl-reference .ux-sl-session-info {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffb41b;
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    font-family: "Poppins", sans-serif;
    line-height: 1;
}

.pnl-reference .ux-sl-session-status {
    margin-top: 6px;
    color: #ef2e35;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
}

.pnl-reference .ux-sl-session-status.open {
    color: #12a547;
}

.pnl-reference .ux-sl-session-face {
    height: 50px;
    border-radius: 999px;
    border: 1px solid #eaedf1;
    background: #fff;
    display: grid;
    place-items: center;
    color: #0f2037;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.pnl-reference .ux-sl-session-action {
    height: 50px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

.pnl-reference .ux-sl-session-action .pnl-i {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.pnl-reference .ux-sl-session-action.open {
    background: linear-gradient(135deg, #00a56f 0%, #008968 100%);
}

.pnl-reference .ux-sl-session-action.closed {
    background: linear-gradient(135deg, #ff2a54 0%, #ff0008 100%);
}

@media (max-width: 420px) {
    .pnl-reference .ux-sl-history-card {
        font-size: 15px;
    }

    .pnl-reference .ux-sl-rate-value {
        font-size: 18px;
    }

    .pnl-reference .ux-sl-session-row {
        grid-template-columns: minmax(0, 1fr) 112px 112px;
        gap: 8px;
        padding: 8px 8px;
    }

    .pnl-reference .ux-sl-session-time {
        font-size: 14px;
    }

    .pnl-reference .ux-sl-session-face,
    .pnl-reference .ux-sl-session-action {
        height: 44px;
    }

    .pnl-reference .ux-sl-session-face {
        font-size: 30px;
    }

    .pnl-reference .ux-sl-session-action {
        font-size: 14px;
    }
}

.pnl-reference .ux-lang-dialog {
    width: min(520px, calc(100vw - 28px));
    max-height: calc(100dvh - 48px);
    border: 0;
    border-radius: 20px;
    padding: 24px 20px 18px;
    overflow: auto;
    box-shadow: 0 24px 48px rgb(0 0 0 / 26%);
}

.pnl-reference .ux-lang-dialog::backdrop {
    background: rgb(0 0 0 / 46%);
}

.pnl-reference .ux-lang-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #ecf3f5;
    color: #17344f;
    display: grid;
    place-items: center;
}

.pnl-reference .ux-lang-dialog h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #10263d;
}

.pnl-reference .ux-lang-current {
    margin: 8px 0 14px;
    color: #6f849a;
    font-size: 13px;
    font-weight: 600;
}

.pnl-reference .ux-lang-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pnl-reference .ux-lang-option {
    border: 1px solid #e6edf0;
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: #11263f;
    font: inherit;
}

.pnl-reference .ux-lang-option.active {
    border-color: #0a7a74;
    background: #edf7f6;
}

.pnl-reference .ux-lang-native {
    font-size: 21px;
    font-weight: 600;
}

.pnl-reference .ux-lang-label {
    color: #7f92a8;
    font-size: 13px;
    font-weight: 600;
}

/* ---------- Generic texts ---------- */
.pnl-reference .ux-screen-heading,
.pnl-reference .ux-empty-panel h3,
.pnl-reference .ux-bid-history-item-end b,
.pnl-reference .ux-starline-head h1,
.pnl-reference .ux-starline-game h3,
.pnl-reference .ux-starline-rates-title {
    color: #0f2037;
}

.pnl-reference .ux-bid-history-item,
.pnl-reference .ux-wallet-transaction-row {
    border: 1px solid #e8edf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 10px rgb(9 33 53 / 7%);
}

.pnl-reference .ux-bid-history-item-ic,
.pnl-reference .ux-wallet-transaction-ic,
.pnl-reference .ux-empty-panel-ic,
.pnl-reference .ux-starline-rates-ic {
    background: #eaf6f5;
    color: #0a6f69;
}

.pnl-reference .ux-inline-note,
.pnl-reference .ux-empty-panel,
.pnl-reference .ux-history-empty {
    border: 1px solid #e6eef1;
    background: #fff;
    color: #647b93;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgb(9 33 53 / 5%);
}

.pnl-reference .pagination .page-link {
    color: #0f2037;
    border-color: #e3ebee;
}

.pnl-reference .pagination .active .page-link {
    background: #0a7570;
    border-color: #0a7570;
    color: #fff;
}

.pnl-reference a:focus-visible,
.pnl-reference button:focus-visible,
.pnl-reference summary:focus-visible {
    outline: 2px solid #0b7d77;
    outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
    .pnl-reference {
        --pnl-appbar-h: 80px;
    }

    .pnl-reference .pnl-appbar {
        padding-right: 22px;
    }

    .pnl-reference .pnl-appbar-title {
        font-size: 28px;
    }

    .pnl-reference .pnl-chip.pnl-balance-chip {
        font-size: 18px;
    }

    .pnl-reference .pnl-main {
        padding-left: 22px;
        padding-right: 22px;
    }

    .pnl-reference .ux-market-panel-face {
        font-size: 30px;
    }

    .pnl-reference .ux-market-panel-state {
        font-size: 20px;
    }

    .pnl-reference .ux-game-tile {
        min-height: 176px;
    }

    .pnl-reference .ux-game-tile-name {
        font-size: 18px;
    }

    .pnl-reference .ux-bid-submitbar {
        padding-left: max(18px, calc((100vw - 920px) / 2));
        padding-right: max(18px, calc((100vw - 920px) / 2));
    }
}

@media (min-width: 992px) {
    .pnl-reference .ux-market-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pnl-reference .ux-game-tile-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pnl-reference .pnl-bottomnav {
        padding-left: max(0px, calc((100vw - 960px) / 2));
        padding-right: max(0px, calc((100vw - 960px) / 2));
    }
}

@media (max-width: 380px) {
    .pnl-reference .pnl-appbar {
        gap: 8px;
        padding-right: 8px;
    }

    .pnl-reference .pnl-appbar-title {
        font-size: 20px;
    }

    .pnl-reference .pnl-chip.pnl-balance-chip {
        font-size: 14px;
    }

    .pnl-reference .pnl-main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .pnl-reference .ux-market-grid {
        gap: 8px;
    }

    .pnl-reference .ux-market-panel-head h3 {
        font-size: 13px;
    }

    .pnl-reference .ux-market-panel-face {
        font-size: 20px;
    }

    .pnl-reference .ux-market-panel-state {
        font-size: 15px;
    }

    .pnl-reference .ux-home-pill {
        font-size: 13px;
    }

    .pnl-reference .ux-history-tile-title,
    .pnl-reference .ux-funds-link > span:not(.ux-funds-icon),
    .pnl-reference .pnl-row-title {
        font-size: 16px;
    }

    .pnl-reference .dep-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pnl-reference .ux-contact-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pnl-reference .ux-notice-marquee span {
        animation: none;
        padding-left: 0;
    }

    .pnl-reference .pnl-fade {
        animation: none;
    }
}
