:root {
    --wth-bg-0: #070b13;
    --wth-bg-2: #131f32;
    --wth-gold-rgb: 226, 183, 103;
    --wth-panel: rgba(8, 14, 24, 0.88);
    --wth-panel-strong: rgba(9, 16, 28, 0.95);
    --wth-surface-outlined: linear-gradient(160deg, rgba(10, 18, 31, 0.9), rgba(7, 13, 23, 0.96));
    --wth-surface-feature: linear-gradient(160deg, rgba(10, 20, 36, 0.95), rgba(8, 15, 28, 0.98));
    --wth-surface-home-block: linear-gradient(145deg, rgba(17, 31, 56, 0.95), rgba(9, 18, 34, 0.99));
    --wth-surface-home-compare: linear-gradient(145deg, rgba(16, 29, 53, 0.95), rgba(8, 15, 29, 0.99));
    --wth-surface-overlay: linear-gradient(158deg, rgba(11, 21, 40, 0.95), rgba(5, 12, 24, 0.98));
    --wth-surface-card: linear-gradient(160deg, rgba(10, 21, 39, 0.95), rgba(5, 12, 24, 0.98));
    --wth-surface-stats: linear-gradient(145deg, rgba(12, 24, 45, 0.96), rgba(6, 13, 25, 0.99));
    --wth-surface-stats-inner: linear-gradient(155deg, rgba(11, 21, 40, 0.95), rgba(5, 12, 24, 0.98));
    --wth-border: rgba(196, 160, 94, 0.42);
    --wth-border-soft: rgba(196, 160, 94, 0.22);
    --wth-border-softest: rgba(196, 160, 94, 0.16);
    --wth-border-light: rgba(196, 160, 94, 0.2);
    --wth-border-medium: rgba(196, 160, 94, 0.28);
    --wth-radius-md: 12px;
    --wth-gold: #e2b767;
    --wth-gold-soft: #f3deb0;
    --wth-header-icon: #7cc8ff;
    --wth-text: #edf2ff;
    --wth-text-muted: #bcc8de;
    --wth-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
    --wth-shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.32);
    --wth-section-gap: 0.9rem;
    --wth-content-max-read: 76ch;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

