.fil-portrait-trigger { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; border-radius: inherit; cursor: pointer; }
.fil-portrait-trigger > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.fil-portrait-dialog img { display: block; max-inline-size: 100%; max-block-size: 65dvh; object-fit: contain; margin: 0 auto 1rem; }

/* The document owns vertical scrolling. Only the conversation history scrolls
   independently; the marketing introduction and the member notice take their natural height. */
html:has(> body.messages-page:not([data-message-window="fullscreen"])) {
  height: auto !important; overflow-y: auto !important;
}
body.messages-page:not([data-message-window="fullscreen"]) {
  height: auto !important; overflow-y: visible !important;
}
body.messages-page:not([data-message-window="fullscreen"]) > #main {
  position: relative !important; inset: auto !important; display: block !important; padding-block-start: 0 !important;
  height: auto !important; max-height: none !important; min-height: 0 !important; overflow: visible !important;
}
body.messages-page:not([data-message-window="fullscreen"]) > .site-footer { display: block !important; }
body.messages-page:not([data-message-window="fullscreen"]) #main > .message-windowbar { position: sticky !important; }
body.messages-page:not([data-message-window="fullscreen"],[data-messaging-state="demo"]) #main #messages-app,
body.messages-page:not([data-message-window="fullscreen"]) #main #messages-visitor:not([hidden]),
body.messages-page:not([data-message-window="fullscreen"]) #main #messages-compte:not([hidden]) {
  position: relative !important; inset: auto !important; height: auto !important; min-height: 0 !important;
  max-height: none !important; overflow: visible !important; flex: none;
}
body.messages-page:not([data-message-window="fullscreen"]) #main #messages-visitor > .messages-intro {
  height: auto !important; max-height: none !important; min-height: 0 !important; overflow: visible !important;
}
body.messages-page[data-messaging-state="inbox"] .message-bar-inner > [data-open-member-inbox],
body.messages-page[data-messaging-state="inbox"] .message-bar-search { display: none; }
body.messages-page #messages-compte:not([hidden]) { display: block !important; }
body.messages-page #messages-compte .messages-inbox,
body.messages-page #messages-compte .message-thread {
  display: block !important; width: auto; min-height: 0; height: auto !important;
  max-height: none !important; padding: clamp(14px, 2vw, 24px); overflow: visible;
}
body.messages-page #messages-compte .thread-messages { padding: 0; height: auto; overflow: visible; }
body.messages-page #messages-compte .thread-messages p { margin: 0 0 .75rem; }
body.messages-page:not([data-message-window="fullscreen"]) :is(.message-contacts,.thread-messages) { overscroll-behavior-y: auto; }
body.messages-page #main #messages-compte .message-empty { padding: .5rem 0 1rem; text-align: start; }
body.messages-page:not([data-message-window="fullscreen"]) #main #messages-app { margin-block-end: 0 !important; }
body.messages-page .message-intro-details > summary { font-weight: 650; cursor: pointer; }
body.messages-page .message-intro-details[open] > summary { margin-bottom: .6rem; }
body.messages-page #messages-visitor .message-intro-details small { display: block; line-height: 1.5; }
@media (min-width: 768px) and (min-height: 601px) {
  body.messages-page #main #messages-visitor { grid-template-columns: minmax(0,43%) minmax(0,1fr); }
  body.messages-page #main #messages-visitor .messages-human { height: auto !important; min-height: 0; align-self: stretch; }
  body.messages-page #main #messages-visitor .messages-intro { padding-block: clamp(18px,3vh,36px); }
}
@media (max-width: 767px), (max-height: 600px) {
  body.messages-page #main #messages-visitor:not([hidden]) { display: flex !important; flex-direction: column; gap: 0; }
  body.messages-page #main #messages-visitor > .messages-human { order: 2; height: clamp(88px,17svh,150px) !important; }
  body.messages-page #main #messages-visitor > .messages-intro {
    display: flex !important; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 12px max(14px,env(safe-area-inset-right)) 12px max(14px,env(safe-area-inset-left));
  }
  body.messages-page #main #messages-visitor .messages-intro > :is(h2,p,.cta-row,.message-tour,.message-intro-details) { margin-block: 0 .55rem; }
  body.messages-page #main #messages-visitor .messages-intro h2 { font-size: clamp(1.25rem,4vw,1.8rem); line-height: 1.13; }
  body.messages-page #main #messages-visitor .messages-intro p { font-size: .875rem; line-height: 1.45; }
  body.messages-page #main #messages-visitor .messages-intro .cta-row { display: flex; flex-wrap: wrap; gap: .45rem; }
  body.messages-page #main #messages-visitor .cta-row .btn { min-height: 40px; padding: 8px 12px; white-space: normal; }
  body.messages-page #main #messages-visitor .messages-intro > :is(.eyebrow,.guest-message-modes375) { display: none; }
}
@media (max-height: 475px) and (min-width: 560px) {
  body.messages-page #main #messages-visitor > .messages-intro { display: grid !important; grid-template-columns: 1fr 1fr; gap: 5px 20px; }
  body.messages-page #main #messages-visitor .messages-intro > h2 { grid-area: 1 / 1; }
  body.messages-page #main #messages-visitor .messages-intro > p { grid-area: 2 / 1; }
  body.messages-page #main #messages-visitor .messages-intro .cta-row { grid-area: 1 / 2; }
  body.messages-page #main #messages-visitor .message-tour { grid-area: 2 / 2; align-self: start; }
  body.messages-page #main #messages-visitor .message-intro-details { grid-column: 1/-1; }
}

