/* Umbrella France — expérience mobile V36.
   Ce fichier ne s'active pas sur écran large et préserve tous les modules desktop. */
@media (max-width:820px) {
  :root { --header-h:120px; --footer-h:67px; }
  html,body { width:100%; max-width:100%; margin:0; overflow:hidden; }
  body { -webkit-text-size-adjust:100%; }
  .app-shell {
    height:100dvh; min-height:100dvh; max-height:100dvh;
    display:grid; grid-template-rows:var(--header-h) minmax(0,1fr) var(--footer-h);
    overflow:hidden; width:100%;
  }
  .site-header {
    grid-row:1; position:relative; z-index:60; height:var(--header-h)!important;
    min-height:var(--header-h)!important; width:100%; padding:0 12px!important;
    display:flex; align-items:flex-start; gap:9px;
    background:linear-gradient(110deg,#17212a,#080d13 58%,#181015);
    border-bottom:1px solid #b32a36;
  }
  .site-header .brand { align-self:flex-start; height:64px; display:flex; min-width:0; flex:1 1 auto; gap:8px; overflow:hidden; }
  .site-header .brand-emblem { width:45px!important; height:45px!important; flex:0 0 45px; object-fit:contain; }
  .site-header .brand-wordmark { min-width:0; }
  .site-header .brand-wordmark strong { font-size:clamp(15px,4vw,21px)!important; line-height:.91; letter-spacing:-.7px; }
  .site-header .brand-wordmark small { font-size:7px!important;letter-spacing:.2px; padding-top:5px; white-space:nowrap; }
  .site-header .brand-meta,.site-header .brand-divider,.site-header .header-roundel {display:none!important;}
  .site-header .header-tools { flex:0 0 auto; height:64px; margin:0; padding:0; gap:6px!important;display:flex; align-items:center; }
  .site-header .header-tools .icon-button, .site-header .header-tools .icon-button.ui-sound-button {
    width:35px!important;height:39px!important;min-width:35px!important;
    display:grid!important;place-items:center;border-radius:10px;
    background:#101924; border:1px solid #39434e; color:#e7edf4;
  }
  .site-header .header-tools .icon-button > svg {width:19px!important;height:19px!important;}
  .site-header .top-navigation {
    top:65px!important; left:0!important;right:0!important; width:100%!important;
    height:54px!important; padding:5px 10px 8px!important;
    display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;
    border:0; background:#080f17; box-shadow:inset 0 1px #ffffff0b;
  }
  .site-header .top-navigation::before {display:none!important;}
  .site-header .top-navigation .top-nav-item {
    min-width:0;max-width:none;width:100%;height:42px; min-height:42px;
    font-size:10px!important; font-weight:800; line-height:1.12;
    padding:3px 2px!important; gap:2px;white-space:normal;
    border:1px solid #293945; border-radius:8px; background:linear-gradient(#17232c,#0a1119);
  }
  .site-header .top-navigation .top-nav-item:before {border-radius:8px;}
  .site-header .top-navigation .top-nav-item > span {overflow-wrap:normal;}
  .site-header .top-navigation .top-nav-item > svg {width:16px!important;height:16px!important;}
  .site-header .top-navigation .top-nav-item.active {border-color:#e64e56;box-shadow:inset 0 0 0 1px #ab2a347a;}
  .body-grid {
    grid-row:2; width:100%; height:100%!important; min-height:0!important; max-width:100%;
    display:block!important; padding:12px 12px 16px!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;scrollbar-color:#852a32 transparent;
  }
  .body-grid > .main-column {width:100%;min-width:0;min-height:0;overflow:visible!important;display:block!important;}
  .body-grid > .sidebar {display:none!important;}
  .body-grid > .sidebar.actu-open {
    display:flex!important; position:fixed!important; inset:0 0 0 auto!important;
    top:0!important;right:0!important; width:min(92vw,430px)!important;
    height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;
    z-index:400!important;padding:12px!important;
  }
  .body-grid .main-column > [hidden]{display:none!important;}
  .body-grid .main-column > .home-content:not([hidden]) {
    width:100%;height:auto!important;min-height:0!important;max-height:none!important;
    overflow:visible!important;display:flex;flex-direction:column;padding:0 0 16px!important;
  }
  .home-content:has(.welcome-intro) {min-height:calc(100dvh - var(--header-h) - var(--footer-h) - 27px)!important;justify-content:center;}
  .home-content .welcome-intro {max-width:100%!important;margin:0!important;min-width:0;}
  .home-content .welcome-title {font-size:clamp(19px,6.1vw,30px)!important;max-width:100%;letter-spacing:-.6px!important;overflow-wrap:anywhere;}
  .home-content .welcome-logo,.home-content .welcome-core-logo {max-width:100%;}
  .home-hero {min-height:unset!important;}
  .home-hero-core{grid-template-columns:1fr!important;padding:20px 19px!important;gap:14px;}
  .home-hero-core .hero-insignia{display:none;}
  .hero-copy h1{font-size:clamp(26px,7vw,39px)!important;letter-spacing:-1px;}
  .hero-introduction {font-size:14px;line-height:1.55;}
  .hero-buttons {display:grid;grid-template-columns:1fr;gap:10px;}
  .hero-buttons button,.hero-buttons a {min-height:46px;justify-content:center;}
  .hero-data-line,.hero-bottom-line{padding:10px 12px;gap:10px;flex-wrap:wrap;line-height:1.45;}
  .home-module-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px;}
  .home-module{min-height:151px;padding:12px;gap:8px;}
  .home-module-grid .home-module h3 {font-size:13px;line-height:1.2;}
  .home-teaser-grid {grid-template-columns:1fr!important;gap:9px;}
  .home-teaser {min-height:78px;}
  .home-section-head{margin-top:19px;align-items:center;}
  .home-section-head h2{font-size:19px;}
  .home-section-index{font-size:10px;}
  .category-filter {display:flex;overflow-x:auto!important;scroll-snap-type:x proximity;height:auto;min-height:54px;padding:6px;gap:6px;white-space:nowrap;margin-bottom:13px;}
  .filter-button{min-height:42px;height:auto;font-size:12px;scroll-snap-align:start;padding:8px 13px;}
  .section-intro{padding:15px;margin-bottom:12px;}
  .section-intro h1{font-size:24px;line-height:1.16;}
  .section-intro p{font-size:13px;line-height:1.5;}
  .event-grid{grid-template-columns:1fr!important;grid-auto-rows:auto!important;gap:12px;}
  .event-card{padding:13px;gap:11px;min-height:0!important;}
  .event-top{min-height:142px;gap:12px;}
  .poster-wrap,.module-art{width:105px;height:142px;flex:0 0 105px;}
  .event-title{font-size:17px;line-height:1.2;}
  .event-desc{font-size:12px;line-height:1.55;}
  .event-actions {gap:8px;flex-wrap:wrap;}
  .event-actions .subtle-button {min-height:42px;font-size:11px;}
  .event-primary{min-height:45px;font-size:12px;}
  .ucf-pages:not([hidden]) {height:auto!important;min-height:calc(100dvh - 225px)!important;max-height:none!important;overflow:visible;}
  .ucf-pages-head {padding:15px!important;gap:10px;}
  .ucf-pages-head h1 {font-size:24px!important;}
  .ucf-pages-head p {display:block!important;font-size:12px;}
  .ucf-pages-cards {grid-template-columns:1fr!important;gap:10px;}
  .ucf-pages-stage {min-height:300px;max-height:none;overflow:visible!important;padding:12px!important;}
  .ucf-doc-card{min-height:0;padding:13px;}
  .ucf-doc-card p{font-size:13px;line-height:1.55;}
  .ucf-pages-foot{flex-wrap:wrap;gap:8px;padding:10px;}
  .ucf-pages-pager button{min-height:42px;padding:9px 14px;}
  .ucf-creator-portal:not([hidden]) {height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;}
  .creator-portal-heading {padding:15px!important;}
  .creator-portal-heading h1 {font-size:26px!important;line-height:1.1;}
  .creator-portal-heading p {display:block!important;font-size:12px!important;line-height:1.5;max-width:none;}
  .creator-portal-stage {overflow:visible!important;height:auto!important;min-height:0!important;flex:none!important;padding:12px!important;}
  .creator-portal-grid {height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:none!important;gap:10px!important;}
  .ucf-creator-card{min-height:138px!important;padding:12px!important;gap:10px!important;display:grid!important;grid-template-rows:auto 1fr auto!important;}
  .creator-card-top {font-size:10px!important;}
  .creator-card-content{min-height:60px;flex-direction:row!important;align-items:center!important;gap:12px!important;}
  .creator-avatar{flex:0 0 58px!important;width:58px!important;height:58px!important;border-radius:10px;}
  .creator-card-description h2 {font-size:17px!important;margin-bottom:4px;}
  .creator-card-description p{display:-webkit-box!important;-webkit-line-clamp:2;line-clamp:2;font-size:11px;line-height:1.35;}
  .creator-network-links{gap:8px;}
  .creator-network-links a {width:33px;height:32px;}
  .creator-access{height:41px;min-height:41px;font-size:11px!important;letter-spacing:.35px;}
  .creator-portal-footer{min-height:60px;padding:12px;gap:10px;}
  .creator-portal-footer span {font-size:9px;line-height:1.3;}
  .creator-portal-footer button{min-height:40px;font-size:10px;}
  .ucf-staff-portal:not([hidden]){height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
  .staff-stage{display:grid!important;grid-template-rows:none!important;gap:12px;padding:12px;}
  .staff-founder-card {display:grid!important;grid-template-columns:minmax(110px,34%) minmax(0,1fr);min-height:260px;}
  .staff-portrait{min-height:0;}
  .staff-content{padding:12px!important;gap:7px!important;}
  .staff-content h2{font-size:clamp(18px,5vw,26px)!important;}
  .staff-content p{font-size:12px!important;line-height:1.45!important;}
  .staff-actions{display:flex;flex-wrap:wrap;gap:6px;}
  .staff-actions button{min-height:38px;font-size:11px!important;}
  .staff-info-grid{display:grid;grid-template-columns:1fr!important;gap:9px;}
  .staff-info-grid article{padding:12px!important;}
  .staff-info-grid h3{font-size:15px!important;}
  .staff-info-grid p{font-size:12px!important;}
  .ucf-radio-page:not([hidden]){height:auto!important;min-height:calc(100dvh - 220px)!important;max-height:none!important;overflow:visible!important;}
  .radio-page-header{padding:14px;gap:10px;}
  .radio-page-header h1{font-size:27px;}
  #radioPageHost {overflow:visible!important;min-height:0;padding:10px!important;}
  #radioPageHost .radio-window {height:auto!important;max-height:none!important;overflow:visible!important;}
  #radioPageHost .radio-window .window-body{height:auto;min-height:0;}
  .radio-track-list{height:auto;max-height:320px;overflow-y:auto;}
  .radio-window .radio-expanded {height:auto;max-height:none;}
  .module-surface:not([hidden]) {height:calc(100dvh - var(--header-h) - var(--footer-h) - 20px)!important;min-height:0!important;max-height:none!important;overflow:hidden;}
  .module-surface .module-titlebar{min-height:47px;}
  .module-surface iframe{height:100%;width:100%;min-height:0;}
  .module-titlebar strong{font-size:12px;}
  .shop-inner{padding:10px;}
  .shop-products{grid-template-columns:1fr;}
  .shop-item-copy h3{font-size:14px;}
  .ucf-creator-profile:not([hidden]) {
    height:calc(100dvh - var(--header-h) - var(--footer-h) - 28px)!important;
    min-height:0!important;max-height:calc(100dvh - var(--header-h) - var(--footer-h) - 28px)!important;
    overflow:hidden!important;
  }
  .ucf-creator-profile .creator-frame-area{height:auto!important;min-height:0!important;max-height:none!important;flex:1 1 auto!important;overflow:hidden!important;}
  .creator-profile-head {padding:9px!important;gap:7px!important;}
  .creator-profile-actions button{font-size:10px!important;min-height:39px;}
  .creator-profile-identity{min-width:0;}
  #creatorV22 {height:100%;min-height:0;}
  #creatorV22 .ucp-screen{padding:10px!important;gap:10px;}
  #creatorV22 .ucp-panel{padding:12px!important;}
  #creatorV22 .ucp-person h1{font-size:clamp(21px,6vw,30px)!important;}
  #creatorV22 .ucp-network{min-height:40px;font-size:12px;}
  #creatorV22 .ucp-chat-messages{max-height:none;}
  .site-footer{
    grid-row:3;position:relative!important;z-index:70;
    height:var(--footer-h)!important;min-height:var(--footer-h)!important;
    width:100%;padding:4px 6px calc(3px + env(safe-area-inset-bottom,0px))!important;
    display:block!important;background:#080e16;border-top:1px solid #912e37;
    box-shadow:0 -6px 24px #0009;
  }
  .site-footer .footer-right {display:none!important;}
  .site-footer .bottom-navigation{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    width:100%!important;max-width:none;height:100%;padding:0!important;gap:5px;overflow:visible;
  }
  .site-footer .bottom-item{display:none!important;min-height:52px!important;max-height:56px;
    padding:6px 2px!important;border:1px solid transparent;border-radius:10px;
    color:#bac7d5;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    font-size:10px!important;font-weight:750;letter-spacing:0!important;white-space:nowrap;
  }
  .site-footer .bottom-item:nth-child(1),
  .site-footer .bottom-item:nth-child(4),
  .site-footer .bottom-item:nth-child(5),
  .site-footer .bottom-item:nth-child(6),
  .site-footer .bottom-item:nth-child(8){display:flex!important;}
  .site-footer .bottom-item svg {width:21px!important;height:21px!important;flex:0 0 auto;}
  .site-footer .bottom-item span {font-size:10px!important;letter-spacing:0!important;overflow:visible;}
  .site-footer .bottom-item.active,
  .site-footer .bottom-item.mobile-menu-active{background:#231419;border-color:#ae3841;color:#fff;}
  .site-footer .bottom-item.active:before{left:30%;right:30%;top:0;height:3px;}
  .modal-backdrop {z-index:1000;padding:12px!important;align-items:center;justify-content:center;}
  .modal-window{max-width:100%!important;width:100%!important;max-height:calc(100dvh - 32px)!important;overflow:auto;border-radius:14px;}
  .modal-head{position:sticky;top:0;z-index:2;background:#111922;}
  .modal-window :is(input,textarea,select){font-size:16px!important;}
  .search-drawer {top:64px!important;z-index:92;width:100%!important;max-width:100%;padding:15px;}
  .search-input-wrap input{font-size:16px;min-width:0;}
  .toast {z-index:1100;max-width:min(92vw,430px);}
  /* New mobile drawer — all routes stay reachable, not reduced to five destinations. */
  #ucfMobileDrawer[hidden]{display:none!important;}
  #ucfMobileDrawer{position:fixed;inset:0;z-index:900;display:flex;flex-direction:column;justify-content:flex-end;}
  #ucfMobileDrawer .mobile-drawer-scrim{position:absolute;inset:0;border:0;background:rgba(1,4,8,.83);backdrop-filter:blur(7px);cursor:pointer;}
  #ucfMobileDrawer .mobile-drawer-panel{position:relative;width:100%;max-height:min(84dvh,780px);overflow-y:auto;overscroll-behavior:contain;
    padding:17px 15px calc(22px + env(safe-area-inset-bottom,0px));
    border:1px solid #80343d;border-bottom:0;border-radius:22px 22px 0 0;
    background:linear-gradient(165deg,#18232e,#080d14 72%);box-shadow:0 -16px 70px #000c;}
  #ucfMobileDrawer .mobile-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 14px;}
  #ucfMobileDrawer .mobile-drawer-heading strong{font-size:21px;letter-spacing:.4px;}
  #ucfMobileDrawer .mobile-drawer-heading strong span{color:#ff555d;}
  #ucfMobileDrawer .mobile-drawer-close{min-width:45px;height:45px;color:#fff;background:#21131b;border:1px solid #af4a51;border-radius:10px;font-size:24px;}
  #ucfMobileDrawer .mobile-drawer-kicker{font-size:10px;letter-spacing:1.3px;color:#ff6969;margin:6px 0 10px;font-weight:900;}
  #ucfMobileDrawer .mobile-drawer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  #ucfMobileDrawer .mobile-drawer-link{min-width:0;display:flex;align-items:center;gap:10px;min-height:54px;padding:12px;
    border:1px solid #33424c;background:#111c26;border-radius:11px;color:#f3f5fa;font-size:12px;font-weight:850;}
  #ucfMobileDrawer .mobile-drawer-link.active{border-color:#f34e59;background:#30141c;}
  #ucfMobileDrawer .mobile-drawer-link svg{width:21px;height:21px;flex:0 0 auto;color:#fa5a60;}
  #ucfMobileDrawer .mobile-drawer-link span{overflow-wrap:anywhere;}
  #ucfMobileDrawer .mobile-drawer-social{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0;}
  #ucfMobileDrawer .mobile-drawer-social a{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 13px;background:#121e29;border:1px solid #3b4652;border-radius:10px;font-size:12px;font-weight:700;}
  #ucfMobileDrawer .mobile-drawer-note{font-size:11px;color:#aab8c7;line-height:1.5;margin-top:14px;}
}
@media(max-width:375px){
  :root{--header-h:113px;--footer-h:65px}
  .site-header .brand {height:60px;gap:5px;}
  .site-header .brand-emblem{width:37px!important;height:37px!important;flex-basis:37px;}
  .site-header .brand-wordmark strong{font-size:15px!important;}
  .site-header .brand-wordmark small{font-size:6px!important;}
  .site-header .header-tools {height:60px;gap:3px!important;}
  .site-header .header-tools .icon-button,.site-header .header-tools .icon-button.ui-sound-button{width:31px!important;height:35px!important;min-width:31px!important;}
  .site-header .top-navigation{top:60px!important;height:53px!important;padding:4px 7px 6px!important;gap:4px!important;}
  .site-header .top-navigation .top-nav-item{font-size:9px!important;height:43px;}
  .body-grid{padding:9px 9px 13px!important;}
  .site-footer .bottom-item span{font-size:9px!important;}
  .creator-portal-heading h1 {font-size:23px!important;}
  .staff-founder-card{grid-template-columns:1fr!important;}
  .staff-portrait{min-height:155px;max-height:225px;}
  .creator-profile-actions button{font-size:9px!important;padding:5px 2px!important;}
  .event-top{gap:9px;}
  .poster-wrap,.module-art{flex-basis:94px;width:94px;height:135px;}
  .event-title{font-size:15px;}
}
@media(max-width:820px) and (orientation:landscape) and (max-height:520px){
  :root{--header-h:68px;--footer-h:55px}
  .site-header .brand,.site-header .header-tools{height:67px;}
  .site-header .brand-emblem{width:39px!important;height:39px!important;flex-basis:39px;}
  .site-header .top-navigation{display:none!important;}
  .site-footer .bottom-item{min-height:43px!important;flex-direction:row;}
  .site-footer .bottom-item svg{width:17px!important;height:17px!important;}
  .ucf-creator-profile:not([hidden]){height:calc(100dvh - var(--header-h) - var(--footer-h) - 18px)!important;max-height:calc(100dvh - var(--header-h) - var(--footer-h) - 18px)!important;}
}
@media (prefers-reduced-motion:reduce){
  #ucfMobileDrawer *{animation:none!important;scroll-behavior:auto!important}
}
/* Prior fixed-size creator engine selectors are intentionally overridden here. */
@media(max-width:820px){
 .site-header{--header-h:var(--ucf-mobile-header,120px)!important; height:var(--ucf-mobile-header,120px)!important;min-height:var(--ucf-mobile-header,120px)!important;}
 .ucf-creator-portal:not([hidden]) .creator-portal-stage{
   overflow:visible!important;height:auto!important;min-height:0!important;
   flex:0 0 auto!important;padding:12px!important;
 }
 .ucf-creator-portal:not([hidden]) .creator-portal-grid{
   display:grid!important;height:auto!important;min-height:0!important;max-height:none!important;
   grid-template-columns:1fr!important;grid-template-rows:none!important;
   grid-auto-rows:auto!important;align-content:start!important;gap:10px!important;
   padding:0!important;overflow:visible!important;
 }
 .ucf-creator-portal:not([hidden]) .ucf-creator-card{
   height:auto!important;min-height:140px!important;max-height:none!important;
   overflow:visible!important;padding:12px!important;gap:10px!important;
   display:grid!important;grid-template-rows:auto 1fr auto!important;
 }
 .ucf-creator-portal:not([hidden]) .creator-card-content{
   min-height:60px!important;display:flex!important;flex-direction:row!important;align-items:center!important;
 }
 .ucf-creator-portal:not([hidden]) .creator-card-description p{display:-webkit-box!important;-webkit-line-clamp:2;line-clamp:2;}
 .ucf-creator-portal:not([hidden]) .creator-avatar{width:58px!important;height:58px!important;flex:0 0 58px!important;}
}
@media(max-width:375px){.site-header{--ucf-mobile-header:113px!important;}}
@media(max-width:820px) and (orientation:landscape) and (max-height:520px){.site-header{--ucf-mobile-header:68px!important;}}
@media(max-width:820px){
  :root{--footer-h:calc(67px + env(safe-area-inset-bottom,0px));}
  .ucf-pages:not([hidden]) {height:auto!important;min-height:0!important;flex:0 0 auto!important;}
  .ucf-pages:not([hidden]) .ucf-pages-stage{
    display:block!important;flex:0 0 auto!important;height:auto!important;
    min-height:155px!important;overflow:visible!important;padding:13px!important;
  }
  .ucf-pages:not([hidden]) .ucf-pages-cards{
    display:grid!important;grid-template-columns:1fr!important;grid-auto-rows:auto!important;
    height:auto!important;min-height:0!important;overflow:visible!important;
  }
  .ucf-pages:not([hidden]) .ucf-doc-card{
    height:auto!important;min-height:130px!important;max-height:none!important;
    display:flex;justify-content:flex-start!important;overflow:visible!important;
    padding:15px!important;gap:12px!important;
  }
  .ucf-pages:not([hidden]) .ucf-doc-card p{
    display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;
    line-clamp:unset!important;font-size:13px!important;line-height:1.6;
  }
}
@media(min-width:600px) and (max-width:820px){
  .ucf-creator-portal:not([hidden]) .creator-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .home-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .home-teaser-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:375px){
  :root{--footer-h:calc(65px + env(safe-area-inset-bottom,0px));}
  .site-header .top-navigation .top-nav-item > span{display:block!important;font-size:8px!important;line-height:1.1!important;}
  .site-header .top-navigation .top-nav-item > svg{height:15px!important;width:15px!important;}
}
@media(max-width:820px) and (orientation:landscape) and (max-height:520px){:root{--footer-h:calc(55px + env(safe-area-inset-bottom,0px));}}