html {
    background: var(--wth-bg-0);
    color-scheme: dark;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    color: var(--wth-text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.55;
    background:
        radial-gradient(circle at 18% -8%, rgba(95, 145, 230, 0.2), transparent 33%),
        radial-gradient(circle at 88% 14%, rgba(230, 169, 73, 0.18), transparent 32%),
        linear-gradient(150deg, var(--wth-bg-2), var(--wth-bg-0) 52%, #060a12 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.02), transparent 38%),
        repeating-linear-gradient(135deg, rgba(196, 160, 94, 0.03) 0, rgba(196, 160, 94, 0.03) 1px, transparent 1px, transparent 8px);
}

#app,
.mud-layout,
.mud-main-content {
    position: relative;
    z-index: 1;
}

.mud-layout {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.mud-main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-top: 0.5rem !important;
    padding-bottom: 0.75rem !important;
}

/* Globálně rozšiřuje obsah stránek přibližně o 10 %. */
.mud-container.mud-container-maxwidth-xs {
    max-width: min(488px, 96vw);
}

.mud-container.mud-container-maxwidth-sm {
    max-width: min(660px, 96vw);
}

.mud-container.mud-container-maxwidth-md {
    max-width: min(1056px, 96vw);
}

.mud-container.mud-container-maxwidth-lg {
    max-width: min(1408px, 96vw);
}

.mud-container.mud-container-maxwidth-xl {
    max-width: min(2112px, 97vw);
}

.mud-appbar,
.mud-paper {
    backdrop-filter: blur(6px);
}

.mud-paper {
    background: linear-gradient(160deg, var(--wth-panel), var(--wth-panel-strong));
    border: 1px solid var(--wth-border-soft);
    box-shadow: var(--wth-shadow);
}

.mud-paper.mud-elevation-0 {
    box-shadow: var(--wth-shadow-soft);
}

.mud-paper.mud-theme-primary {
    background:
        linear-gradient(130deg, rgba(20, 36, 67, 0.96), rgba(11, 20, 37, 0.95)),
        linear-gradient(0deg, rgba(var(--wth-gold-rgb), 0.1), rgba(var(--wth-gold-rgb), 0.1));
    border-bottom: 1px solid var(--wth-border);
}

.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.04em;
    color: var(--wth-gold-soft);
    text-wrap: balance;
}

.mud-typography-subtitle1,
.mud-typography-subtitle2,
.mud-typography-body1,
.mud-typography-body2,
.mud-typography-caption {
    color: var(--wth-text);
}

.mud-secondary-text,
.mud-typography-body1.mud-secondary-text,
.mud-typography-body2.mud-secondary-text,
.mud-typography-caption.mud-secondary-text {
    color: #ffffff !important;
}

.mud-link {
    color: var(--wth-gold-soft);
}

.mud-link:hover {
    color: #ffe7bc;
}

.mud-button-root {
    border-radius: var(--wth-radius-md);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.mud-main-content .mud-button-root:focus-visible,
.mud-main-content .mud-link:focus-visible {
    outline: 2px solid rgba(var(--wth-gold-rgb), 0.85);
    outline-offset: 2px;
}

.mud-button-filled.mud-button-filled-primary {
    background: linear-gradient(130deg, #d4a956, #b98636 52%, #8e6222);
    color: #14100b;
    box-shadow: none;
}

.mud-button-outlined {
    border-color: var(--wth-border);
    color: var(--wth-gold-soft);
}

.mud-input-control > .mud-input-control-input-container > .mud-input-root,
.mud-input > .mud-input-control-input-container > .mud-input-root,
.mud-input-outlined {
    background: rgba(4, 9, 17, 0.74);
    border-radius: 11px;
}

.mud-input-label,
.mud-select-input,
.mud-input-slot {
    color: var(--wth-text);
}

.mud-input-outlined-border {
    border-color: var(--wth-border-soft);
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: var(--wth-gold);
    border-width: 2px;
}

/* Sjednotí vzhled Chrome/Edge autofillu s tmavým tématem formulářů bez šedého překryvu. */
.mud-input-slot:-webkit-autofill,
.mud-input-slot:-webkit-autofill:hover,
.mud-input-slot:-webkit-autofill:focus,
.mud-input-slot:-webkit-autofill:active {
    -webkit-text-fill-color: var(--wth-text) !important;
    caret-color: var(--wth-text) !important;
    border-radius: 11px;
    -webkit-box-shadow: 0 0 0 1000px rgba(4, 9, 17, 0.74) inset !important;
    box-shadow: 0 0 0 1000px rgba(4, 9, 17, 0.74) inset !important;
    transition: background-color 9999s ease-out 0s;
}

.mud-select-item {
    min-height: 42px;
}

.mud-popover.mud-popover-open {
    background: linear-gradient(160deg, rgba(13, 22, 37, 0.98), rgba(7, 13, 24, 0.98));
    border: 1px solid var(--wth-border-soft);
    overflow: visible !important;
}

.mud-drawer {
    background: linear-gradient(170deg, rgba(10, 17, 30, 0.98), rgba(7, 12, 23, 0.98));
    border-right: 1px solid var(--wth-border-soft);
}

.mud-nav-link {
    border-radius: 10px;
    margin: 2px 8px;
}

.mud-nav-link.active:not(.mud-nav-link-disabled) {
    background: linear-gradient(130deg, rgba(var(--wth-gold-rgb), 0.2), rgba(63, 123, 212, 0.22));
}

.mud-table {
    background: transparent;
}

.mud-table-container table {
    border-collapse: separate;
    border-spacing: 0;
}

.mud-table-container th {
    color: var(--wth-gold-soft);
    background: rgba(196, 160, 94, 0.08);
}

.mud-table-container td,
.mud-table-container th {
    border-color: var(--wth-border-softest);
}

.mud-alert.mud-alert-outlined {
    border-width: 1px;
}

.mud-alert-filled-info,
.mud-alert-outlined-info {
    border-color: rgba(63, 123, 212, 0.42);
}

.mud-alert-filled-error,
.mud-alert-outlined-error {
    border-color: rgba(218, 103, 112, 0.5);
}

.wth-card-gap {
    margin-bottom: var(--wth-section-gap) !important;
}

.mud-main-content .mud-paper.mud-paper-outlined {
    border: 1px solid var(--wth-border);
    background:
        var(--wth-surface-outlined),
        radial-gradient(circle at 0% 0%, rgba(63, 123, 212, 0.16), transparent 44%);
}

.mud-main-content .mud-typography-h3 {
    font-size: clamp(2rem, 5.1vw, 3.35rem);
    line-height: 1.08;
    text-transform: uppercase;
    text-shadow: 0 0 26px rgba(var(--wth-gold-rgb), 0.22);
}

.mud-main-content .mud-typography-subtitle1 {
    color: #f0d39a;
    opacity: 0.95;
}

.mud-main-content .mud-typography-subtitle1.mud-secondary-text {
    color: #f0d39a !important;
}

.wth-pageshell-title,
.wth-pageshell-subtitle {
    color: #ffffff !important;
    text-align: left;
}

.wth-pageshell-title {
    white-space: nowrap;
}

.mud-paper.mud-theme-primary .mud-typography-body2,
.mud-paper.mud-theme-primary .mud-typography-body2.mud-secondary-text {
    color: #e8c98d !important;
}

.mud-paper.mud-theme-primary .mud-typography-h5 {
    color: #f7dfb3;
}

.mud-chip {
    border: 1px solid var(--wth-border-soft);
    background: linear-gradient(130deg, rgba(15, 25, 43, 0.96), rgba(9, 15, 27, 0.96));
    color: var(--wth-gold-soft);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.mud-chip.mud-chip-filled.mud-chip-color-warning,
.mud-chip.mud-chip-filled.mud-chip-color-success {
    color: #1b1307;
}

.wth-settings-chip,
.wth-settings-chip .mud-chip-content {
    color: #f5f8ff !important;
}

.wth-settings-chip-danger,
.wth-settings-chip-danger .mud-chip-content {
    color: #ff5c70 !important;
}

.wth-settings-chip-success,
.wth-settings-chip-success .mud-chip-content {
    color: #61d892 !important;
}

.wth-settings-chip-received,
.wth-settings-chip-received .mud-chip-content {
    color: #8ef0b5 !important;
}

.wth-settings-chip-sent,
.wth-settings-chip-sent .mud-chip-content {
    color: #8cc8ff !important;
}

.mud-divider {
    border-color: var(--wth-border-medium);
}

.mud-stack > .mud-button-root {
    align-self: flex-start;
}

.mud-main-content .mud-grid .mud-item > .mud-select,
.mud-main-content .mud-grid .mud-item > .mud-input-control {
    width: 100%;
}

.mud-main-content .mud-pagination {
    border-radius: var(--wth-radius-md);
    padding: 0.35rem 0.45rem;
    background: rgba(4, 10, 18, 0.5);
    border: 1px solid var(--wth-border-softest);
}

.mud-main-content .mud-pagination-item {
    border-radius: 9px;
}

.mud-main-content .mud-pagination-item.mud-selected-item {
    background: linear-gradient(130deg, rgba(var(--wth-gold-rgb), 0.92), rgba(176, 129, 52, 0.94));
    color: #1b1206;
}

.mud-main-content .mud-button-filled.mud-button-filled-warning {
    background: linear-gradient(130deg, #d9af5f, #b98534 55%, #7f5a1f);
    color: #171005;
    box-shadow: none;
}

.mud-main-content .mud-button-filled:disabled,
.mud-main-content .mud-button-outlined:disabled {
    opacity: 0.55;
}

.mud-main-content .mud-table-container {
    border: 1px solid var(--wth-border-light);
    border-radius: var(--wth-radius-md);
    overflow: hidden;
}

.mud-main-content .mud-progress-linear-bar {
    background: linear-gradient(90deg, #af7d33, #f0cb8a, #6a94de);
}

.mud-main-content .mud-alert {
    backdrop-filter: blur(8px);
}

.mud-main-content .mud-card-actions {
    row-gap: 0.8rem;
}

.mud-main-content .mud-button-root .mud-button-label {
    white-space: nowrap;
}

.wth-price-plain {
    color: #d8e3f7;
}

.wth-price-gold {
    color: #f0d186;
}

.wth-price-silver {
    color: #d4d8e0;
}

.wth-price-copper {
    color: #bc8355;
}

.wth-trade-card .mud-typography-h4 {
    font-size: clamp(1.25rem, 1.65vw, 1.65rem);
    line-height: 1.08;
}

.wth-trade-item-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 2px;
    border-radius: 6px;
    object-fit: contain;
    object-position: center;
    border: 1px solid rgba(196, 160, 94, 0.35);
    background: rgba(7, 12, 24, 0.7);
}

.wth-trade-card .mud-typography-h5 {
    font-size: clamp(0.98rem, 1.18vw, 1.15rem);
    line-height: 1.05;
}

.wth-clickable-card {
    cursor: pointer;
}

.wth-preserve-lines {
    white-space: pre-line;
}

.wth-trade-card-premium {
    border-color: rgba(239, 195, 112, 0.92) !important;
    background:
        linear-gradient(160deg, rgba(24, 44, 78, 0.98), rgba(10, 21, 38, 0.99)),
        radial-gradient(circle at 0% 0%, rgba(239, 195, 112, 0.42), transparent 58%),
        radial-gradient(circle at 100% 100%, rgba(105, 159, 255, 0.2), transparent 56%) !important;
    box-shadow: 0 24px 56px rgba(7, 12, 24, 0.68), 0 0 0 1px rgba(239, 195, 112, 0.35), inset 0 0 0 1px rgba(255, 220, 154, 0.14);
}

.wth-copy-button {
    margin-left: 0.45rem;
    color: #211405 !important;
    font-weight: 800 !important;
    border: 1px solid rgba(243, 198, 111, 0.78) !important;
    background: linear-gradient(135deg, #f3c66f 0%, #e1af53 52%, #bf8630 100%) !important;
    box-shadow: 0 10px 18px rgba(182, 127, 35, 0.35);
}

.wth-copy-button:disabled {
    opacity: 0.66;
    box-shadow: none;
}

.wth-premium-badge {
    color: #1b1307 !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em;
    border: 1px solid rgba(244, 205, 131, 0.65) !important;
    background: linear-gradient(130deg, #e1b765, #be8d3b 58%, #8f6728) !important;
    box-shadow: 0 8px 16px rgba(177, 127, 48, 0.28);
}

.wth-premium-badge .mud-chip-content {
    color: #1b1307 !important;
}

.wth-detail-actions-row {
    overflow: visible;
}

.wth-detail-action-button {
    min-width: 6.4rem;
    justify-content: center;
}

.wth-home-hero {
    background:
        linear-gradient(140deg, rgba(14, 27, 48, 0.95), rgba(8, 16, 31, 0.98)),
        radial-gradient(circle at 0% 0%, rgba(241, 199, 121, 0.24), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(97, 148, 231, 0.2), transparent 48%);
}

.wth-home-side {
    background:
        linear-gradient(155deg, rgba(9, 18, 34, 0.98), rgba(7, 14, 26, 0.98)),
        radial-gradient(circle at 100% 0%, rgba(241, 199, 121, 0.12), transparent 55%);
}

.wth-home-side .mud-typography-subtitle1,
.wth-home-side .mud-typography-subtitle2 {
    color: #f4f7ff;
}

.wth-home-side .wth-home-side-title-gold {
    color: #f1c779;
}

.wth-home-side .mud-typography-caption {
    color: #dfe8fb;
}

.wth-home-chip {
    width: fit-content;
    letter-spacing: 0.05em;
}

.wth-home-hero-title {
    color: #ffffff !important;
    text-align: left;
}

.wth-home-hero .mud-typography-body1,
.wth-home-cta .mud-typography-body1,
.wth-home-cta .mud-typography-body2 {
    max-width: var(--wth-content-max-read);
}

.wth-home-hero-actions {
    row-gap: 0.65rem;
}

.wth-home-hero-actions .mud-button-root,
.wth-home-cta-actions .mud-button-root {
    min-width: 14.5rem;
}

.wth-cta-tertiary {
    color: #f1d9aa !important;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.wth-cta-primary,
.wth-cta-secondary {
    min-height: 44px;
}

.wth-siteheader-subtitle {
    color: #ffffff !important;
}

.wth-header-icon-tone .mud-icon-root {
    color: var(--wth-header-icon) !important;
}

.wth-header-menu-item .mud-icon-root,
.wth-header-menu-item .mud-list-item-icon {
    color: var(--wth-header-icon) !important;
}

.wth-header-trades-icon.mud-icon-root {
    font-size: 2.55rem !important;
    margin-right: 0.35rem;
}

.wth-drawer-trades-link .mud-nav-link-icon {
    font-size: 1.5rem !important;
}

.wth-switch-gold .mud-switch-base.mud-checked .mud-switch-thumb {
    color: #e2b767 !important;
}

.wth-switch-gold .mud-switch-base.mud-checked + .mud-switch-track {
    background-color: rgba(var(--wth-gold-rgb), 0.45) !important;
}

.wth-home-feature {
    min-height: 190px;
    background:
        var(--wth-surface-feature),
        radial-gradient(circle at 100% 0%, rgba(79, 132, 220, 0.18), transparent 52%);
}

.wth-home-step {
    border: 1px solid var(--wth-border-light);
    border-radius: var(--wth-radius-md);
    background: linear-gradient(150deg, rgba(8, 16, 29, 0.88), rgba(6, 13, 24, 0.94));
}

.wth-home-cta {
    background:
        linear-gradient(142deg, rgba(17, 31, 56, 0.94), rgba(10, 18, 33, 0.98)),
        radial-gradient(circle at 0% 100%, rgba(241, 199, 121, 0.2), transparent 45%);
}

.wth-home-benefits {
    background:
        var(--wth-surface-home-block),
        radial-gradient(circle at 0% 0%, rgba(var(--wth-gold-rgb), 0.16), transparent 44%),
        radial-gradient(circle at 100% 100%, rgba(84, 133, 218, 0.16), transparent 46%);
}

.wth-home-benefit-card {
    height: 100%;
    border: 1px solid rgba(var(--wth-gold-rgb), 0.35) !important;
    background:
        linear-gradient(160deg, rgba(10, 22, 41, 0.95), rgba(5, 12, 24, 0.98)),
        radial-gradient(circle at 100% 0%, rgba(96, 148, 230, 0.2), transparent 52%);
}

.wth-home-benefit-card ul {
    margin: 0.2rem 0 0;
    padding-left: 0;
}

.wth-home-benefit-card li {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0.4rem 0;
    color: #e7eefb;
}

.wth-home-benefit-chip {
    width: 100%;
    justify-content: center;
    color: #1f160a !important;
    border: 1px solid rgba(241, 204, 130, 0.6) !important;
    background: linear-gradient(130deg, #e3ba6b, #c38e3a 58%, #8a6328) !important;
}

.wth-home-benefit-chip-auction {
    color: #072723 !important;
    border: 1px solid rgba(104, 222, 199, 0.45) !important;
    background: linear-gradient(130deg, #61d7c2, #2ea393 58%, #1e6d63) !important;
}

.wth-premium-plan-chip {
    color: #1b1307 !important;
    border: 1px solid rgba(241, 204, 130, 0.65) !important;
    background: linear-gradient(130deg, #e7be70, #c7933f 58%, #8d6628) !important;
    font-weight: 800 !important;
}

.wth-premium-plan-chip .mud-chip-content {
    color: #1b1307 !important;
}

.wth-premium-plan-chip-success {
    color: #052821 !important;
    border: 1px solid rgba(104, 222, 199, 0.52) !important;
    background: linear-gradient(130deg, #72dfcc, #37b29f 58%, #24786c) !important;
}

.wth-premium-plan-chip-success .mud-chip-content {
    color: #052821 !important;
}

.wth-inline-badge-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    white-space: normal;
}

.wth-premium-plan-chip-static {
    display: inline-block;
    padding: 0.12rem 0.52rem;
    border-radius: 999px;
    line-height: 1.4;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1b1307;
    border: 1px solid rgba(241, 204, 130, 0.65);
    background: linear-gradient(130deg, #e7be70, #c7933f 58%, #8d6628);
    vertical-align: middle;
}

.wth-premium-checkout-button {
    color: #f0d186 !important;
    border-color: rgba(241, 204, 130, 0.78) !important;
}

.wth-premium-benefits-list {
    margin: 0.15rem 0 0;
    padding: 0;
    list-style: none;
}

.wth-premium-benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.3rem 0;
    color: var(--wth-text-muted);
}

.wth-premium-benefits-list li::before {
    content: "✦";
    display: inline-block;
    flex: 0 0 0.85rem;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1;
    color: #f0d186;
}

.wth-premium-until-highlight {
    color: #f0d186;
    font-weight: 700;
}

.wth-auth-or-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.65rem;
    margin: 0.45rem 0 0.8rem;
}

.wth-auth-or-divider {
    flex: 1 1 0;
    min-width: 0;
}

.wth-auth-or-text {
    flex: 0 0 auto;
    line-height: 1;
}

.wth-auth-primary-button {
    box-shadow: none !important;
}

.wth-google-auth-button {
    color: #1f1f1f !important;
    background: #ffffff !important;
    border: 1px solid #dadce0 !important;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1) !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    font-weight: 600 !important;
}

.wth-google-auth-button .mud-button-label {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wth-google-auth-icon-slot {
    position: absolute;
    left: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
}

.wth-google-auth-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.wth-google-auth-button-text {
    display: inline-block;
}

.wth-auth-side-card {
    height: 100%;
}

.wth-auth-inline-link-row {
    width: 100%;
    justify-content: center;
    gap: 0.35rem !important;
    padding-inline: 0;
    white-space: nowrap;
}

.wth-auth-inline-link-row .mud-typography,
.wth-auth-inline-link-row .mud-link {
    font-size: 0.925rem;
    line-height: 1.35;
}

.wth-auth-inline-link-row .mud-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.wth-push-dialog-titlebar {
    position: relative;
    display: grid;
    place-items: center;
    height: 3.5rem;
    margin: -24px -24px 4px;
    padding: 0;
    border-bottom: 1px solid rgba(var(--wth-gold-rgb), 0.28);
    background: linear-gradient(145deg, rgba(21, 40, 69, 0.96), rgba(12, 24, 43, 0.98));
    overflow: hidden;
}

.wth-push-dialog-titletext {
    position: static;
    inset: auto;
    display: block;
    margin: 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    color: #f4f7ff;
    letter-spacing: 0.01em;
    transform: none;
}

.wth-trades-filters-grid {
    margin-bottom: 0.1rem;
}

/* Zlepší čitelnost právních stránek bez zásahu do obsahu textů. */
.wth-legal-content {
    max-width: 100%;
    margin-inline: 0;
}

.wth-legal-content.mud-stack {
    gap: 0 !important;
}

.wth-legal-content > .mud-typography-body1,
.wth-legal-content > .mud-typography-body2 {
    line-height: 1.72;
    letter-spacing: 0.008em;
    margin-bottom: 0.55rem;
}

.wth-legal-content > .mud-typography-h5 {
    margin-top: 1.35rem;
    margin-bottom: 0.4rem;
    line-height: 1.34;
}

.wth-legal-content > .mud-typography-h6 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.wth-legal-content ul {
    margin: 0 0 0.0rem;
    margin-block-start: 0 !important;
    padding-left: 1.2rem;
}

.wth-legal-content :is(.mud-typography-body1, .mud-typography-body2, .mud-typography-h6, .mud-typography-h5) + ul {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.wth-legal-content :is(.mud-typography-body1, .mud-typography-body2, .mud-typography-h6, .mud-typography-h5):has(+ ul) {
    margin-bottom: 0 !important;
}

.wth-legal-content ul > li {
    margin: 0.08rem 0;
}

.wth-legal-content ul > li:first-child {
    margin-top: 0 !important;
}

.wth-legal-content > .mud-simple-table,
.wth-legal-content > .mud-table-container {
    margin: 0.45rem 0 1.4rem;
}

.wth-legal-content .mud-expansion-panels {
    margin-top: 0.65rem;
}

.wth-legal-content .mud-expand-panel {
    border: 1px solid var(--wth-border-soft);
    border-radius: 12px;
    background: rgba(8, 15, 27, 0.55);
}

.wth-legal-content .mud-expand-panel + .mud-expand-panel {
    margin-top: 0.75rem;
}

.wth-legal-content .mud-expand-panel-header {
    line-height: 1.42;
}

.wth-legal-content .mud-expand-panel-content .mud-typography-body1 {
    line-height: 1.68;
}

@media (min-width: 600px) {
    .wth-trades-filters-grid .wth-trades-filter-region { order: 1; }
    .wth-trades-filters-grid .wth-trades-filter-game { order: 2; }
    .wth-trades-filters-grid .wth-trades-filter-faction { order: 3; }
    .wth-trades-filters-grid .wth-trades-filter-server { order: 4; }
    .wth-trades-filters-grid .wth-trades-filter-search { order: 5; }
    .wth-trades-filters-grid .wth-trades-filter-type { order: 6; }
    .wth-trades-filters-grid .wth-trades-filter-sort { order: 7; }
}

.wth-trades-filters-sticky {
    position: sticky;
    top: 0.75rem;
    z-index: 15;
}

.mud-paper.wth-trades-filters-surface {
    background-color: #2a1709 !important;
    background-image: linear-gradient(90deg, #2f190a 0%, #241307 100%) !important;
    border-color: rgba(168, 112, 47, 0.46) !important;
}

.wth-trades-filters-mobile-header {
    min-height: 2.2rem;
}

.wth-trades-actions-grid {
    row-gap: 0.35rem;
}

.wth-trades-pagination {
    padding-top: 0.2rem;
}

.wth-leaderboard-card {
    border-color: rgba(var(--wth-gold-rgb), 0.3) !important;
    background:
        linear-gradient(160deg, rgba(10, 20, 37, 0.96), rgba(5, 12, 24, 0.99)),
        radial-gradient(circle at 100% 0%, rgba(94, 148, 232, 0.14), transparent 54%);
}

.wth-leaderboard-card .mud-typography-body2,
.wth-leaderboard-card .mud-typography-caption {
    line-height: 1.35;
}

.wth-layout-body-shell {
    margin-bottom: 0 !important;
}

.wth-layout-page-shell {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.wth-layout-content-grow {
    flex: 1 1 auto;
}

.wth-layout-desktop-frame {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    column-gap: 20px;
}

.wth-layout-desktop-only {
    display: flex !important;
}

.wth-layout-mobile-only {
    display: none !important;
}

.wth-layout-sidebar-column {
    flex: 0 0 var(--wth-sidebar-slot-width, 300px);
    max-width: var(--wth-sidebar-slot-width, 300px);
    display: flex;
    justify-content: center;
}

.wth-layout-sidebar-sticky {
    position: fixed;
    top: 50vh;
    transform: translateY(-50%);
    width: var(--wth-sidebar-slot-width, 300px);
    display: flex;
    justify-content: center;
    z-index: 20;
}

.wth-layout-sidebar-sticky-left {
    left: 50px;
}

.wth-layout-sidebar-sticky-right {
    right: 50px;
}

.wth-layout-sidebar-column .wth-ads-slot-shell-desktop {
    margin-top: 0;
    margin-bottom: 0;
}

.wth-layout-main-column {
    flex: 1 1 auto;
    min-width: 0;
}

.wth-layout-footer-shell {
    margin-top: var(--wth-section-gap) !important;
    margin-bottom: 0 !important;
}

.wth-footer-paper-flat.mud-paper {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.wth-ads-slot-shell {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.mud-button-root + .wth-ads-slot-shell,
.wth-ads-slot-shell + .mud-button-root {
    margin-top: 0.75rem;
}


.wth-home-compare {
    background:
        var(--wth-surface-home-compare),
        radial-gradient(circle at 0% 0%, rgba(var(--wth-gold-rgb), 0.14), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(80, 129, 214, 0.16), transparent 46%);
}

.wth-home-compare-panel {
    border: 1px solid rgba(var(--wth-gold-rgb), 0.28);
    border-radius: 14px;
    background:
        var(--wth-surface-overlay),
        radial-gradient(circle at 100% 0%, rgba(92, 145, 228, 0.16), transparent 50%);
}

.wth-home-compare-panel .mud-expand-panel-header {
    color: #fff2d3;
    font-weight: 700;
}

.wth-home-compare-cards {
    margin-top: 0.15rem;
}

.wth-home-compare-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.45rem;
    border: 1px solid rgba(var(--wth-gold-rgb), 0.24) !important;
    background:
        var(--wth-surface-card),
        radial-gradient(circle at 100% 0%, rgba(96, 148, 230, 0.14), transparent 52%);
}

.wth-home-compare-item .mud-typography-subtitle1 {
    color: #f0d186;
    font-weight: 700;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.wth-home-compare-item .mud-typography-body2 {
    color: #eef3ff;
    margin: 0;
    line-height: 1.45;
}

.wth-home-compare-item .mud-typography-body2 + .mud-typography-body2 {
    margin-top: 0.3rem;
}

.wth-home-compare-item .mud-typography-body2 b {
    color: #f3dbab;
    font-weight: 700;
}

.wth-home-stats {
    background:
        var(--wth-surface-stats),
        radial-gradient(circle at 0% 0%, rgba(var(--wth-gold-rgb), 0.16), transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(85, 134, 218, 0.15), transparent 46%);
}

.wth-home-stats-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(var(--wth-gold-rgb), 0.3) !important;
    background:
        var(--wth-surface-stats-inner),
        radial-gradient(circle at 100% 0%, rgba(92, 145, 228, 0.14), transparent 52%);
}

.wth-home-stats-table {
    width: 100%;
    border-collapse: collapse;
}

.wth-home-stats-table th,
.wth-home-stats-table td {
    padding: 0.85rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(var(--wth-gold-rgb), 0.18);
}

.wth-home-stats-table th {
    color: #f0d186;
    font-weight: 700;
}

.wth-home-stats-table td {
    color: #e7eefb;
}

.wth-home-stats-table tbody tr:last-child td {
    border-bottom: none;
}

.wth-ads-slot-shell-mobile {
    min-height: 154px;
}

.wth-ads-slot-shell-desktop {
    min-height: 0;
}

.wth-cwv-lazy {
    content-visibility: auto;
    contain-intrinsic-size: 1px 820px;
}

@media (min-width: 960px) {
    .wth-home-compare-item {
        min-height: 196px;
    }
}

/* Jemný "panel frame" dojem pro sekce s formuláři a výpisy obchodů. */
.mud-main-content section > .mud-stack > .mud-paper {
    position: relative;
}

.mud-main-content section > .mud-stack > .mud-paper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(130deg, rgba(241, 210, 150, 0.09), transparent 35%),
        linear-gradient(310deg, rgba(66, 108, 177, 0.1), transparent 42%);
    mix-blend-mode: screen;
}

ul {
    margin: 0.4rem 0 0.9rem;
    padding-left: 1.1rem;
}

li {
    margin: 0.22rem 0;
    color: var(--wth-text-muted);
}

.mud-button-root,
.mud-nav-link,
.mud-link {
    transition: color 0.18s ease-out, background-color 0.18s ease-out, border-color 0.18s ease-out, opacity 0.18s ease-out, transform 0.18s ease-out;
}

@media (hover: hover) {
    .mud-button-filled.mud-button-filled-primary:hover {
        filter: brightness(1.06);
    }

    .mud-nav-link:hover:not(.mud-nav-link-disabled) {
        background: linear-gradient(130deg, rgba(var(--wth-gold-rgb), 0.2), rgba(63, 123, 212, 0.22));
    }

    .mud-main-content .mud-paper.mud-paper-outlined:hover {
        border-color: rgba(var(--wth-gold-rgb), 0.55);
        box-shadow: 0 20px 46px rgba(2, 7, 16, 0.56);
    }

    .mud-main-content .mud-button-filled.mud-button-filled-warning:hover {
        filter: brightness(1.07);
    }

    .mud-main-content .mud-table-row:hover td {
        background: rgba(var(--wth-gold-rgb), 0.07);
    }

    .wth-trade-card-premium:hover {
        transform: translateY(-2px);
        border-color: rgba(246, 210, 136, 0.98) !important;
        background:
            linear-gradient(160deg, rgba(30, 53, 92, 0.98), rgba(12, 25, 44, 0.99)),
            radial-gradient(circle at 0% 0%, rgba(246, 205, 123, 0.52), transparent 60%),
            radial-gradient(circle at 100% 100%, rgba(118, 172, 255, 0.24), transparent 56%) !important;
        box-shadow: 0 28px 62px rgba(6, 11, 22, 0.74), 0 0 0 1px rgba(246, 210, 136, 0.44), inset 0 0 0 1px rgba(255, 232, 179, 0.18);
    }

    .wth-copy-button:hover {
        background: linear-gradient(135deg, #f8d489 0%, #e8bc67 52%, #cf9a45 100%) !important;
    }

    .wth-premium-checkout-button:hover {
        color: #ffe9bf !important;
        border-color: rgba(252, 223, 163, 0.9) !important;
        background: rgba(241, 204, 130, 0.08) !important;
    }

    .wth-google-auth-button:hover {
        background: #f8f9fa !important;
        border-color: #d2d5da !important;
        color: #1a1a1a !important;
    }
}

.h-100 {
    height: 100%;
}

@media (max-width: 960px) {
    body::before {
        display: none;
    }

    .mud-appbar,
    .mud-paper {
        backdrop-filter: none;
    }

    .mud-main-content .mud-alert {
        backdrop-filter: none;
    }

    .mud-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .mud-paper {
        border-radius: 14px;
    }

    .mud-main-content .mud-typography-h3 {
        letter-spacing: 0.03em;
    }

    .mud-main-content section > .mud-stack > .mud-paper {
        padding: 1rem;
    }

    .mud-main-content section > .mud-stack > .mud-paper::before {
        display: none;
    }

    .wth-home-feature {
        min-height: 0;
    }

    .wth-home-benefit-card {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    :root {
        --wth-section-gap: 0.75rem;
    }

    body {
        font-size: 0.97rem;
    }

    .mud-main-content {
        padding-top: 0.35rem !important;
        padding-bottom: 0.5rem !important;
    }

    .mud-typography-h3 {
        font-size: 1.7rem;
    }

    .wth-pageshell-title {
        white-space: normal;
    }

    .mud-button-root {
        min-height: 42px;
    }

    .mud-main-content .mud-stack {
        gap: 0.8rem;
    }

    .mud-main-content .mud-typography-h5 {
        font-size: 1.08rem;
    }

    .wth-detail-actions-row {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        row-gap: 0.45rem;
    }

    .wth-detail-action-button {
        min-width: 0;
        flex: 1 1 calc(33.333% - 0.5rem);
    }

    .wth-home-compare-item {
        padding: 0.85rem !important;
    }

    .wth-home-hero-actions .mud-button-root,
    .wth-home-cta-actions .mud-button-root {
        min-width: 100%;
    }

    .wth-home-stats-table th,
    .wth-home-stats-table td {
        padding: 0.7rem 0.55rem;
    }

    .wth-auth-side-card {
        height: auto;
    }

    .wth-trades-filters-sticky {
        position: static;
    }

    .wth-legal-content {
        max-width: 100%;
    }

    .wth-legal-content.mud-stack {
        gap: 0 !important;
    }

    .wth-legal-content > .mud-typography-body1,
    .wth-legal-content > .mud-typography-body2 {
        line-height: 1.62;
        letter-spacing: 0.004em;
        margin-bottom: 0.45rem;
    }

    .wth-legal-content > .mud-typography-h5 {
        margin-top: 1rem;
        margin-bottom: 0.3rem;
        line-height: 1.28;
    }

    .wth-legal-content > .mud-typography-h6 {
        margin-top: 0.8rem;
        margin-bottom: 0.2rem;
        line-height: 1.3;
    }

    .wth-legal-content ul {
        margin: 0 0 0.0rem;
        margin-block-start: 0 !important;
        padding-left: 1.05rem;
    }

    .wth-legal-content :is(.mud-typography-body1, .mud-typography-body2, .mud-typography-h6, .mud-typography-h5) + ul {
        margin-top: 0 !important;
        margin-block-start: 0 !important;
    }

    .wth-legal-content :is(.mud-typography-body1, .mud-typography-body2, .mud-typography-h6, .mud-typography-h5):has(+ ul) {
        margin-bottom: 0 !important;
    }

    .wth-legal-content ul > li {
        margin: 0.07rem 0;
    }

    .wth-legal-content ul > li:first-child {
        margin-top: 0 !important;
    }

    .wth-legal-content > .mud-simple-table,
    .wth-legal-content > .mud-table-container {
        margin: 0.35rem 0 1.05rem;
    }

    .wth-legal-content .mud-expand-panel + .mud-expand-panel {
        margin-top: 0.55rem;
    }
}

@media (max-height: 760px) {
    .wth-layout-sidebar-sticky {
        top: 12px;
        transform: none;
    }
}

@media (max-width: 1280px) {
    .wth-layout-desktop-only {
        display: none !important;
    }

    .wth-layout-mobile-only {
        display: flex !important;
    }

    .wth-layout-sidebar-sticky {
        display: none;
    }
}

@media (min-width: 1281px) {
    .wth-layout-desktop-only {
        display: flex !important;
    }

    .wth-layout-mobile-only {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    .mud-main-content section > .mud-stack > .mud-paper::before {
        display: none;
    }

    .mud-button-root,
    .mud-nav-link,
    .mud-link,
    .wth-trade-card-premium,
    .wth-trade-card-premium:hover {
        transition: none !important;
        transform: none !important;
    }
}

@media (min-width: 1920px) {
    .mud-container:not(.mud-container-maxwidth-false) {
        max-width: min(1628px, 96vw);
    }
}