/* Use the full width for reading surfaces on phones. Avatars, inputs, action
   buttons, balances and status badges keep their own shapes and contrast. */
@media (max-width: 767px) {
  html:has(> body.social-feed-page), body.social-feed-page,
  body.social-feed-page #main :is(.fil-shell,.fil-workspace,.stream-center,.stream-post,
    .fil-toolbar,.stream-composer,.fil-controls,.fil-command253,.feed-thread,.fil-gate,#stream-posts) {
    background: white !important; border-radius: 0 !important; box-shadow: none !important;
  }
  body.social-feed-page #main .fil-shell,
  body.social-feed-page #main .fil-workspace,
  body.social-feed-page #main .stream-center {
    box-sizing: border-box; width: 100% !important; max-width: none; min-width: 0;
    margin-inline: 0 !important; padding-inline: 0 !important;
  }
  body.social-feed-page #main .fil-workspace { grid-template-columns: minmax(0,1fr) !important; }
  body.social-feed-page #main .stream-post {
    margin-inline: 0 !important; border: 0 !important; border-bottom: 1px solid #dce5e8 !important;
  }
  body.social-feed-page #main .stream-post :is(.stream-media,.stream-media > img) { border-radius: 0 !important; }
  body.social-feed-page #main .fil-shell > .journey-header { padding-inline: max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right)); }
  body.messages-page #main :is(.messages-app,.messages-intro,.messages-inbox,.message-thread,.thread-messages,.messages-visitor),
  body #main .account60 :is(.surface60,.assets-board,.assets-sidebar,.side60,.assets-actions) {
    border-radius: 0 !important; box-shadow: none !important;
  }
  body.messages-page #main :is(.messages-app,.messages-intro,.messages-inbox,.message-thread,.thread-messages),
  body[data-service-page="mon-compte"], body #main .account60 .surface60,
  body [data-oz-layout-page^="/account"] ~ main .page-fill { background: white !important; }
  body [data-oz-layout-page^="/account"] ~ main .page-fill :is(section,article).rounded-3xl { border-radius: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .13s; }
}

/* The parent shell already reserves its measured navigation height. Standalone
   theme documents still need their own fixed-header offset. */
html.oz-content-frame, html.oz-content-frame > body {
  --header: 0px !important;
  --home-header-height: 0px !important;
}
html.oz-content-frame > body,
html > body:is(.oz-navigation-host, .oz-footer-frame) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
html.oz-content-frame .message-windowbar { top: 0 !important; }
body > [data-oz-layout-page] ~ main.pt-header {
  padding-block-start: 0 !important;
}
body > [data-oz-layout-page] ~ main.min-h-dvh {
  min-height: calc(100dvh - var(--oz-layout-header-height, 64px));
}

/* On wide, shallow displays keep width-based desktop spacing proportional to
   the usable height too. Preserve magnification and the reader's font setting. */
@media screen and (min-width: 1440.01px) and (min-aspect-ratio: 2/1) {
  html:not([style*="--oz-browser-pixel"]):has(> body[data-root]),
  html:not([style*="--oz-browser-pixel"]):has(> body:is(.oz-navigation-host,.oz-footer-frame)) {
    --oz-desktop-pixel: calc(min(.0694444444vw, .15vh) * var(--oz-interface-scale, 1));
  }
}

