/* AlpenPuls MEET Update 247 - mobile layered app UX. Desktop stays unchanged. */
.mobile-app247,.mobile-bottom-nav247,.mobile-list-head247,.mobile-detail-actions247{display:none}
.mobile-data-view247{display:contents}

@media (max-width:760px){
  html{scroll-padding-bottom:96px}
  body{background:linear-gradient(180deg,#07151d 0%,#061017 72%,#050d12 100%);overscroll-behavior-y:none}
  .app-shell{display:block!important;max-width:none!important;min-height:100dvh!important}
  .sidebar,.rightbar,.community-desktop-sticky{display:none!important}
  .content{width:100%!important;max-width:620px!important;margin:0 auto!important;padding:0 12px calc(94px + env(safe-area-inset-bottom))!important;min-width:0!important}

  /* Global mobile app shell */
  .mobile-app247{display:block!important}
  .mobile-top247{position:sticky;top:0;z-index:42;display:flex;align-items:center;justify-content:space-between;gap:12px;height:68px;margin:0 -12px 12px;padding:8px 14px;background:linear-gradient(180deg,rgba(6,19,27,.98),rgba(7,24,34,.94));border-bottom:1px solid rgba(70,103,119,.28);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .mobile-brand247{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:#fff;padding:0;text-align:left}
  .mobile-brand247 img{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 4px 9px rgba(0,0,0,.25))}
  .mobile-brand247 span{display:grid;line-height:1.02}.mobile-brand247 b{font-size:16px;font-weight:900}.mobile-brand247 small{font-size:10px;letter-spacing:3.2px;color:#d2e0e6;font-weight:800;margin-top:3px}
  .mobile-top-actions247{display:flex;align-items:center;gap:8px}
  .mobile-top-actions247>button{position:relative;width:40px;height:40px;display:grid;place-items:center;border:1px solid #284250;border-radius:14px;background:#0a1d27;color:#eff8fc;padding:0;box-shadow:0 5px 14px rgba(0,0,0,.16)}
  .mobile-top-actions247 svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .mobile-avatar247{border-radius:50%!important;overflow:hidden!important;background:linear-gradient(145deg,#ff9d24,#d95b00)!important;border-color:rgba(255,153,40,.45)!important;font-size:11px!important;font-weight:900!important;color:#071017!important}
  .mobile-avatar247 span{width:100%;height:100%;display:grid;place-items:center}.mobile-avatar247 span.has-image{padding:0}.mobile-avatar247 img{width:100%;height:100%;object-fit:cover;display:block}
  .mobile-inbox247 i{position:absolute;right:-3px;top:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#ff453a;color:#fff;border:2px solid #07151d;font-style:normal;font-size:8px;font-weight:900}.mobile-inbox247 i.hidden{display:none!important}

  /* View switching */
  [data-mobile-panel247]{display:none!important}
  body[data-mobile-view247="start"] [data-mobile-panel247="start"],
  body[data-mobile-view247="live"] [data-mobile-panel247="live"],
  body[data-mobile-view247="profile"] [data-mobile-panel247="profile"]{display:block!important}
  .mobile-data-view247{display:none!important}
  body[data-mobile-view247="events"] .mobile-events-view247,
  body[data-mobile-view247="meetups"] .mobile-meetups-view247{display:block!important}
  .meet-strip{display:none!important}

  /* Start */
  .mobile-home247{padding-bottom:8px}
  .mobile-hero247{position:relative;min-height:205px;margin:4px 0 14px;border:1px solid #274451;border-radius:22px;overflow:hidden;background-image:linear-gradient(90deg,rgba(3,13,19,.94),rgba(3,13,19,.56)),url('../img/alpenpuls-meet-hero-clean-v291.webp');background-size:cover;background-position:center;box-shadow:0 16px 38px rgba(0,0,0,.28)}
  .mobile-hero247:after{content:"";position:absolute;inset:auto 0 0;height:60%;background:linear-gradient(0deg,rgba(2,10,15,.86),transparent);pointer-events:none}
  .mobile-hero-shade247{position:absolute;inset:0;background:radial-gradient(circle at 86% 15%,rgba(255,120,0,.17),transparent 30%)}
  .mobile-hero-copy247{position:absolute;z-index:2;left:18px;bottom:18px;right:18px}.mobile-hero-copy247>span{display:inline-block;margin-bottom:7px;font-size:10px;letter-spacing:1.2px;color:#7fdcff;font-weight:900}.mobile-hero-copy247 h2{margin:0;color:#fff;font-size:31px;line-height:.98;letter-spacing:-1px;font-weight:950;text-shadow:0 3px 14px rgba(0,0,0,.45)}.mobile-hero-copy247 p{margin:9px 0 0;font-size:13px;color:#d6e2e8;font-weight:650}
  .mobile-home-grid247{display:grid;grid-template-columns:1fr 1fr;gap:var(--ap-mobile-home-tile-gap,10px);margin:0 0 18px}
  .mobile-home-tile247{position:relative;min-height:var(--ap-mobile-home-tile-height,92px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:var(--ap-mobile-home-tile-radius,17px);border:1px solid rgba(255,255,255,.18);color:#fff;box-shadow:0 10px 20px rgba(0,0,0,.2);overflow:hidden;padding:8px}.mobile-home-tile247:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(255,255,255,.14),transparent 50%);pointer-events:none}.mobile-home-tile247 .tile-icon247{position:relative;z-index:1;font-size:var(--ap-mobile-home-tile-icon-size,26px);line-height:1}.mobile-home-tile247 b{position:relative;z-index:1;font-size:var(--ap-mobile-home-tile-title-size,16px);font-weight:900;line-height:1.08}.mobile-home-tile247 small{position:relative;z-index:1;font-size:var(--ap-mobile-home-tile-subtitle-size,10px);color:rgba(255,255,255,.8);font-weight:700;line-height:1.1}.tile-meetups247{background:linear-gradient(145deg,#18c75e,#079744)}.tile-events247{background:linear-gradient(145deg,#ff8a12,#e65f00)}.tile-live247{background:linear-gradient(145deg,#168ce8,#0b5cc7)}.tile-community247{background:linear-gradient(145deg,#8a37ef,#641bc1)}.tile-live247>i{position:absolute;top:10px;right:11px;width:9px;height:9px;border-radius:50%;background:#7aa8c6;box-shadow:0 0 0 4px rgba(255,255,255,.08)}.tile-live247>i.active{background:#46f08a;box-shadow:0 0 0 4px rgba(70,240,138,.16),0 0 14px rgba(70,240,138,.85)}
  .mobile-upcoming247{margin:0 0 17px}.mobile-section-title247{display:flex;align-items:center;justify-content:space-between;margin:0 1px 9px}.mobile-section-title247 h3{margin:0;font-size:18px;font-weight:900;color:#f7fbfd}.mobile-section-title247 button{border:0;background:transparent;color:#45b9ff;font-size:11px;font-weight:800;padding:6px}.mobile-section-title247 button span{font-size:16px}
  .mobile-upcoming-list247{display:grid;gap:9px}.mobile-preview-card247{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr) 18px;gap:11px;align-items:center;min-height:104px;padding:9px;border:1px solid #253e4a;border-radius:15px;background:linear-gradient(180deg,#0c212b,#091922);box-shadow:0 8px 18px rgba(0,0,0,.16)}.mobile-preview-image247{width:88px;height:86px;border-radius:11px;overflow:hidden;background:#0e2b38}.mobile-preview-image247 img{width:100%;height:100%;object-fit:cover;display:block}.mobile-card-placeholder247{width:100%;height:100%;display:grid;place-items:center;color:#ff8c1d;font-weight:950;font-size:22px;background:linear-gradient(145deg,#173b4d,#0c202a)}.mobile-preview-copy247{min-width:0;display:grid;gap:2px}.mobile-preview-copy247>span{font-size:var(--ap-mobile-card-info-font,9px);color:#ff9b32;font-weight:900}.mobile-preview-copy247 h4{margin:0 0 2px;font-size:var(--ap-mobile-card-title-font,13px);line-height:1.15;color:#fff;font-weight:900;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.mobile-preview-copy247>small{font-size:var(--ap-mobile-card-info-font,9px);color:#b9c8cf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-copy247>div{display:flex;align-items:center;gap:7px;margin-top:4px;min-height:22px}.mobile-preview-copy247>div b{font-size:var(--ap-mobile-card-participant-font,9px);color:#cbd7dc}.mobile-preview-copy247 .community-member-faces .avatar{width:21px!important;height:21px!important;font-size:7px!important}.mobile-preview-card247>i{font-style:normal;color:#34bdfb;font-size:24px}.mobile-empty247{padding:16px;border:1px dashed #2c4652;border-radius:14px;color:#93a7b1;text-align:center;font-size:11px;background:rgba(9,25,33,.6)}

  /* List level */
  .mobile-list-head247{display:block!important;padding:3px 0 11px}.mobile-list-title247{display:flex;justify-content:space-between;align-items:center;min-height:50px}.mobile-list-title247 span,.mobile-view-heading247 span{font-size:9px;letter-spacing:1.15px;color:#36c6ff;font-weight:900}.mobile-list-title247 h2,.mobile-view-heading247 h2{margin:2px 0 0;font-size:25px;line-height:1.05;color:#fff;font-weight:950}.mobile-add247{width:44px;height:44px;border:1px solid #20df72;border-radius:15px;background:linear-gradient(180deg,#23d96c,#0baa50);color:#fff;font-size:27px;line-height:1;box-shadow:0 8px 20px rgba(15,191,91,.24)}
  .mobile-search247{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:4px;min-height:46px;margin:9px 0 8px;padding:0 12px;border:1px solid #294653;border-radius:14px;background:#0b202b;color:#87a4b1}.mobile-search247 span{font-size:18px}.mobile-search247 input{width:100%;height:44px;border:0!important;outline:0;background:transparent!important;color:#f4fbff!important;font-size:14px!important;padding:0!important;box-shadow:none!important}.mobile-search247 input::placeholder{color:#76919e}
  .mobile-filter247{display:flex;gap:7px;overflow:auto;padding-bottom:1px;scrollbar-width:none}.mobile-filter247::-webkit-scrollbar{display:none}.mobile-filter247 button{min-width:78px;height:34px;padding:0 13px;border:1px solid #315061;border-radius:999px;background:#0b202a;color:#c3d0d6;font-size:11px;font-weight:800;white-space:nowrap}.mobile-filter247 button.active{border-color:#3dbdf8;background:linear-gradient(180deg,#2aaef0,#1377bd);color:#fff;box-shadow:0 5px 14px rgba(25,153,220,.22)}

  /* Event list = clean rows, details are the next level. */
  body[data-mobile-view247="events"] .topic-list{display:grid!important;gap:10px!important;border:0!important;background:transparent!important;overflow:visible!important}
  body[data-mobile-view247="events"] .community-event-row{position:relative!important;display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:9px 27px 9px 9px!important;border:1px solid #263f4b!important;border-radius:15px!important;background:linear-gradient(180deg,#0c202a,#091820)!important;box-shadow:0 8px 20px rgba(0,0,0,.14)!important;min-height:112px!important}
  body[data-mobile-view247="events"] .community-event-row:after{content:"›";position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#35bdf8;font-size:25px;font-weight:400}
  body[data-mobile-view247="events"] .event-topic-thumb{width:96px!important;height:96px!important;min-height:96px!important;border-radius:11px!important;border:1px solid #31505d!important}.event-topic-thumb img{width:100%;height:100%;object-fit:cover}
  body[data-mobile-view247="events"] .community-event-titleline h3{font-size:calc(var(--ap-mobile-card-title-font,13px) + 2px)!important;line-height:1.15!important;font-weight:900!important;margin:0!important}
  body[data-mobile-view247="events"] .community-event-keyfacts{display:grid!important;grid-template-columns:1fr!important;gap:2px!important;margin:5px 0 0!important}
  body[data-mobile-view247="events"] .event-fact-chip{min-height:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:calc(var(--ap-mobile-card-info-font,9px) + 1px)!important;line-height:1.35!important;color:#b9c7ce!important}
  body[data-mobile-view247="events"] .community-event-stats{margin-top:6px!important;gap:5px!important}.community-event-stats .community-stat{min-height:25px!important;padding:3px 6px!important;font-size:var(--ap-mobile-card-participant-font,9px)!important}.community-event-stats .community-stat-messages{display:none!important}.community-event-stats .community-stat-unread{display:inline-flex!important;background:#bd361f!important;color:#fff!important;border-color:#e05237!important}
  body[data-mobile-view247="events"] .community-event-actions{display:none!important}

  /* Meetup list = clean rows, details are the next level. */
  body[data-mobile-view247="meetups"] #meetupGrid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:0!important}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-card.meetup-event-style{position:relative!important;display:block!important;padding:9px 27px 9px 9px!important;border:1px solid #263f4b!important;border-left:3px solid #ff7800!important;border-radius:15px!important;background:linear-gradient(180deg,#0c202a,#091820)!important;box-shadow:0 8px 20px rgba(0,0,0,.14)!important}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-card.meetup-event-style:after{content:"›";position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#35bdf8;font-size:25px;font-weight:400}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-card-main{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-card-image{width:96px!important;min-width:96px!important;max-width:96px!important;height:96px!important;min-height:96px!important;border-radius:11px!important;border:1px solid #31505d!important}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-titleline h3{font-size:calc(var(--ap-mobile-card-title-font,13px) + 2px)!important;line-height:1.15!important;font-weight:900!important;margin:0!important}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-keyfacts{display:grid!important;grid-template-columns:1fr!important;gap:2px!important;margin:5px 0 0!important}
  body[data-mobile-view247="meetups"] #meetupGrid .event-fact-chip{min-height:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:calc(var(--ap-mobile-card-info-font,9px) + 1px)!important;line-height:1.35!important;color:#b9c7ce!important}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-note{display:none!important}body[data-mobile-view247="meetups"] #meetupGrid .meetup-creator{font-size:var(--ap-mobile-card-info-font,9px)!important;margin-top:4px!important;color:#849aa4!important}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-stats{margin-top:6px!important;gap:5px!important}.meetup-stats .community-stat{min-height:25px!important;padding:3px 6px!important;font-size:var(--ap-mobile-card-participant-font,9px)!important}.meetup-stats .community-stat-messages{display:none!important}.meetup-stats .community-stat-unread{display:inline-flex!important;background:#bd361f!important;color:#fff!important;border-color:#e05237!important}
  body[data-mobile-view247="meetups"] #meetupGrid .meetup-actions{display:none!important}

  /* Live level */
  .mobile-live247,.mobile-profile-view247{padding:2px 0 15px}.mobile-view-heading247{display:flex;align-items:center;justify-content:space-between;padding:3px 1px 14px}.mobile-view-heading247 p{margin:5px 0 0;color:#91a8b3;font-size:11px}
  .mobile-live-card247{padding:13px;border:1px solid #284857;border-radius:19px;background:linear-gradient(180deg,#0d2632,#091922);box-shadow:0 14px 34px rgba(0,0,0,.24)}.mobile-live-status247{display:flex;align-items:center;gap:10px;padding:2px 2px 11px}.mobile-live-status247>i{width:11px;height:11px;border-radius:50%;background:#68808b;box-shadow:0 0 0 5px rgba(104,128,139,.1)}.mobile-live-status247>i.active{background:#36ea78;box-shadow:0 0 0 5px rgba(54,234,120,.11),0 0 15px rgba(54,234,120,.7)}.mobile-live-status247 div{display:grid;gap:2px}.mobile-live-status247 b{font-size:16px}.mobile-live-status247 small{font-size:10px;color:#9db0b9}.mobile-live-visual247{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid #30515f;border-radius:15px;background:radial-gradient(circle at 50% 35%,rgba(41,143,196,.24),transparent 30%),linear-gradient(155deg,#112f3e,#07161e);text-align:center}.mobile-live-visual247>span{font-size:52px}.mobile-live-visual247 strong{font-size:19px}.mobile-live-visual247 small{font-size:11px;color:#91aab5}.mobile-live-enter247{width:100%;min-height:52px;margin-top:12px;border:1px solid #2cbbff;border-radius:14px;background:linear-gradient(180deg,#1da7ec,#0874c1);color:#fff;font-size:14px;font-weight:900;box-shadow:0 9px 22px rgba(13,132,205,.22)}.mobile-info-card247{margin-top:10px;padding:13px;border:1px solid #243d49;border-radius:15px;background:#0a1c25}.mobile-info-card247 b{font-size:13px}.mobile-info-card247 p{margin:5px 0 0;font-size:11px;line-height:1.5;color:#92a6b0}

  /* Profile level */
  .mobile-profile-card247{padding:14px;border:1px solid #294653;border-radius:18px;background:linear-gradient(180deg,#0d222c,#091820)}.mobile-profile-identity247{display:flex;align-items:center;gap:12px;margin-bottom:14px}.mobile-profile-big247{width:62px;height:62px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:linear-gradient(145deg,#ff9d24,#d95b00);color:#061017;font-weight:950;font-size:18px}.mobile-profile-big247.has-image{padding:0}.mobile-profile-big247 img{width:100%;height:100%;object-fit:cover;display:block}.mobile-profile-identity247 div{display:grid;gap:3px}.mobile-profile-identity247 b{font-size:18px}.mobile-profile-identity247 small{font-size:10px;color:#8fa5af}.mobile-profile-card247>button{width:100%;min-height:44px;border:1px solid #3f6473;border-radius:12px;background:#0c2733;color:#fff;font-size:12px;font-weight:850}.mobile-profile-actions247{display:grid;gap:9px;margin-top:10px}.mobile-profile-actions247>button{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;align-items:center;min-height:64px;padding:10px 12px;border:1px solid #263f4b;border-radius:15px;background:#0a1d26;color:#fff;text-align:left}.mobile-profile-actions247>button>span{grid-row:1/3;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#102c38;font-size:20px}.mobile-profile-actions247>button>b{font-size:13px}.mobile-profile-actions247>button>small{font-size:9.5px;color:#8fa5af}.mobile-profile-actions247>.hidden{display:none!important}

  /* Bottom touch navigation */
  .mobile-bottom-nav247{position:fixed;z-index:55;left:0;right:0;bottom:0;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(70px + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);background:linear-gradient(180deg,rgba(7,24,33,.96),rgba(4,15,22,.99));border-top:1px solid #28414c;box-shadow:0 -12px 32px rgba(0,0,0,.34);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  .mobile-bottom-nav247>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;border:0;border-radius:11px;background:transparent;color:#8298a4;padding:3px 1px}.mobile-bottom-nav247>button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav247>button span{font-size:8.5px;line-height:1;font-weight:750;white-space:nowrap}.mobile-bottom-nav247>button.active{color:#31baff;background:rgba(33,161,222,.1)}.mobile-bottom-nav247>button.active span{font-weight:900}.mobile-live-badge247{position:absolute;top:2px;right:8px;min-width:18px;height:17px;padding:0 4px;display:grid;place-items:center;border:2px solid #071820;border-radius:999px;background:#ff4438;color:#fff;font-style:normal;font-size:7px;font-weight:900}.mobile-live-badge247.hidden{display:none!important}
  body.chat-open .mobile-bottom-nav247{transform:translateY(110%);pointer-events:none}

  /* Detail = its own level, like the reference mockup. */
  #itemDetailsModal{width:min(96vw,520px)!important;max-height:calc(100dvh - 26px)!important;padding:15px!important;border-radius:20px!important;overflow:auto!important;background:linear-gradient(180deg,#0b1e28,#07151c)!important}
  #itemDetailsModal .modal-x{position:sticky!important;float:right!important;top:0!important;z-index:3!important}
  #itemDetailsModal>h2{font-size:var(--ap-mobile-detail-title-font,22px)!important;line-height:1.12!important;margin:6px 36px 13px 0!important}.item-details-hero,.item-details-full-image{border-radius:15px!important;overflow:hidden!important}.item-details-hero{min-height:190px!important}.item-details-hero img,.item-details-full-image img{width:100%!important;max-height:250px!important;object-fit:cover!important}.item-details-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:10px!important}.item-details-grid section{padding:9px!important;border-radius:11px!important;background:#0b222d!important;border:1px solid #29434f!important}.item-details-grid .item-details-info{grid-column:1/-1!important}.item-details-grid section>span{font-size:var(--ap-mobile-detail-label-font,8px)!important;color:#53c9ff!important}.item-details-grid section>strong{font-size:var(--ap-mobile-detail-value-font,12px)!important}.item-details-grid .item-details-info p{font-size:var(--ap-mobile-detail-description-font,12px)!important;line-height:1.45!important}.item-details-source{font-size:var(--ap-mobile-detail-source-font,9.5px)!important;color:#8da2ac!important;margin-top:8px!important}
  .mobile-detail-actions247{display:block!important;margin-top:12px!important}.mobile-detail-primary247{width:100%;min-height:var(--ap-mobile-detail-primary-height,51px);display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #26e36d;border-radius:14px;background:linear-gradient(180deg,#1bd65d,#08aa46);color:#fff;font-size:var(--ap-mobile-detail-primary-font,14px);font-weight:950;box-shadow:0 9px 20px rgba(15,188,80,.2)}.mobile-detail-primary247:not(.joined){background:linear-gradient(180deg,#15c95a,#0aa94a)}.mobile-detail-primary247 img{width:31px!important;height:31px!important;object-fit:contain}.mobile-detail-secondary-row247{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:7px}.mobile-detail-secondary247{min-width:0;min-height:var(--ap-mobile-detail-action-height,62px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px;border:1px solid #315161;border-radius:12px;background:#0b202a;color:#dce8ed;text-decoration:none!important}.mobile-detail-secondary247 img{width:var(--ap-mobile-detail-action-icon,34px)!important;height:var(--ap-mobile-detail-action-icon,34px)!important;max-width:var(--ap-mobile-detail-action-icon,34px)!important;max-height:var(--ap-mobile-detail-action-icon,34px)!important;object-fit:contain}.mobile-detail-secondary247 span{font-size:var(--ap-mobile-detail-action-font,8px);font-weight:850;color:#eaf4f7}.mobile-detail-secondary247.is-disabled{opacity:.38;filter:grayscale(.8)}
  #itemDetailsModal .item-details-actions{display:flex!important;margin-top:8px!important}#itemDetailsModal .item-details-actions .item-calendar-btn{display:none!important}#itemDetailsModal .item-details-actions .meetup-date-detail-btn{width:100%!important;min-height:42px!important}

  /* Chat gets readable mobile dimensions without changing logic. */
  .chat-drawer{width:100vw!important;height:100dvh!important;border-left:0!important}.drawer-head{padding:14px!important}.drawer-head h2{font-size:19px!important}.chat-messages{padding:13px!important}.bubble p{font-size:14px!important;line-height:1.48!important}.chat-form{padding:10px!important;padding-bottom:calc(10px + env(safe-area-inset-bottom))!important}.chat-compose-row textarea{font-size:16px!important}
}

@media (max-width:380px){
  .content{padding-left:9px!important;padding-right:9px!important}.mobile-top247{margin-left:-9px;margin-right:-9px;padding-left:11px;padding-right:11px}.mobile-brand247 b{font-size:14px}.mobile-brand247 small{font-size:9px}.mobile-top-actions247>button{width:37px;height:37px}.mobile-hero247{min-height:190px}.mobile-hero-copy247 h2{font-size:28px}.mobile-home-tile247{min-height:var(--ap-mobile-home-tile-height,92px)}.mobile-preview-card247{grid-template-columns:78px minmax(0,1fr) 15px}.mobile-preview-image247{width:78px;height:80px}.mobile-bottom-nav247>button span{font-size:7.7px}.mobile-detail-secondary-row247{gap:4px}.mobile-detail-secondary247 img{width:var(--ap-mobile-detail-action-icon,34px)!important;height:var(--ap-mobile-detail-action-icon,34px)!important}
  body[data-mobile-view247="events"] .community-event-row,body[data-mobile-view247="meetups"] #meetupGrid .meetup-card-main{grid-template-columns:84px minmax(0,1fr)!important}.mobile-events-view247 .event-topic-thumb,body[data-mobile-view247="meetups"] #meetupGrid .meetup-card-image{width:84px!important;min-width:84px!important;max-width:84px!important;height:88px!important;min-height:88px!important}
}


/* UPDATE 253: admin-configurable typography for the mobile share/invite dialog. */
@media (max-width:760px){
  #itemShareModal.item-share-modal h2{font-size:var(--ap-mobile-share-title-font,24px)!important;line-height:1.12!important}
  #itemShareModal .item-share-intro{font-size:var(--ap-mobile-share-intro-font,11px)!important;line-height:1.45!important}
  #itemShareModal .item-share-preview-copy h3{font-size:var(--ap-mobile-share-preview-title-font,14px)!important;line-height:1.18!important}
  #itemShareModal .item-share-facts,#itemShareModal .item-share-preview-copy p,#itemShareModal .item-share-shortlink{font-size:var(--ap-mobile-share-info-font,9px)!important}
  #itemShareModal .item-share-actions button>b{font-size:var(--ap-mobile-share-action-title-font,11px)!important;line-height:1.2!important}
  #itemShareModal .item-share-actions button>small{font-size:var(--ap-mobile-share-action-subtitle-font,8.5px)!important;line-height:1.25!important}
  #itemShareModal .item-invite-head strong,#itemShareModal .item-invite-copy b,#itemShareModal .item-invite-search input,#itemShareModal .item-invite-empty{font-size:var(--ap-mobile-share-member-font,10px)!important}
  #itemShareModal .item-invite-head small,#itemShareModal .item-invite-copy small,#itemShareModal .item-invite-member em,#itemShareModal .item-invite-head .text-link{font-size:var(--ap-mobile-share-member-meta-font,8.5px)!important}
}


/* UPDATE 258: Die letzten alten Bild-Icon-Leisten in Treffpunkt/Event-Reitern
   werden auf denselben Textbutton-Standard wie die Detailansicht gebracht.
   Alle Masse werden ueber die Admin-Variablen gesteuert. */
@media (max-width:760px){
  /* Alte PNG-Aktionsicons konsequent aus allen neuen Mobile-Ebenen entfernen. */
  #meetupGrid .meetup-actions .ap-mobile-action-img,
  #topicList .community-event-actions .ap-mobile-action-img,
  #itemDetailsModal .mobile-detail-actions247 .ap-mobile-action-img{display:none!important}

  /* Treffpunkt/Event-Reiter: Aktionen sichtbar im gleichen 1 + 4 Aufbau wie Details. */
  html body #meetupGrid .meetup-event-style .meetup-actions,
  html body #topicList .community-event-actions{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:var(--ap-mobile-detail-action-gap,6px)!important;
    width:100%!important;
    margin:9px 0 0!important;
    padding:0!important;
    align-items:stretch!important;
    overflow:visible!important;
  }
  html body #meetupGrid .meetup-event-style .meetup-actions{padding-right:0!important}

  /* Primäraktion DABEI = volle Breite, wie im geöffneten Detail. */
  html body #meetupGrid .meetup-actions>.meetup-join-btn,
  html body #topicList .community-event-actions>.event-join-btn{
    grid-column:1/-1!important;
    order:1!important;
    width:100%!important;
    min-height:var(--ap-mobile-detail-primary-height,51px)!important;
    height:auto!important;
    padding:8px 10px!important;
    border:1px solid #26e36d!important;
    border-radius:var(--ap-mobile-detail-primary-radius,14px)!important;
    background:linear-gradient(180deg,#15c95a,#0aa94a)!important;
    color:#fff!important;
    font-size:var(--ap-mobile-detail-primary-font,14px)!important;
    line-height:1.1!important;
    font-weight:950!important;
    box-shadow:0 8px 18px rgba(15,188,80,.18)!important;
    text-shadow:none!important;
  }
  html body #meetupGrid .meetup-actions>.meetup-join-btn.joined,
  html body #topicList .community-event-actions>.event-join-btn.joined{
    background:linear-gradient(180deg,#1bd65d,#08aa46)!important;
  }
  html body #meetupGrid .meetup-join-btn>.ap-action-label{display:inline!important;color:#fff!important;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important}
  html body #topicList .event-join-btn>.event-join-label-full{display:none!important}
  html body #topicList .event-join-btn>.event-join-label-mobile{display:inline!important;color:#fff!important;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important}

  /* Sekundaeraktionen = vier gleich breite Textbuttons. */
  html body #meetupGrid .meetup-actions>:is(.meetup-meet-btn,.meetup-share-btn,.meetup-calendar-btn,.event-link-action),
  html body #topicList .community-event-actions>:is(.event-meet-btn,.event-share-btn,.event-calendar-btn,.event-link-action){
    grid-column:auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:var(--ap-mobile-detail-action-height,54px)!important;
    height:auto!important;
    margin:0!important;
    padding:6px 3px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #315161!important;
    border-radius:var(--ap-mobile-detail-action-radius,12px)!important;
    background:#0b202a!important;
    color:#eaf4f7!important;
    font-size:var(--ap-mobile-detail-action-font,11px)!important;
    line-height:1.1!important;
    font-weight:850!important;
    text-decoration:none!important;
    text-shadow:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  html body #meetupGrid .meetup-actions>.meetup-meet-btn,
  html body #topicList .community-event-actions>.event-meet-btn{
    order:2!important;
    border-color:#ff870f!important;
    background:linear-gradient(180deg,#ff8b18,#e66500)!important;
    color:#fff!important;
  }
  html body #meetupGrid .meetup-actions>.meetup-share-btn,
  html body #topicList .community-event-actions>.event-share-btn{order:3!important}
  html body #meetupGrid .meetup-actions>.meetup-calendar-btn,
  html body #topicList .community-event-actions>.event-calendar-btn{order:4!important}
  html body #meetupGrid .meetup-actions>.event-link-action,
  html body #topicList .community-event-actions>.event-link-action{order:5!important}

  html body #meetupGrid .meetup-actions .ap-action-label,
  html body #topicList .community-event-actions .ap-action-label{
    display:inline!important;
    color:inherit!important;
    font-size:inherit!important;
    line-height:inherit!important;
    font-weight:inherit!important;
    white-space:nowrap!important;
  }
  html body #meetupGrid .meetup-actions .event-link-disabled,
  html body #topicList .community-event-actions .event-link-disabled{opacity:.38!important;filter:grayscale(.8)!important}

  /* Bearbeiten bleibt als eigene volle Zeile unter den Aktionen. */
  html body #meetupGrid .meetup-actions>.meetup-date-edit-btn{
    grid-column:1/-1!important;
    order:6!important;
    width:100%!important;
    min-height:42px!important;
    height:auto!important;
    margin:1px 0 0!important;
  }

  /* Detailansicht: exakt dieselben Admin-Masse und Textbuttons. */
  #itemDetailsModal .mobile-detail-primary247{
    min-height:var(--ap-mobile-detail-primary-height,51px)!important;
    border-radius:var(--ap-mobile-detail-primary-radius,14px)!important;
    font-size:var(--ap-mobile-detail-primary-font,14px)!important;
  }
  #itemDetailsModal .mobile-detail-secondary-row247{
    gap:var(--ap-mobile-detail-action-gap,6px)!important;
  }
  #itemDetailsModal .mobile-detail-secondary247{
    min-height:var(--ap-mobile-detail-action-height,54px)!important;
    border-radius:var(--ap-mobile-detail-action-radius,12px)!important;
    font-size:var(--ap-mobile-detail-action-font,11px)!important;
    flex-direction:row!important;
    gap:0!important;
  }
  #itemDetailsModal .mobile-detail-secondary247 span{
    font-size:inherit!important;
    line-height:1.1!important;
  }
}

@media (max-width:380px){
  html body #meetupGrid .meetup-event-style .meetup-actions,
  html body #topicList .community-event-actions{gap:var(--ap-mobile-detail-action-gap,6px)!important}
  html body #meetupGrid .meetup-actions>:is(.meetup-meet-btn,.meetup-share-btn,.meetup-calendar-btn,.event-link-action),
  html body #topicList .community-event-actions>:is(.event-meet-btn,.event-share-btn,.event-calendar-btn,.event-link-action){padding-left:2px!important;padding-right:2px!important}
}

/* UPDATE 259: definitive text visibility fix for the unified mobile action bar.
   Historical icon-only rules in style.css used stronger selectors with font-size:0,
   color:transparent and child display:none. These selectors intentionally outrank
   those legacy rules while keeping all sizes controlled by the Admin variables. */
@media (max-width:760px){
  /* Primary "Dabei" action: restore text explicitly. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-join-btn,
  html body #topicList#topicList .community-event-actions > button.event-join-btn{
    color:#fff!important;
    font-size:var(--ap-mobile-detail-primary-font,14px)!important;
    line-height:1.1!important;
    letter-spacing:0!important;
    text-shadow:none!important;
  }
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-join-btn > span.ap-action-label{
    display:inline!important;
    visibility:visible!important;
    opacity:1!important;
    color:#fff!important;
    font-size:var(--ap-mobile-detail-primary-font,14px)!important;
    line-height:1.1!important;
    font-weight:950!important;
  }
  html body #topicList#topicList .community-event-actions > button.event-join-btn > span.event-join-label-full{
    display:none!important;
  }
  html body #topicList#topicList .community-event-actions > button.event-join-btn > span.event-join-label-mobile{
    display:inline!important;
    visibility:visible!important;
    opacity:1!important;
    color:#fff!important;
    font-size:var(--ap-mobile-detail-primary-font,14px)!important;
    line-height:1.1!important;
    font-weight:950!important;
  }

  /* Secondary actions: force text mode over all old icon-only rules. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > :is(button.meetup-meet-btn,button.meetup-share-btn,button.meetup-calendar-btn,.event-link-action),
  html body #topicList#topicList .community-event-actions > :is(button.event-meet-btn,button.event-share-btn,button.event-calendar-btn,.event-link-action){
    color:#eaf4f7!important;
    font-size:var(--ap-mobile-detail-action-font,11px)!important;
    line-height:1.1!important;
    letter-spacing:0!important;
    text-shadow:none!important;
  }
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-meet-btn,
  html body #topicList#topicList .community-event-actions > button.event-meet-btn{
    color:#fff!important;
  }

  /* Old share/calendar CSS hid every child element. Restore only the text label. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > :is(button.meetup-meet-btn,button.meetup-share-btn,button.meetup-calendar-btn,.event-link-action) > span.ap-action-label,
  html body #topicList#topicList .community-event-actions > :is(button.event-meet-btn,button.event-share-btn,button.event-calendar-btn,.event-link-action) > span.ap-action-label{
    display:inline!important;
    visibility:visible!important;
    opacity:1!important;
    color:inherit!important;
    font-size:var(--ap-mobile-detail-action-font,11px)!important;
    line-height:1.1!important;
    font-weight:850!important;
    white-space:nowrap!important;
  }

  /* Keep all historical bitmap icons out of the unified 1+4 text layout. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions img.ap-mobile-action-img,
  html body #topicList#topicList .community-event-actions img.ap-mobile-action-img{
    display:none!important;
    visibility:hidden!important;
  }
}

/* UPDATE 260: unified 1+4 action layout final alignment + correct active "Dabei" state.
   These selectors intentionally outrank the historic 5-icon rules in style.css. */
@media (max-width:760px){
  /* Detail primary follows the same rule as cards: inactive neutral, active green. */
  #itemDetailsModal .mobile-detail-primary247:not(.joined){
    border-color:#3c5865!important;
    background:linear-gradient(180deg,#102934,#0a1d26)!important;
    color:#dce8ed!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  }
  #itemDetailsModal .mobile-detail-primary247.joined{
    border-color:#2aee75!important;
    background:linear-gradient(180deg,#22dc68,#08ad49)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(15,188,80,.24),inset 0 1px 0 rgba(255,255,255,.18)!important;
  }

  /* The list action area is always exactly one full-width primary + four equal buttons. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions,
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions.has-event-link,
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions:not(.has-event-link),
  html body #topicList#topicList .community-event-actions,
  html body #topicList#topicList .community-event-actions.has-event-link,
  html body #topicList#topicList .community-event-actions:not(.has-event-link){
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:var(--ap-mobile-detail-action-gap,6px)!important;
    width:100%!important;
    max-width:none!important;
    margin:10px 0 0!important;
    padding:0!important;
    border-top:0!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  /* DABEI spans all four columns. Inactive is neutral, joined is clearly green. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-join-btn,
  html body #topicList#topicList .community-event-actions > button.event-join-btn{
    grid-column:1/-1!important;
    order:1!important;
    width:100%!important;
    min-width:0!important;
    height:var(--ap-mobile-detail-primary-height,51px)!important;
    min-height:var(--ap-mobile-detail-primary-height,51px)!important;
    margin:0!important;
    padding:0 10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    border:1px solid #3c5865!important;
    border-radius:var(--ap-mobile-detail-primary-radius,14px)!important;
    background:linear-gradient(180deg,#102934,#0a1d26)!important;
    color:#dce8ed!important;
    font-size:var(--ap-mobile-detail-primary-font,14px)!important;
    line-height:1.1!important;
    font-weight:950!important;
    text-align:center!important;
    text-shadow:none!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
    overflow:hidden!important;
  }
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-join-btn.joined,
  html body #topicList#topicList .community-event-actions > button.event-join-btn.joined{
    border-color:#2aee75!important;
    background:linear-gradient(180deg,#22dc68,#08ad49)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(15,188,80,.24),inset 0 1px 0 rgba(255,255,255,.18)!important;
  }

  /* Keep the tick/label visible and centred. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-join-btn > span.ap-action-label,
  html body #topicList#topicList .community-event-actions > button.event-join-btn > span.event-join-label-mobile{
    display:inline!important;
    visibility:visible!important;
    opacity:1!important;
    color:inherit!important;
    font-size:inherit!important;
    line-height:inherit!important;
    font-weight:950!important;
    white-space:nowrap!important;
  }
  html body #topicList#topicList .community-event-actions > button.event-join-btn > span.event-join-label-full{display:none!important}

  /* Four secondary actions: same width, same height, same neutral visual standard. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > :is(button.meetup-meet-btn,button.meetup-share-btn,button.meetup-calendar-btn,.event-link-action),
  html body #topicList#topicList .community-event-actions > :is(button.event-meet-btn,button.event-share-btn,button.event-calendar-btn,.event-link-action){
    grid-column:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:var(--ap-mobile-detail-action-height,54px)!important;
    min-height:var(--ap-mobile-detail-action-height,54px)!important;
    margin:0!important;
    padding:0 3px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    border:1px solid #315161!important;
    border-radius:var(--ap-mobile-detail-action-radius,12px)!important;
    background:#0b202a!important;
    color:#eaf4f7!important;
    font-size:var(--ap-mobile-detail-action-font,11px)!important;
    line-height:1.05!important;
    font-weight:850!important;
    text-align:center!important;
    text-decoration:none!important;
    text-shadow:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-meet-btn,
  html body #topicList#topicList .community-event-actions > button.event-meet-btn{order:2!important}
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-share-btn,
  html body #topicList#topicList .community-event-actions > button.event-share-btn{order:3!important}
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-calendar-btn,
  html body #topicList#topicList .community-event-actions > button.event-calendar-btn{order:4!important}
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > .event-link-action,
  html body #topicList#topicList .community-event-actions > .event-link-action{order:5!important}

  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > :is(button.meetup-meet-btn,button.meetup-share-btn,button.meetup-calendar-btn,.event-link-action) > span.ap-action-label,
  html body #topicList#topicList .community-event-actions > :is(button.event-meet-btn,button.event-share-btn,button.event-calendar-btn,.event-link-action) > span.ap-action-label{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    color:inherit!important;
    font-size:inherit!important;
    line-height:inherit!important;
    font-weight:inherit!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
  }

  /* No legacy bitmap icons in this new text layout. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions img.ap-mobile-action-img,
  html body #topicList#topicList .community-event-actions img.ap-mobile-action-img{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    height:0!important;
  }

  /* Gallery stays in its fourth slot even when unavailable. */
  html body #meetupGrid#meetupGrid .meetup-actions .event-link-disabled,
  html body #topicList#topicList .community-event-actions .event-link-disabled{
    opacity:.38!important;
    filter:grayscale(.8)!important;
  }

  /* Edit stays below the complete 1+4 block. */
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > button.meetup-date-edit-btn{
    grid-column:1/-1!important;
    order:6!important;
    width:100%!important;
    min-width:0!important;
    margin:1px 0 0!important;
  }
}

@media (max-width:380px){
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions,
  html body #topicList#topicList .community-event-actions{
    gap:var(--ap-mobile-detail-action-gap,6px)!important;
  }
  html body #meetupGrid#meetupGrid .meetup-event-style .meetup-actions > :is(button.meetup-meet-btn,button.meetup-share-btn,button.meetup-calendar-btn,.event-link-action),
  html body #topicList#topicList .community-event-actions > :is(button.event-meet-btn,button.event-share-btn,button.event-calendar-btn,.event-link-action){
    padding-left:1px!important;
    padding-right:1px!important;
  }
}

/* UPDATE 273: Startseite - Mitglieder und Teilnehmer direkt erreichbar. */
@media(max-width:760px){
  .mobile-members-strip273{width:100%;min-height:42px;margin:3px 0 10px;padding:7px 10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid rgba(255,132,26,.34);border-radius:13px;background:linear-gradient(180deg,rgba(16,34,43,.98),rgba(8,23,30,.98));color:#eef5f7;text-align:left;box-shadow:0 7px 18px rgba(0,0,0,.13)}
  .mobile-members-strip273:active{transform:translateY(1px);background:rgba(255,120,0,.075)}
  .mobile-members-strip-icon273{width:29px;height:29px;display:grid;place-items:center;border:1px solid rgba(255,132,26,.30);border-radius:9px;background:rgba(255,120,0,.07);font-size:15px}
  .mobile-members-strip-copy273{display:grid;gap:1px;min-width:0}.mobile-members-strip-copy273 b{font-size:11px;font-weight:900;color:#fff}.mobile-members-strip-copy273 small{font-size:8.5px;font-weight:700;color:#91a6af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-members-strip-action273{display:inline-flex;align-items:center;gap:4px;color:#ff9a32;font-size:9px;font-weight:900;white-space:nowrap}.mobile-members-strip-action273 i{font-style:normal;font-size:18px;line-height:1}

  .mobile-preview-copy247>.mobile-preview-members247{width:max-content;max-width:100%;min-height:23px;margin:3px 0 0;padding:1px 5px 1px 1px;display:inline-flex;align-items:center;gap:6px;border:1px solid transparent;border-radius:999px;background:transparent;color:#cbd7dc;text-align:left;overflow:hidden}
  .mobile-preview-copy247>.mobile-preview-members247:active{border-color:rgba(52,189,251,.34);background:rgba(52,189,251,.06)}
  .mobile-preview-members247 b{font-size:var(--ap-mobile-card-participant-font,9px);font-weight:800;color:#d5e0e5;white-space:nowrap}
  .mobile-preview-members247>span:last-child{font-size:14px;line-height:1;color:#34bdfb}
  .mobile-preview-members247 .community-member-faces{flex:0 0 auto}

  /* Mitgliederliste bewusst schlank halten; die bestehende Admin-Sperre fuer Anschreiben bleibt erhalten. */
  .community-members-modal{width:min(96vw,560px)!important;padding:18px 13px!important}
  .community-members-modal h2{margin-bottom:4px!important}
  .community-members-summary{margin:2px 0 9px!important;font-size:11px!important;line-height:1.35!important}
  .community-member-filter{margin:0 0 8px!important}
  .community-member-filter label{grid-template-columns:auto minmax(0,1fr) auto!important;gap:5px!important;padding:3px 4px 3px 8px!important;border-radius:10px!important}
  .community-member-filter label>span{font-size:15px!important}.community-member-filter input{padding:6px 2px!important;font-size:10px!important}.community-member-filter button{grid-column:auto!important;width:auto!important;min-height:28px!important;padding:4px 8px!important;font-size:8px!important}
  .community-members-direct-hint{margin:0 0 8px!important;padding:6px 8px!important;font-size:8.5px!important;line-height:1.3!important}
  .community-members-list{gap:5px!important}
  .community-member-row{grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;padding:6px 7px!important;border-radius:10px!important}
  .community-member-avatar{width:34px!important;height:34px!important;font-size:9px!important}
  .community-member-copy strong{font-size:11px!important;gap:3px!important}.community-member-copy small{margin-top:2px!important;font-size:8px!important;line-height:1.15!important}
  .community-member-actions{grid-column:auto!important;grid-row:auto!important;margin:0!important;display:grid!important;grid-template-columns:1fr!important;justify-items:end!important;gap:3px!important}
  .community-presence{padding:3px 5px!important;font-size:6.5px!important;gap:3px!important}.community-presence i{width:5px!important;height:5px!important}
  .community-message-btn{min-width:82px!important;min-height:25px!important;padding:3px 6px!important;font-size:7.5px!important;border-radius:8px!important}
}
@media(max-width:390px){
  .mobile-members-strip273{grid-template-columns:auto minmax(0,1fr);gap:7px}.mobile-members-strip-action273{grid-column:2;justify-self:start;margin-top:-2px}
  .community-member-row{grid-template-columns:32px minmax(0,1fr)!important;align-items:start!important}.community-member-avatar{width:32px!important;height:32px!important}.community-member-actions{grid-column:2!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;margin-top:1px!important}.community-message-btn{min-width:78px!important}
}



/* UPDATE 289: abgeschlossene Treffpunkte + abgelaufene Events mobil ausgrauen */
.mobile-preview-card247.mobile-item-expired247,
.mobile-preview-card247.mobile-meetup-is-expired,
.mobile-preview-card247.mobile-meetup-is-completed,
.mobile-preview-card247.mobile-meetup-is-cancelled{
  filter:grayscale(.9) saturate(.3) brightness(.9);
  opacity:.64;
  border-color:#455158;
  box-shadow:none;
}
.mobile-preview-card247.mobile-item-expired247:active,
.mobile-preview-card247.mobile-meetup-is-expired:active,
.mobile-preview-card247.mobile-meetup-is-completed:active,
.mobile-preview-card247.mobile-meetup-is-cancelled:active{opacity:.76}
.mobile-expired-status247,
.mobile-meetup-status247.is-expired,
.mobile-meetup-status247.is-completed,
.mobile-meetup-status247.is-cancelled{
  display:inline-flex;
  margin-left:4px;
  padding:2px 5px;
  border:1px solid rgba(170,181,187,.45);
  border-radius:999px;
  background:rgba(100,112,118,.18);
  color:#c7d0d4;
  font-size:7px;
  font-weight:950;
  letter-spacing:.3px;
  line-height:1;
  vertical-align:middle;
}


/* UPDATE 290: Gast-Startseite mit klarem Nutzen und freiwilliger Registrierung */
.mobile-guest-join247,.mobile-hero-trust247{display:none}
body.guest-preview-mode .mobile-hero247{min-height:280px}
body.guest-preview-mode .mobile-hero-copy247{bottom:16px}
body.guest-preview-mode .mobile-hero-copy247 h2{font-size:30px}
body.guest-preview-mode .mobile-hero-value247{max-width:290px;margin:9px 0 11px;font-size:12px;line-height:1.42;color:#e0e9ed}
body.guest-preview-mode .mobile-guest-join247{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 17px;border:1px solid #ff9e34;border-radius:11px;background:linear-gradient(180deg,#ff8d1a,#e96500);color:#fff;font-size:12px;font-weight:950;box-shadow:0 9px 22px rgba(255,105,0,.20)}
body.guest-preview-mode .mobile-hero-trust247{display:block;margin-top:7px;color:#b9c8cf;font-size:8.5px;font-weight:700;letter-spacing:.1px}

/* UPDATE 291: Hero zuerst und ruhiger Conversion-Einstieg */
.mobile-home247>.mobile-hero247{margin-top:4px;margin-bottom:10px}
.mobile-home247>.mobile-members-strip273{margin-top:0;margin-bottom:14px}


/* UPDATE 292: Gast sieht direkt, dass er eigene Treffpunkte starten kann */
.mobile-guest-meetup-card292{display:none;margin:0 0 12px;padding:13px;border:1px solid rgba(69,190,234,.30);border-radius:16px;background:linear-gradient(145deg,rgba(24,103,137,.13),rgba(8,23,30,.97));box-shadow:0 9px 24px rgba(0,0,0,.16)}
body.guest-preview-mode .mobile-guest-meetup-card292{display:grid;gap:10px}
.mobile-guest-meetup-copy292{display:grid;gap:4px}.mobile-guest-meetup-copy292>span{color:#6dd8ff;font-size:7.5px;font-weight:950;letter-spacing:1px}.mobile-guest-meetup-copy292 h3{margin:0;color:#fff;font-size:16px;line-height:1.18}.mobile-guest-meetup-copy292 p{margin:1px 0;color:#afc0c7;font-size:10.5px;line-height:1.45}.mobile-guest-meetup-copy292 strong{color:#e8f1f4;font-size:9.5px;line-height:1.4}
.mobile-guest-meetup-cta292{min-height:40px;border:1px solid rgba(87,204,247,.50);border-radius:11px;background:linear-gradient(180deg,#1488b9,#0b6f99);color:#fff;font-size:11px;font-weight:950;box-shadow:0 8px 18px rgba(13,127,173,.18)}
.mobile-guest-meetup-cta292:active{transform:translateY(1px);filter:brightness(.95)}

/* UPDATE 293: mobile Treffpunkt-Ideen */
@media(max-width:760px){
  .mobile-meetup-ideas293{display:grid;gap:10px;margin:0 0 14px;padding:13px;border:1px solid rgba(255,143,42,.25);border-radius:17px;background:radial-gradient(circle at 90% 0,rgba(255,120,0,.11),transparent 30%),linear-gradient(145deg,#0b2029,#081820);box-shadow:0 10px 26px rgba(0,0,0,.16)}
  .mobile-meetup-ideas-head293{display:grid;gap:4px}.mobile-meetup-ideas-head293>span{color:#ff9d38;font-size:7px;font-weight:950;letter-spacing:1px}.mobile-meetup-ideas-head293 h3{margin:0;color:#fff;font-size:18px;line-height:1.12}.mobile-meetup-ideas-head293 p{margin:1px 0;color:#aebfc6;font-size:10px;line-height:1.45}.mobile-meetup-ideas-head293 strong{color:#e3ecef;font-size:9px;line-height:1.4}
  .mobile-meetup-ideas-grid293{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mobile-meetup-ideas-grid293>.mobile-empty247{grid-column:1/-1}
  .mobile-meetup-idea-card293{display:grid;grid-template-rows:auto auto 1fr auto;gap:5px;min-width:0;padding:10px;border:1px solid #28424e;border-radius:13px;background:linear-gradient(155deg,rgba(15,39,50,.96),rgba(8,23,30,.98))}.mobile-meetup-idea-card293.is-interested{border-color:rgba(76,197,128,.38);box-shadow:inset 0 3px 0 rgba(66,190,119,.62)}.mobile-meetup-idea-card293.is-create{grid-column:1/-1;grid-template-columns:38px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;border-color:rgba(74,191,234,.37);background:linear-gradient(145deg,rgba(22,100,133,.15),rgba(8,23,30,.97))}
  .mobile-meetup-idea-icon293{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#0c1b22;font-size:19px}.mobile-meetup-idea-copy293{display:grid;gap:2px;min-width:0}.mobile-meetup-idea-copy293>span{color:#73d3f6;font-size:6px;font-weight:950;letter-spacing:.8px}.mobile-meetup-idea-copy293 h3{margin:0;color:#fff;font-size:12px;line-height:1.18}.mobile-meetup-idea-copy293 p{margin:1px 0;color:#98aab2;font-size:8.5px;line-height:1.38}.mobile-meetup-idea-copy293 small{color:#ffb35c;font-size:7.5px;font-weight:850;line-height:1.25}.mobile-meetup-idea-card293.is-interested .mobile-meetup-idea-copy293 small{color:#86dfae}
  .mobile-meetup-idea-card293>button{align-self:end;min-height:34px;padding:5px 7px;border:1px solid rgba(255,151,49,.42);border-radius:9px;background:rgba(255,120,0,.10);color:#ffae59;font-size:8.5px;font-weight:950}.mobile-meetup-idea-card293>button.is-interested{border-color:rgba(73,195,126,.45);background:rgba(49,155,96,.12);color:#8ce3b3}.mobile-meetup-idea-card293.is-create>button{min-width:118px;border-color:rgba(79,195,236,.46);background:rgba(35,139,181,.12);color:#80ddff}.mobile-meetup-idea-card293.is-create .mobile-meetup-idea-copy293 p{display:none}
}
@media(max-width:370px){.mobile-meetup-ideas-grid293{grid-template-columns:1fr}.mobile-meetup-idea-card293.is-create{grid-column:auto;grid-template-columns:36px minmax(0,1fr);}.mobile-meetup-idea-card293.is-create>button{grid-column:1/-1;width:100%}}


/* UPDATE 295: Treffpunkt-Ideen mobil deutlich kompakter */
@media(max-width:760px){
  .mobile-meetup-ideas293{gap:8px!important;margin:0 0 12px!important;padding:11px!important;border-radius:15px!important}
  .mobile-meetup-ideas-head293{gap:2px!important}
  .mobile-meetup-ideas-head293>span{font-size:6.5px!important;letter-spacing:.9px!important}
  .mobile-meetup-ideas-head293 h3{font-size:17px!important;line-height:1.12!important}
  .mobile-meetup-ideas-head293 p{margin:2px 0 0!important;font-size:9px!important;line-height:1.35!important;color:#9fb0b7!important}
  body.is-signed-in .mobile-meetup-ideas-head293>span,
  body.is-signed-in .mobile-meetup-ideas-head293 p{display:none!important}
  body.is-signed-in .mobile-meetup-ideas293{padding-top:10px!important}
  body.is-signed-in .mobile-meetup-ideas-head293 h3{font-size:16px!important}
  .mobile-meetup-ideas-grid293{gap:6px!important}
  .mobile-meetup-idea-card293{grid-template-rows:auto auto auto!important;gap:4px!important;padding:8px!important;min-height:0!important}
  .mobile-meetup-idea-icon293{width:32px!important;height:32px!important;border-radius:9px!important;font-size:17px!important}
  .mobile-meetup-idea-copy293{gap:1px!important}
  .mobile-meetup-idea-copy293>span{display:none!important}
  .mobile-meetup-idea-copy293 h3{font-size:11px!important;line-height:1.15!important}
  .mobile-meetup-idea-copy293 p{display:none!important}
  .mobile-meetup-idea-copy293 small{font-size:7px!important;line-height:1.2!important}
  .mobile-meetup-idea-card293>button{min-height:30px!important;padding:4px 6px!important;font-size:7.8px!important;border-radius:8px!important}
  .mobile-meetup-idea-card293.is-create{grid-template-columns:32px minmax(0,1fr)!important;gap:7px!important}
  .mobile-meetup-idea-card293.is-create>button{grid-column:1/-1!important;width:100%!important;min-width:0!important}
}

/* UPDATE 296: Treffpunkt-Erstellen im Treffpunkte-Reiter klar benennen */
@media(max-width:760px){
  .mobile-add247.mobile-add-meetup296{width:auto!important;min-width:92px!important;height:40px!important;padding:0 11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;border-radius:12px!important;font-size:12px!important;font-weight:900!important}
  .mobile-add247.mobile-add-meetup296>span{font-size:18px!important;line-height:1!important;color:inherit!important;letter-spacing:0!important}
  .mobile-add247.mobile-add-meetup296>b{font-size:10px!important;line-height:1!important}
}


/* UPDATE 301: Treffpunkt-Teaser auch in der mobilen App fuer Gaeste */
@media(max-width:760px){
  body.guest-preview-mode .mobile-guest-meetup-card292{
    display:grid;gap:9px;margin:0 0 12px;padding:12px 13px;
    border-color:rgba(255,134,28,.30);
    background:linear-gradient(145deg,rgba(255,120,0,.085),rgba(8,23,30,.98) 58%);
  }
  .mobile-guest-meetup-copy292 h3{font-size:15.5px}
  .mobile-guest-meetup-copy292 p{font-size:10px}
  .mobile-guest-meetup-copy292 strong{font-size:9px;color:#dbe5e9}
  .mobile-guest-meetup-cta292{
    min-height:39px;border-color:rgba(255,148,43,.62);
    background:linear-gradient(180deg,#ff8d1a,#e96500);
    box-shadow:0 8px 18px rgba(255,105,0,.16);
  }
  body.is-signed-in .mobile-guest-meetup-card292{display:none!important}
}

/* UPDATE 313: Mobile Mitglieder-Zeile komplett im Admin einstellbar */
@media(max-width:760px){
  .mobile-members-strip273{
    min-height:var(--ap-mobile-member-tile-height,50px)!important;
    border-radius:var(--ap-mobile-member-tile-radius,13px)!important;
  }
  .mobile-members-strip-icon273{
    width:calc(var(--ap-mobile-member-tile-icon-size,18px) + 14px)!important;
    height:calc(var(--ap-mobile-member-tile-icon-size,18px) + 14px)!important;
    font-size:var(--ap-mobile-member-tile-icon-size,18px)!important;
  }
  .mobile-members-strip-copy273 b{
    font-size:var(--ap-mobile-member-tile-title-size,13px)!important;
  }
  .mobile-members-strip-copy273 small{
    font-size:var(--ap-mobile-member-tile-subtitle-size,10px)!important;
  }
  .mobile-members-strip-action273{
    font-size:var(--ap-mobile-member-tile-action-size,10px)!important;
  }
}


/* UPDATE 314: Mitglieder-Zeile maximal zweizeilig und kompakter */
@media(max-width:760px){
  .mobile-members-strip273{
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
  }
  .mobile-members-strip-copy273{
    display:grid!important;
    grid-template-rows:auto auto!important;
    gap:2px!important;
    min-width:0!important;
  }
  .mobile-members-strip-meta314{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
    line-height:1.1!important;
  }
  .mobile-members-strip-meta314>small{
    flex:1 1 auto!important;
    min-width:0!important;
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .mobile-members-strip-meta314>.mobile-members-strip-action273{
    flex:0 0 auto!important;
    grid-column:auto!important;
    justify-self:auto!important;
    margin:0!important;
    padding-left:8px!important;
    border-left:1px solid rgba(255,154,50,.25)!important;
    line-height:1.1!important;
  }
  .mobile-members-strip-meta314>.mobile-members-strip-action273 i{
    font-size:1.35em!important;
  }
}
@media(max-width:390px){
  .mobile-members-strip273{grid-template-columns:auto minmax(0,1fr)!important;gap:7px!important}
  .mobile-members-strip-meta314>.mobile-members-strip-action273{grid-column:auto!important;justify-self:auto!important;margin:0!important}
}
