/* Velora mobile layer — loaded after the desktop stylesheet. */
@media (max-width: 840px) {
  html {
    scroll-padding-top: 76px;
  }
  body {
    min-width: 0;
    overflow-x: hidden;
    padding-bottom: 72px;
  }
  body, button, input {
    -webkit-tap-highlight-color: transparent;
  }
  img, video, iframe {
    max-width: 100%;
  }
  .shell {
    width: min(calc(100% - 28px), 100%);
    max-width: 100%;
  }
  .section-heading {
    margin-bottom: 22px;
  }
  .section-heading.split {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.02;
  }
  .section-heading p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.7;
  }
  .button {
    min-height: 48px;
  }
  /* Header */
  .top-note {
    display: none;
  }
  .site-header {
    top: 0;
  }
  .header-inner {
    min-height: 60px;
    gap: 10px;
  }
  .brand {
    gap: 8px;
    min-width: 0;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand-word {
    font-size: 14px;
    letter-spacing: .12em;
  }
  .main-nav, .telegram-link, .header-login {
    display: none !important;
  }
  .header-actions {
    margin-left: auto;
    gap: 7px;
  }
  .header-actions .button-small {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 11px;
    border-radius: 11px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 9px;
    display: grid;
    flex: 0 0 38px;
  }
  .mobile-menu {
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    padding: 12px 14px calc(16px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-menu > a:not(.button) {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 11px 12px;
    font-size: 12px;
  }
  .mobile-play {
    grid-column: 1 / -1;
    min-height: 48px;
  }
  /* Story rail */
  .velora-story-wrap {
    width: 100% !important;
    overflow: hidden !important;
    padding: 10px 0 8px !important;
  }
  .velora-story-strip {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 14px 5px !important;
    scroll-padding-inline: 14px !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }
  .velora-story-strip::-webkit-scrollbar {
    display: none !important;
  }
  .velora-story-tile {
    width: 66px !important;
    min-width: 66px !important;
    flex: 0 0 66px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-rows: 54px 28px !important;
    justify-items: center !important;
    row-gap: 6px !important;
    scroll-snap-align: start;
  }
  .velora-story-icon {
    width: 54px !important;
    height: 54px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }
  .velora-story-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }
  .velora-story-label {
    width: 100% !important;
    height: 28px !important;
    font-size: 9px !important;
    line-height: 1.12 !important;
    text-align: center !important;
    overflow: hidden !important;
  }
  /* Story viewer */
  .story-modal {
    padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
    align-items: center;
  }
  .story-modal-card {
    width: min(94vw, 390px) !important;
    max-height: calc(100dvh - 18px);
    overflow: visible !important;
  }
  .story-media {
    border-radius: 18px;
    max-height: calc(100dvh - 86px);
  }
  .story-media img {
    width: 100%;
    max-height: calc(100dvh - 86px);
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }
  .story-modal-controls {
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
    padding: 10px 2px 0;
  }
  .story-nav {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
  .story-live-progress, [data-story-progress], .story-progress {
    display: none !important;
  }
  /* Hero */
  .hero, .hero-inner {
    min-height: 720px;
  }
  .hero-image-layer {
    background-image: linear-gradient(180deg, rgba(3,15,9,.08) 0%, rgba(3,15,9,.14) 38%, rgba(4,16,10,.80) 61%, #06120d 84%), url('/assets/images/hero/hero.webp');
    background-size: auto 100%;
    background-position: 64% top;
    transform: none;
    animation: none;
  }
  .hero:before {
    opacity: .08;
    background-size: 54px 54px;
  }
  .hero-inner {
    align-items: flex-end;
  }
  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 320px 0 44px;
  }
  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: .12em;
  }
  .hero-copy h1 {
    max-width: 100%;
    margin: 12px 0 15px;
    font-size: clamp(48px, 14vw, 66px);
    line-height: .92;
    letter-spacing: -.06em;
  }
  .hero-copy > p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.65;
  }
  .hero-bonus {
    width: 100%;
    margin-top: 18px;
    padding: 14px 15px;
    border-radius: 14px;
  }
  .hero-bonus strong {
    font-size: 22px;
  }
  .hero-bonus small {
    font-size: 9px;
    line-height: 1.45;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-trust {
    margin-top: 17px;
    gap: 6px 10px;
  }
  .hero-trust span {
    font-size: 9px;
    line-height: 1.35;
  }
  .hero-relic, .hero-wink {
    display: none;
  }
  /* Quick nav & prose */
  .quick-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 22px 0 66px;
  }
  .quick-nav > a {
    min-height: 142px;
    padding: 17px;
    border-radius: 17px;
  }
  .quick-nav strong {
    font-size: 17px;
    line-height: 1.15;
  }
  .quick-nav p {
    font-size: 10px;
    line-height: 1.5;
  }
  .intro-copy {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 68px;
  }
  .intro-copy h2 {
    font-size: clamp(35px, 9vw, 44px);
    line-height: 1.02;
  }
  .intro-copy p, .seo-bottom-copy p {
    font-size: 14px;
    line-height: 1.76;
  }
  .home-content {
    padding-bottom: 76px;
  }
  .content-intro {
    margin-bottom: 32px;
  }
  .content-intro h2 {
    font-size: clamp(36px, 9.5vw, 46px);
  }
  .content-intro p {
    font-size: 14px;
    line-height: 1.75;
  }
  .content-columns {
    grid-template-columns: 1fr;
  }
  .content-columns article, .content-columns article:nth-child(odd), .content-columns article:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .content-columns h3 {
    font-size: 21px;
    line-height: 1.18;
  }
  .content-columns p {
    font-size: 13px;
    line-height: 1.72;
  }
  .home-editorial {
    padding-bottom: 76px;
  }
  .home-editorial-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-editorial-grid .home-editorial-lead {
    grid-column: auto;
  }
  .home-editorial-grid article, .home-editorial-grid .home-editorial-lead {
    padding: 20px;
    border-radius: 18px;
  }
  .home-editorial-grid h3 {
    font-size: 22px;
  }
  .home-editorial-grid p, .home-editorial-grid .home-editorial-lead p {
    font-size: 13px;
    line-height: 1.78;
  }
  .seo-bottom {
    padding-bottom: 70px;
  }
  /* Roulette */
  .roulette-section {
    padding-bottom: 72px;
  }
  .roulette-shell {
    height: 332px;
    margin-inline: 0;
    border-radius: 22px;
  }
  .roulette-shell:before, .roulette-shell:after {
    width: 42px;
  }
  .roulette-track {
    gap: 12px;
    padding: 36px 54px 36px 14px !important;
    scroll-padding-inline: 14px;
  }
  .roulette-card {
    width: min(72vw, 270px);
    flex: 0 0 min(72vw, 270px);
    border-radius: 17px;
    scroll-snap-align: center;
  }
  .roulette-card:first-child {
    margin-left: 0 !important;
    scroll-snap-align: start;
  }
  .roulette-card img {
    height: 170px;
  }
  .roulette-card > div {
    padding: 12px 13px 14px;
  }
  .roulette-card strong {
    font-size: 15px;
  }
  .roulette-center-marker {
    width: min(74vw, 280px);
    top: 9px;
    bottom: 9px;
    border-radius: 20px;
  }
  .roulette-arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .roulette-arrow.prev {
    left: 8px;
  }
  .roulette-arrow.next {
    right: 8px;
  }
  .roulette-actions {
    margin-top: 16px;
    flex-direction: column;
    gap: 11px;
  }
  .roulette-actions .button {
    width: 100%;
  }
  /* Catalogs */
  .catalog-section, .providers-section, .reviews-section {
    padding-bottom: 76px;
  }
  .game-grid {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-right: -14px;
    padding: 0 14px 6px 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .game-grid::-webkit-scrollbar {
    display: none;
  }
  .game-card {
    width: min(78vw, 300px);
    max-width: 300px;
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
    border-radius: 17px;
  }
  .game-copy {
    padding: 13px 14px 15px;
  }
  .game-copy h3 {
    font-size: 15px;
  }
  .game-more {
    opacity: 1;
    transform: none;
  }
  .provider-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .provider-card {
    min-height: 0;
    padding: 18px;
    border-radius: 17px;
  }
  .provider-logo {
    height: 60px;
    margin-bottom: 8px;
  }
  .provider-logo img {
    max-width: 150px;
    max-height: 52px;
  }
  .provider-card > span {
    margin-top: 4px;
  }
  .provider-card > strong {
    font-size: 17px;
  }
  .provider-card p {
    font-size: 11px;
    line-height: 1.6;
  }
  .review-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .review-card {
    padding: 18px;
  }
  .review-head {
    grid-template-columns: 40px minmax(0,1fr) auto;
  }
  .review-card > p {
    min-height: 0;
    font-size: 12px;
    line-height: 1.72;
  }
  /* Mission */
  .mission-banner {
    min-height: 600px;
    margin-bottom: 76px;
    border-radius: 22px;
  }
  .mission-bg {
    background-image: linear-gradient(180deg, rgba(5,18,11,.02), rgba(5,18,11,.20) 42%, rgba(5,18,11,.95) 70%), url('/assets/images/hero/mission.webp');
    background-position: 28% center;
  }
  .mission-copy {
    width: 100%;
    min-height: 600px;
    padding: 310px 22px 30px;
    justify-content: flex-end;
  }
  .mission-copy h2 {
    font-size: clamp(38px, 10vw, 48px);
  }
  .mission-copy p {
    font-size: 13px;
    line-height: 1.7;
  }
  .mission-copy > div {
    display: grid;
    gap: 8px;
  }
  .mission-copy .button {
    width: 100%;
  }
  /* FAQ */
  .faq-section {
    padding-bottom: 76px;
  }
  .faq-item summary {
    min-height: 68px;
    grid-template-columns: 30px minmax(0,1fr) 32px;
    gap: 8px;
    padding: 15px 0;
  }
  .faq-item summary strong {
    font-size: 14px;
    line-height: 1.4;
  }
  .faq-item summary i {
    width: 30px;
    height: 30px;
  }
  .faq-item > div {
    padding: 0 38px 18px;
  }
  .faq-item p {
    font-size: 13px;
    line-height: 1.72;
  }
  .faq-group-title {
    padding: 25px 0 9px;
    font-size: 10px;
  }
  /* Legal */
  .license-band {
    padding: 54px 0;
  }
  .license-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .license-grid h2 {
    font-size: clamp(34px, 9vw, 43px);
  }
  .license-grid p {
    font-size: 12px;
    line-height: 1.72;
  }
  /* Generic article pages */
  .breadcrumbs {
    padding: 18px 0 15px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }
  .article-main, .detail-main {
    padding-bottom: 76px;
  }
  .article-hero {
    min-height: 0;
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 20px;
  }
  .article-hero h1 {
    font-size: clamp(38px, 10vw, 50px);
    line-height: .98;
  }
  .article-hero p {
    font-size: 13px;
    line-height: 1.7;
  }
  .article-emblem {
    display: none;
  }
  .article-actions {
    display: grid;
    gap: 8px;
  }
  .article-actions .button {
    width: 100%;
  }
  .embedded-section {
    padding: 52px 0 8px;
  }
  .catalog-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .catalog-filter input {
    width: 100%;
  }
  .filter-tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tabs button {
    flex: 0 0 auto;
    min-height: 40px;
  }
  .article-layout, .detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 48px;
  }
  .article-aside {
    display: none;
  }
  .article-body > section {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .article-body h2 {
    font-size: clamp(27px, 7.5vw, 34px);
  }
  .article-body p {
    font-size: 13px;
    line-height: 1.75;
  }
  .responsible-note {
    padding: 17px;
  }
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .contact-panel a {
    margin-bottom: 12px;
    overflow-wrap: anywhere;
  }
  /* Game/provider details */
  .game-detail-hero, .provider-detail-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }
  .detail-cover, .detail-cover img {
    min-height: 250px;
    height: 250px;
    border-radius: 16px;
  }
  .detail-copy {
    padding: 16px 8px 22px;
  }
  .detail-copy h1, .provider-detail-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: .98;
  }
  .detail-copy > p, .provider-detail-hero p {
    font-size: 13px;
    line-height: 1.7;
  }
  .detail-tags {
    gap: 6px;
  }
  .detail-tags span {
    font-size: 9px;
  }
  .detail-facts {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }
  .detail-facts article {
    min-height: 78px;
    padding: 12px;
  }
  .detail-facts article strong {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .detail-aside {
    position: static;
    grid-template-columns: 1fr;
  }
  .provider-big-logo {
    min-height: 190px;
  }
  .provider-detail-hero > div:last-child {
    padding: 15px 8px 20px;
  }
  .provider-copy {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 46px;
  }
  /* Support */
  .support-contacts {
    max-width: 100% !important;
    padding-bottom: 34px !important;
    margin-bottom: 32px !important;
  }
  .support-contacts-head {
    margin-bottom: 16px;
  }
  .support-contacts-head p {
    font-size: 13px !important;
    line-height: 1.72 !important;
  }
  .support-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  .support-contact-card {
    min-width: 0;
    padding: 18px !important;
  }
  .support-contact-card strong {
    font-size: 15px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .support-contact-card small {
    font-size: 11px;
  }
  /* Footer */
  .site-footer {
    padding-bottom: 90px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 28px 18px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
  .footer-brand-col p {
    max-width: 100%;
    font-size: 12px;
  }
  .footer-grid > div > strong {
    font-size: 12px;
  }
  .footer-grid > div > a {
    font-size: 11px;
    line-height: 1.55;
  }
  .footer-legal {
    padding-top: 28px;
  }
  .footer-legal p {
    font-size: 10px;
    line-height: 1.65;
  }
  .footer-legal > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  /* Persistent mobile play button */
  .mobile-cta {
    display: block;
    position: fixed;
    z-index: 85;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(229,181,60,.2);
    background: rgba(5,17,11,.94);
    backdrop-filter: blur(16px);
  }
  .mobile-cta a {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(135deg,#ffe182,#d7a127);
    color: #0d150f;
    font-size: 13px;
    font-weight: 900;
  }
  /* Bonus popup */
  .bonus-popup {
    padding: 12px;
  }
  .bonus-popup-card {
    width: min(100%, 380px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 24px 20px 20px;
    border-radius: 22px;
  }
  .bonus-popup-art {
    width: 76px;
    height: 76px;
  }
  .bonus-popup-card h2 {
    font-size: 34px;
  }
  .bonus-popup-card p {
    font-size: 12px;
    line-height: 1.65;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 24px), 100%);
  }
  .header-inner {
    min-height: 58px;
  }
  .brand-word {
    font-size: 13px;
  }
  .header-actions .button-small {
    padding-inline: 11px;
  }
  .mobile-menu {
    grid-template-columns: 1fr;
  }
  .quick-nav {
    grid-template-columns: 1fr;
  }
  .quick-nav > a {
    min-height: 128px;
  }
  .hero, .hero-inner {
    min-height: 690px;
  }
  .hero-copy {
    padding-top: 285px;
  }
  .hero-copy h1 {
    font-size: clamp(46px, 14vw, 58px);
  }
  .roulette-card {
    width: min(76vw, 270px);
    flex-basis: min(76vw, 270px);
  }
  .roulette-center-marker {
    width: min(78vw, 280px);
  }
  .detail-facts {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 370px) {
  .brand-word {
    display: none;
  }
  .header-actions .button-small {
    padding-inline: 10px;
    font-size: 10px;
  }
  .hero-copy h1 {
    font-size: 45px;
  }
  .hero-bonus strong {
    font-size: 20px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .roulette-card {
    width: 78vw;
    flex-basis: 78vw;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand-col {
    grid-column: 1;
  }
}

/* Mobile story timer and close control */
@media(max-width:820px) {
  .story-live-progress {
    display:flex !important;
    height:27px !important;
    padding:8px 10px 8px !important;
    gap:3px !important;
    background:#18130d !important
  }
  .story-live-progress span {
    height:3px !important
  }
  .story-close-real {
    display:grid !important;
    top:34px !important;
    right:9px !important;
    width:44px !important;
    height:44px !important;
    z-index:60 !important;
    pointer-events:auto !important
  }
}

/* story clean-assets mobile override */
@media(max-width:760px) {
  .story-live-progress,[data-story-progress] {
    display:flex !important
  }
  .story-close-real {
    display:grid !important
  }
}

/* Mobile hero and authentication CTA */
@media (max-width: 840px) {
  /* Move content into the previously empty upper part of the hero. */
  .hero {
    min-height: 0 !important;
  }
  .hero-inner {
    min-height: 0 !important;
    align-items: flex-start !important;
  }
  .hero-image-layer {
    background-image: linear-gradient(90deg, rgba(3,15,9,.72) 0%, rgba(3,15,9,.52) 50%, rgba(3,15,9,.18) 100%), linear-gradient(180deg, rgba(3,15,9,.06) 0%, rgba(3,15,9,.12) 42%, rgba(4,16,10,.80) 72%, #06120d 100%), url('/assets/images/hero/hero.webp') !important;
    background-size: auto 100% !important;
    background-position: 64% top !important;
  }
  .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 78px 0 42px !important;
  }
  .hero-copy h1 {
    margin-top: 10px !important;
  }
  /* Two persistent actions instead of one oversized Play button. */
  body {
    padding-bottom: 76px !important;
  }
  .mobile-cta.mobile-auth-cta {
    display: grid !important;
    grid-template-columns: .82fr 1.18fr !important;
    gap: 8px !important;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom)) !important;
  }
  .mobile-cta.mobile-auth-cta > a {
    height: 50px !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 15px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }
  .mobile-login-cta {
    background: #10251b !important;
    border: 1px solid rgba(229,181,60,.32) !important;
    color: #ffe08a !important;
  }
  .mobile-register-cta {
    background: linear-gradient(135deg,#ffe182,#d7a127) !important;
    border: 1px solid rgba(255,226,132,.55) !important;
    color: #0d150f !important;
  }
  .mobile-auth-cta i {
    font-style: normal;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .hero-copy {
    padding-top: 66px !important;
  }
}

@media (max-width: 370px) {
  .hero-copy {
    padding-top: 56px !important;
  }
  .mobile-cta.mobile-auth-cta {
    grid-template-columns: .8fr 1.2fr !important;
    gap: 6px !important;
  }
  .mobile-cta.mobile-auth-cta > a {
    padding-inline: 12px !important;
    font-size: 11px !important;
  }
}

/* Mobile header */
@media (max-width:840px) {
  .site-header {
    background:#120d0c !important;
    border-bottom:1px solid rgba(226,165,45,.22) !important;
    backdrop-filter:none !important;
  }
  .header-inner {
    min-height:66px !important;
    height:66px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    gap:12px !important;
  }
  .brand-wordmark {
    width:148px !important;
    height:40px !important;
    min-width:0 !important;
    flex:0 1 148px !important;
  }
  .brand-logo-image {
    width:100% !important;
    height:auto !important;
    max-height:40px !important;
    object-fit:contain !important;
    object-position:left center !important;
    filter:drop-shadow(0 4px 12px rgba(211,146,29,.12)) !important;
  }
  .main-nav,.telegram-link,.header-actions .button-small,.menu-toggle {
    display:none !important;
  }
  .header-actions {
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    gap:0 !important;
  }
  .header-login {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:82px !important;
    height:42px !important;
    padding:0 17px !important;
    border:1.5px solid #e8ad32 !important;
    border-radius:12px !important;
    background:rgba(20,14,12,.65) !important;
    color:#fff5dd !important;
    font-size:14px !important;
    line-height:1 !important;
    font-weight:800 !important;
    text-decoration:none !important;
    box-shadow:inset 0 0 0 1px rgba(255,213,103,.07),0 7px 20px rgba(0,0,0,.18) !important;
  }
  .header-login:active {
    transform:translateY(1px)
  }
  .mobile-menu {
    display:none !important
  }
}

@media (max-width:370px) {
  .brand-wordmark {
    width:132px !important;
    flex-basis:132px !important
  }
  .header-login {
    min-width:74px !important;
    height:40px !important;
    padding-inline:14px !important;
    font-size:13px !important
  }
}