/* Apply the safe-area inset at the outer content edge once. */
:root { --oz-page-gutter: clamp(12px, 3vw, 32px); }
@media (max-width: 1023px) {
  body:is(.home-page,.auth-page,.text-rhythm) #main > .shell,
  body.home-page #main > .hero > .hero-layout {
    box-sizing: border-box;
    width: auto;
    margin-left: max(var(--oz-page-gutter),env(safe-area-inset-left));
    margin-right: max(var(--oz-page-gutter),env(safe-area-inset-right));
  }
  body.social-feed-page #main > .fil-shell {
    padding-inline: max(var(--oz-page-gutter),env(safe-area-inset-left)) max(var(--oz-page-gutter),env(safe-area-inset-right));
  }
}
body:is(.explorer-page,.social-feed-page) #main .journey-header {
  margin-block-start: clamp(10px, 2vh, 20px) !important;
  margin-block-end: clamp(10px, 2vh, 20px) !important;
}
body.home-page #main .hero-layout { min-height: 0; }
body.auth-page #main .auth-content, body [data-oz-layout-page] ~ main .max-w-128 { min-width: 0; }
body :is([data-oz-layout-page="/login"],[data-oz-layout-page="/register"]) ~ main .max-w-128 {
  padding-block-start: clamp(12px, 3vh, 32px);
}
@media (max-width: 767px), (max-height: 600px) {
  body.messages-page #messages-visitor > .messages-human {
    min-height: 0 !important;
    height: clamp(88px, 20svh, 160px) !important;
  }
  body.messages-page #messages-visitor > .messages-intro {
    padding-block-start: clamp(10px, 2vh, 18px) !important;
  }
  body.auth-page #main .auth-content { padding-block-start: clamp(12px, 3vh, 24px); }
  body [data-oz-layout-page="/register"] ~ main .max-w-128 > section {
    margin-block-start: clamp(10px, 2vh, 18px);
  }
  body [data-oz-layout-page="/learn-and-earn"] ~ main header .my-6 {
    margin-block: 12px; padding-block: 12px;
  }
}
@media (max-height: 540px) and (orientation: landscape) {
  body.home-page #main .hero-copy h1 { font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.08; }
  body.home-page #main .hero-layout { padding-block: 12px; }
  body.home-page #main .hero-copy :is(.lead,.cta-row) { margin-block: 8px; }
  body.home-page #main .hero-copy { align-self: start; }
  body.messages-page #messages-visitor > .messages-human { height: 88px !important; }
}

/* Horizontal space is available on a phone in landscape even when height is scarce. */
@media (min-width: 560px) and (max-width: 900px) and (max-height: 540px) {
  body.explorer-page #main > .journey-header,
  body.social-feed-page #main .journey-header {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: center;
    gap: 12px !important;
  }
  body:is(.explorer-page,.social-feed-page) #main .journey-header > :is(.journey-brand,.journey-search) {
    grid-area: auto !important; width: 100% !important; min-width: 0;
  }
  body.explorer-page #main #explorer-form {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto !important;
    gap: 6px; padding: 6px !important;
  }
  body.explorer-page #main #explorer-form > :is(label,button) {
    grid-area: auto !important; min-width: 0;
  }
  body.messages-page #messages-visitor:not([hidden]) {
    display: grid !important;
    grid-template-columns: minmax(0,27%) minmax(0,1fr);
    align-items: start;
  }
  body.messages-page #messages-visitor > .messages-human {height: 100% !important;}
  body [data-oz-layout-page="/register"] ~ main fieldset:has(input[type="radio"]) {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body [data-oz-layout-page="/register"] ~ main .max-w-128 {max-width: 42rem;}
}
@media (max-height: 600px) {
  body [data-oz-layout-page="/register"] ~ main .relative.flex.flex-col {padding-block-start: 8px}
  body [data-oz-layout-page="/register"] ~ main .max-w-128 > section > p {margin-block: 6px 10px}
  body [data-oz-layout-page="/register"] ~ main fieldset + div {margin-block-start: 10px}
}
/* Give the next-quest action its own row before the longer rewards description. */
@media (max-width: 767px), (max-height: 600px) {
  body [data-oz-layout-page="/learn-and-earn"] ~ main header > div:has(> h2) {display:flex; flex-direction:column;}
  body [data-oz-layout-page="/learn-and-earn"] ~ main header > div > .my-6 {order:1; margin-bottom:0}
}

@media (max-height: 540px) and (orientation: landscape) {
  body [data-oz-layout-page="/learn-and-earn"] ~ main > div:first-child {padding-top: 10px}
  body [data-oz-layout-page="/learn-and-earn"] ~ main header > div:has(>h2) {padding-top: 12px}
  body [data-oz-layout-page="/learn-and-earn"] ~ main header :is(.mb-6,.mb-4) {margin-bottom: 6px}
  body [data-oz-layout-page="/learn-and-earn"] ~ main header h2 {font-size:1.75rem}
  body.auth-page #main .auth-shell .auth-content {padding-block-start: 10px !important}
}

/* Text stays available to assistive technology when a narrow navigation uses icons. */
.oz-member-tabs .oz-member-tab-icon { display: none; }
.oz-email-challenge { display: grid; justify-items: start; gap: .75rem; margin-block: .75rem; }

@media (max-width: 1023px) {
  body #main .business-public-detail149 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body #main .business-public-detail149 > * { min-inline-size: 0; max-inline-size: 100%; }
  body #main .business-public-detail149 :is(img, figure) { max-inline-size: 100%; }
  body [data-oz-layout-page="/business-space"] ~ main .shell.grid > * { min-inline-size: 0; }
  body [data-oz-layout-page="/business-space"] ~ main .flex:has(> a) { flex-wrap: wrap; }
  body [data-oz-layout-page="/business-space"] ~ main a[class~="group/button"] {
    max-inline-size: 100%; height: auto; min-height: 44px; white-space: normal; text-align: center;
  }
}

@media (max-width: 767px) {
  body [data-oz-layout-page="/oza-token"] ~ main > .shell.grid { grid-template-columns: minmax(0, 1fr); }
  body [data-oz-layout-page="/oza-token"] ~ main > .shell.grid > * { min-inline-size: 0; max-inline-size: 100%; }
  body [data-oz-layout-page="/oza-token"] ~ main a[class~="group/button"] { max-width: 100%; white-space: normal; }
  body #main .business-public-detail149 { grid-template-columns: minmax(0, 1fr); }
  body.text-rhythm #main :is(.pro-new-hero, .official-app-section, .business-teaser149) {
    grid-template-columns: minmax(0, 1fr);
  }
  body #main :is(.pro-new-hero, .official-app-section, .business-teaser149) > * {
    min-inline-size: 0; max-inline-size: 100%;
  }
  body #main .official-app-section .store-buttons, body #main .pro-new-hero .cta-row {
    max-inline-size: 100%; min-inline-size: 0; flex-wrap: wrap;
  }
  body #main .official-app-section .store-brand, body #main .pro-new-hero .cta-row > a {
    min-inline-size: 0; max-inline-size: 100%; white-space: normal;
  }
  body .site-header .country-menu402:not([open]) > .country-panel402 { display: none; }
  body .site-header .country-menu402[open] > .country-panel402 {
    position: fixed; inset-inline: auto max(12px, env(safe-area-inset-right));
    top: var(--home-header-height, 64px);
    width: min(260px, calc(100vw - 24px)); max-height: calc(100dvh - var(--home-header-height, 64px) - 12px);
    overflow: auto; overscroll-behavior: contain;
  }

  /* Keep dialog actions reachable with the software keyboard open or the phone rotated. */
  body [data-slot="sheet-content"] {
    box-sizing: border-box; max-block-size: 100dvh; max-inline-size: 100%;
    overflow-y: auto; overscroll-behavior: contain;
  }
  body [data-slot="sheet-content"]:is([data-side="left"], [data-side="right"]) { width: min(100%, 24rem); }
  body [data-slot="sheet-content"] [data-slot="sheet-close"] { min-width: 44px; min-height: 44px; }
  body [data-slot="sheet-footer"] { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
  body dialog[open]:not(.asset-window401) {
    box-sizing: border-box; max-inline-size: 100%; max-block-size: 100dvh; overscroll-behavior: contain;
  }
  body .asset-window401 > .asset-window-content412 { min-inline-size: 0; }
  body.messages-page #main > header.message-windowbar,
  body dialog.asset-window401[open]:not([data-asset-window401="minimized"]) > .asset-window-bar401 {
    --frame-button-size: 44px !important;
    --frame-control-height: 50px !important;
  }
  body dialog.asset-window401[open] > .asset-window-bar401 .window-actions401 { gap: 2px; }
}
@media (max-width: 639px) {
  .oz-member-tabs a { position: relative; display: grid; place-items: center; min-inline-size: 44px; min-block-size: 44px; padding: .5rem; }
  .oz-member-tabs .oz-member-tab-icon { display: block; inline-size: 21px; block-size: 21px; }
  .oz-member-tabs a > span, body #main .wallet-tabs328 [data-wallet-tab-label] {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  body #main .account60 .dashboard60 { grid-template-columns: minmax(0, 1fr) !important; row-gap: 12px; }
  body #main .account60 .dashboard60 > :is(.main60, .assets-sidebar) { min-width: 0; width: 100%; }
  body #main .account60 .assets-sidebar { position: static; }
  body #main .account60 .assets-sidebar summary { writing-mode: horizontal-tb; padding-inline: 12px; }
  body #main .account60 .assets-sidebar .side60 {
    position: static; box-sizing: border-box; width: 100%; max-height: none; overflow: visible;
    box-shadow: none; border: 0; padding: 0; margin-top: 8px;
  }
  body #main .account60 .dashboard60 .assets-board { box-sizing: border-box; width: 100%; max-width: 100%; margin-inline: 0 !important; padding-inline: clamp(8px, 2.5vw, 14px) !important; }
  body #main .assets-board .wallet-tabs328 {
    display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 2px !important; padding-inline: 2px !important; max-inline-size: 100%; min-inline-size: 0;
  }
  body #main .assets-board .wallet-tabs328 > button[role="tab"] {
    position: relative; grid-column: auto !important; display: grid !important; place-items: center;
    width: 100% !important; min-width: 0 !important; min-height: 44px; padding: 4px !important;
  }
  body #main .wallet-tabs328 [role="tab"] > :is(svg, .universe-euro) { display: inline-block !important; width: 20px; height: 20px; }
  body #main .wallet-tabs328 .wallet-tab-star:not([hidden]) { position: absolute; inset: 2px 3px auto auto; font-size: 9px; }
}

/* Ozapay : pictogrammes des commandes visibles */
body.home-page .home-search .icon-square { display: inline-grid; place-items: center; flex-shrink: 0; }
body .search-button-content224 > svg.icon,
body .wallet-tabs328 .icon:not([hidden]),
body #main #oza-pay325 .pay-tabs325 .icon:not([hidden]),
body .transaction-examples .section-head60 > .icon,
body .fil-journey .icon, body .fil-place > .icon,
body .rwd-route > .icon, body .home-news .post-read > .icon {
  display: inline-block;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  body .search-form .search-button-content224 > .search-button-label224 {
    display: inline !important; position: absolute; width: 1px; height: 1px;
    padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}
@media (min-width: 768px) {
  body .search-form .search-button-content224 > .search-button-label224 { display: inline; }
}

/* oz-auth-transition-v1 */
/* Cover the auth form from first paint while the destination is loading. */
@media (scripting: enabled) {
  html:not([data-oz-auth-ready]):has(body.auth-page,main :is(#login-contact,#login-phone,#login-email),main form input[type="radio"][name="accountType"])::after {
    content: ""; position: fixed; inset: 0; z-index: 2147483646;
    background: rgba(255,255,255,.76);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    animation: oz-auth-fallback 0s 20s forwards;
  }
}
@keyframes oz-auth-fallback { to {visibility:hidden;} }

/* ozapay-standalone-frames-1 */
html:has([data-oz-layout-page]), html:has(body.auth-page), html.oz-has-fixed-footer { overscroll-behavior: none; }
[data-oz-layout-page] > iframe[title="Navigation Ozapay"] { position: fixed !important; inset: 0 0 auto !important; }
#oz-fixed-independent-footer, #oz-fixed-independent-header {
  position: fixed; inset-inline: 0; width: 100%; margin: 0; padding: 0; border: 0;
}
/* ozapay-standalone-footer-flow-1 */
#oz-fixed-independent-footer {
  position: static; height: auto; overflow: visible; width: 100%; margin: auto 0 0;
  padding: 0; border: 0; background: #111216;
}
#oz-fixed-independent-footer iframe { display: block; width: 100%; border: 0; }
[data-oz-original-footer] { display: none !important; }
#oz-fixed-independent-header { top: 0; height: 100dvh; z-index: 1000; clip-path: inset(0 0 calc(100% - var(--oz-pin-header,72px)) 0); }
#oz-fixed-independent-header.expanded { clip-path: none; }
[data-oz-header-placeholder] { visibility: hidden !important; }

/* ozapay-embedded-auth-1 */
html.oz-embedded-form :is(body > header.site-header,[data-oz-layout-page]:has(> iframe[title="Navigation Ozapay"]),#oz-fixed-independent-header) {display:none!important}
html.oz-embedded-form body.auth-page, html.oz-embedded-form main:is(.pt-header,.auth-main) {padding-top:0!important}
html.oz-embedded-form :is([data-auth-close],[data-close-login]) {display:none!important}
/* ozapay-profile-country-v1 */
html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"][data-identity]{
 display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-width:50px!important;width:auto!important;max-width:none!important;padding-inline:7px!important
}
html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"][data-identity] > [data-member-menu-label]{
 display:inline!important;order:2;font-weight:650;white-space:nowrap
}
html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"][data-identity] > [data-identity-photo]{
 display:inline-grid!important;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;overflow:hidden;order:1
}
.site-header [data-identity-photo] :is(img,svg){display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:1150px){
 html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"][data-identity] > [data-member-menu-label]{display:none!important}
 html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"][data-identity] > svg:last-of-type{display:block!important;order:3;flex:none;width:16px;height:16px}
}
.country-panel402 [role=group] a[data-country402]{display:flex;align-items:center;gap:10px;padding:7px 10px;color:inherit;text-decoration:none;text-align:start}
.country-panel402 a[data-country402][hidden]{display:none!important}
.country-panel402 a[data-country402] small{display:block}
.country-panel402 a[data-country402] .country-check402{margin-inline-start:auto}
body footer:is(#footer,.site-footer,[data-oz-site-footer]){padding-block:clamp(10px,1.3vw,20px) max(10px,env(safe-area-inset-bottom))!important}
body footer:is(#footer,.site-footer,[data-oz-site-footer]) .footer-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:clamp(12px,2vw,32px);padding-block:0!important;margin-block:0!important}
body footer:is(#footer,.site-footer,[data-oz-site-footer]) .footer-bottom{padding-block:8px 0!important;margin-block:10px 0!important}
body footer:is(#footer,.site-footer,[data-oz-site-footer]) .footer-col{min-width:0;margin-block:0}
body footer:is(#footer,.site-footer,[data-oz-site-footer]) .footer-col :is(h2,h3,p){margin-block:0 6px}
@media(max-width:960px){body footer:is(#footer,.site-footer,[data-oz-site-footer]) .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body footer:is(#footer,.site-footer,[data-oz-site-footer]) .footer-top{grid-template-columns:minmax(0,1fr);row-gap:6px}}
/* ozapay-auth-fullscreen-v1 */
#oz-auth-content-frame {
  position:fixed!important; inset:var(--oz-auth-top,0px) 0 auto!important; width:100%!important;
  height:var(--oz-auth-height,100dvh)!important; max-height:none!important;
  z-index:2147482000!important; margin:0!important;
}
#oz-close-auth-frame {
  inset:calc(var(--oz-auth-top,0px) + max(4px,env(safe-area-inset-top))) max(8px,env(safe-area-inset-right)) auto auto!important;
  z-index:2147482001!important;
}
html.oz-auth-screen, html.oz-auth-screen > body {
  overflow:hidden!important; height:100%!important; min-height:0!important; margin:0!important; padding:0!important;
}
html.oz-auth-screen body > :is(header,.help-dock,footer,#oz-fixed-independent-header,#oz-fixed-independent-footer,[data-oz-layout-page]) {display:none!important}
html.oz-auth-screen body > main {
  position:fixed!important; inset:var(--oz-auth-top,0px) 0 auto!important;
  height:var(--oz-auth-height,100dvh)!important; min-height:0!important; max-height:none!important;
  width:100%!important; max-width:none!important; padding:0!important; margin:0!important;
  overflow:auto!important; overscroll-behavior:contain; box-sizing:border-box;
}
html.oz-auth-screen .auth-page main#main > .auth-shell {
  display:grid!important;grid-template-columns:minmax(0,46fr) minmax(0,54fr);
  width:100%!important;max-width:none!important;height:auto!important;min-height:100%!important;
  margin:0!important;padding:0!important;gap:0!important;
}
html.oz-auth-screen .auth-page #main .auth-visual,html.oz-auth-screen main aside {
  height:auto!important;min-height:0!important;top:0!important;position:relative!important;
}
html.oz-auth-screen .auth-page #main .auth-shell .auth-content,
html.oz-auth-screen main .relative.flex.flex-col:has([data-auth-close]) {
  box-sizing:border-box;position:relative;display:flex;flex-direction:column;justify-content:safe center;
  align-items:center;min-height:0!important;min-width:0!important;
  padding:clamp(12px,3dvh,28px) clamp(16px,4vw,48px)!important;
}
html.oz-auth-screen .auth-content .login367,html.oz-auth-screen main .max-w-128 {
  box-sizing:border-box;width:100%!important;max-width:34rem!important;
  margin:0 auto!important;padding:0!important;
}
html.oz-auth-screen main .login-close242,html.oz-auth-screen [data-auth-close] {
  position:absolute!important;inset:max(4px,env(safe-area-inset-top)) 8px auto auto!important;z-index:2;
}
html.oz-auth-screen main .login367 h2 {font-size:clamp(24px,4.4dvh,36px)!important;line-height:1.12!important;margin-block:0 10px!important;padding-right:32px}
html.oz-auth-screen main .login367 :is(p,label,small) {line-height:1.32}
html.oz-auth-screen main .login367 :is(.login-intro367,.login-private367,.login-or367,.login-signup367,.otp-private369,.otp-help369,.otp-destination369) {margin-block:clamp(4px,1.1dvh,10px)!important}
html.oz-auth-screen main .login367 :is(.login-input367,.login-submit367,.login-alternative367,.login-security367,.otp-resend369) {min-height:42px!important;height:auto!important;padding-block:clamp(5px,1.2dvh,12px)!important;margin-block:4px!important}
html.oz-auth-screen main .login367 :is(.login-feedback367,.login-demo367):empty {display:none}
html.oz-auth-screen main .login367 form {margin-block:0!important}
html.oz-auth-screen main input:not([type=radio]):not([type=checkbox]) {font-size:max(16px,1em)}
@media(max-width:850px),(max-height:580px){
  html.oz-auth-screen .auth-page main#main > .auth-shell,html.oz-auth-screen main .grid.flex-1 {grid-template-columns:minmax(0,1fr)!important}
  html.oz-auth-screen main :is(aside.auth-visual,aside.lg\:block) {display:none!important}
  html.oz-auth-screen main .max-w-128 > section {margin-top:10px!important}
  html.oz-auth-screen #register-step-title {font-size:clamp(20px,4dvh,28px)!important}
}
@media(max-height:580px){
  html.oz-auth-screen main .login367 .login-security367 {display:none!important}
  html.oz-auth-screen main .login367 .login-private367 {display:none!important}
  html.oz-auth-screen main .login367 .login-intro367 {margin-block:3px!important}
  html.oz-auth-screen main .max-w-128 :is(.mt-6,.mt-4) {margin-top:6px!important}
  html.oz-auth-screen main fieldset:has(input[type=radio]) > label {padding:6px!important}
}
@media(min-width:570px) and (max-height:530px){
  html.oz-auth-screen main .max-w-128 fieldset:has(input[type=radio]) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  html.oz-auth-screen main .login367 > section:not([hidden]):has(.login-input367) {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px;align-items:center}
  html.oz-auth-screen main .login367 > section:has(.login-input367) > :is(h2,.login-intro367,.login-signup367) {grid-column:1/-1}
  html.oz-auth-screen main .login367 > section:has(.login-input367) > .login-or367 {display:none}
}
html body [data-oz-help-duplicate]{display:none!important}
html[data-oz-full-nav] #account-drawer .drawer-site-nav{display:none!important}
html.oz-auth-screen body > .help-dock{display:block!important}
html.oz-auth-screen main :is([data-auth-close],.login-close242){min-width:40px;min-height:40px}
html.oz-auth-screen #register-step-title{line-height:1.15;text-wrap:balance}
@media (max-width:640px),(max-height:640px){
 html.oz-auth-screen body :is(.help-toggle,button[data-slot="popover-trigger"].fixed[aria-haspopup="dialog"]){font-size:0!important;gap:0!important;width:40px!important;height:40px!important;min-height:40px!important;padding:8px!important;bottom:max(4px,env(safe-area-inset-bottom))!important;right:max(4px,env(safe-area-inset-right))!important}
 html.oz-auth-screen body main#main,html.oz-auth-screen body > main{padding-bottom:calc(44px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:50px}
 html.oz-auth-screen .auth-content,html.oz-auth-screen main .relative.flex.flex-col:has([data-auth-close]){min-width:0!important}
 html.oz-auth-screen main .max-w-128 :is(input,select,textarea){max-width:100%;min-width:0}
}
html.oz-auth-screen body.auth-page > aside.help-dock:has(> #help-toggle){display:block!important}
@media(min-width:570px) and (max-height:530px){
 html.oz-auth-screen body.auth-page main#main{padding-bottom:4px!important;padding-inline-end:48px!important}
}

/* ozapay-member-button-fit-v2 */
html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"][data-identity]{
 display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
 width:max-content!important;inline-size:max-content!important;min-width:44px!important;max-width:none!important;
 height:44px!important;box-sizing:border-box;aspect-ratio:auto!important;border-radius:999px!important;
 padding:4px 8px!important;gap:6px!important;overflow:visible!important
}
html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"] > span.header-profile-photo[data-identity-photo]{
 display:grid!important;place-items:center;position:static!important;box-sizing:border-box;flex:0 0 32px!important;
 inline-size:32px!important;min-inline-size:32px!important;max-inline-size:32px!important;
 block-size:32px!important;min-block-size:32px!important;max-block-size:32px!important;
 border-radius:50%!important;overflow:hidden!important;aspect-ratio:1!important;order:0
}
html[data-oz-header-state="member"] .site-header [data-identity-photo] > img{inline-size:100%!important;block-size:100%!important;object-fit:cover!important;display:block}
@media(max-width:600px){
 html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"][data-identity]{width:44px!important;inline-size:44px!important;gap:0!important;padding:4px!important}
 html[data-oz-identity-shell][data-oz-header-state="member"] body .site-header .nav-actions > a.account-link.account-menu-toggle[data-identity="member"][data-identity] > :is(svg:last-of-type,[data-member-menu-label]){display:none!important}
}
/* ozapay-auth-band-compact-close */
html.oz-auth-screen.oz-auth-desktop-band,html.oz-auth-screen.oz-auth-desktop-band > body{height:auto!important;min-height:100dvh!important;overflow:visible!important}
html.oz-auth-desktop-band body{display:flex;flex-direction:column}
html.oz-auth-screen.oz-auth-desktop-band body > :is(header.site-header,[data-oz-layout-page],#oz-fixed-independent-header,#oz-fixed-independent-footer,footer){display:block!important}
html.oz-auth-screen.oz-auth-desktop-band body > main{
 position:relative!important;inset:auto!important;display:flex;flex-direction:column;flex:1 0 auto;
 height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important
}
html.oz-auth-desktop-band main > .auth-shell,html.oz-auth-desktop-band main .grid.flex-1{flex:1 0 auto}
html.oz-auth-desktop-band body > iframe[data-oz-auth-footer]{display:block;width:100%;height:1px;border:0;flex:none}
html.oz-auth-desktop-band main :is(.auth-content,.relative.flex.flex-col:has([data-auth-close])){padding-block:clamp(28px,4vh,52px)!important}
html.oz-auth-screen body main :is(.login-close242,[data-auth-close]),html body #oz-close-auth-frame{
 display:inline-grid!important;place-items:center!important;box-sizing:border-box!important;flex:none!important;
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;
 padding:0!important;border:0!important;background:transparent!important;
 color:inherit;font:normal 0/1 sans-serif!important;text-decoration:none!important
}
html.oz-auth-screen body main :is(.login-close242,[data-auth-close]) > svg{display:none!important}
html.oz-auth-screen body main :is(.login-close242,[data-auth-close])::after,html body #oz-close-auth-frame::after{
 content:''!important;width:16px!important;height:16px!important;display:block!important;position:static!important;
 background:linear-gradient(45deg,transparent 45%,currentColor 46% 54%,transparent 55%) center / 12px 12px no-repeat,linear-gradient(-45deg,transparent 45%,currentColor 46% 54%,transparent 55%) center / 12px 12px no-repeat
}
html.oz-auth-screen body main :is(.login-close242,[data-auth-close])::before,html body #oz-close-auth-frame::before{content:none!important}
html.oz-embedded-form body main :is(.login-close242,[data-auth-close]){visibility:hidden!important}
html.oz-auth-screen.oz-auth-desktop-band body.auth-page > header.site-header{position:sticky!important;top:0!important;flex:none!important;align-self:stretch}
/* ozapay-login-photo-stable */
@media (min-width:851px) and (min-height:581px) {
  html body.auth-page #main > .auth-shell[data-email-check] {
    box-sizing:border-box;
    height:var(--email-check-height)!important;
    min-height:0!important;
    max-height:var(--email-check-height)!important;
    grid-template-rows:minmax(0,1fr)!important;
    flex-grow:0!important;
    overflow-anchor:none;
  }
  html body.auth-page #main > .auth-shell[data-email-check] > .auth-visual {
    min-height:0!important;height:100%!important;align-self:start;box-sizing:border-box;
  }
  html body.auth-page #main > .auth-shell[data-email-check] > .auth-content {
    min-height:0!important;height:100%!important;overflow-y:auto;box-sizing:border-box;
    justify-content:safe center!important;
  }
  html body.auth-page #main .auth-shell[data-email-check] .login367 {flex-shrink:0}
}
