/* Erfan Platform — responsive composition v0.9.3
   Public responsive rules live with public.css. This file owns app/member/club/admin-adjacent viewport behavior. */
@media(max-width:1180px){
  .ebp-app-shell{grid-template-columns:78px minmax(0,1fr)}
  .ebp-context-rail{display:none}
  .ebp-sidebar-brand strong,.ebp-sidebar-foot{display:none}
  .ebp-sidebar-brand{justify-content:center}.ebp-side-item{justify-content:center;padding-inline:0}.ebp-side-item span{display:block;font-size:12px}
  .ebp-page{max-width:1080px;padding-inline:32px}
}

@media(max-width:860px){
  .ebp-icon-button,.ebp-avatar-button{width:38px;height:38px;border-radius:13px}.ebp-avatar-button img{border-radius:12px}
  .ebp-member-grid{grid-template-columns:1fr;gap:12px}.ebp-member-signals{grid-column:auto;margin-top:0}.ebp-attention-grid{grid-template-columns:1fr}.ebp-quick-strip{grid-template-columns:1fr 1fr 1fr}
  .ebp-member-welcome{min-height:0;display:block;padding:23px 22px 21px}.ebp-member-welcome-actions{display:flex;margin-top:18px;justify-content:flex-start}.ebp-member-welcome .ebp-round-action{display:none}.ebp-member-welcome .ebp-command-pill{width:auto;max-width:280px}.ebp-member-event{min-height:0}
  .ebp-club-mast{grid-template-columns:1fr}.ebp-club-mast-art{display:none}.ebp-people-grid-v080,.ebp-people-grid,.ebp-opportunity-grid,.ebp-app-shell .ebp-discovery-grid{grid-template-columns:1fr 1fr}
  .ebp-sheet{top:auto;bottom:0;left:0;right:0;transform:none;width:100%;max-width:none;max-height:min(88dvh,760px);border-radius:26px 26px 0 0;padding:24px 18px calc(24px + env(safe-area-inset-bottom))}
  .ebp-club-top-grid{grid-template-columns:1fr;gap:12px}.ebp-club-highlight-v080{min-height:0;grid-template-columns:118px minmax(0,1fr);padding:20px;gap:18px;border-radius:24px}.ebp-club-highlight-art{height:142px;border-radius:20px}.ebp-club-pulse{min-height:0;padding:20px;border-radius:24px;gap:18px}.ebp-club-conversation-grid{grid-template-columns:1fr}.ebp-library-grid-v080{grid-template-columns:1fr}.ebp-view-mast{grid-template-columns:minmax(0,1fr);gap:18px}.ebp-view-mast>.ebp-mast-mini,.ebp-view-mast>.ebp-library-symbol,.ebp-view-mast>.ebp-people-stack,.ebp-view-mast>.ebp-primary{justify-self:start}.ebp-filter-glass{position:static;top:auto}
}

@media(max-width:700px){
  body.ebp-standalone{font-size:15.5px}
  .ebp-member-welcome{padding:22px 19px;border-radius:22px}.ebp-member-welcome h1{font-size:27px;line-height:1.18;letter-spacing:-.026em;max-width:11em}.ebp-member-welcome p{font-size:13.5px;line-height:1.7;max-width:29em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ebp-member-welcome-actions{margin-top:16px}.ebp-command-pill{min-height:44px;justify-content:center;width:100%;max-width:none}.ebp-command-pill kbd{display:none}
  .ebp-member-focus{min-height:245px;border-radius:22px}.ebp-member-focus-copy{padding:20px}.ebp-member-focus-copy h2{font-size:25px}.ebp-member-focus-copy p{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ebp-member-focus-copy a{margin-top:12px}
  .ebp-member-event{grid-template-columns:70px 1fr;padding:17px;border-radius:20px}.ebp-member-event h3{font-size:18px}.ebp-member-event p{font-size:13px}.ebp-member-signals{grid-template-columns:repeat(3,1fr);gap:7px}.ebp-signal{padding:12px 8px;border-radius:15px}.ebp-signal b{font-size:20px}.ebp-signal span{font-size:12px}
  .ebp-member-section>.ebp-section-head h2{font-size:21px}.ebp-attention-grid{display:flex;overflow:auto;margin-inline:-14px;padding:0 14px 8px;scroll-snap-type:x mandatory}.ebp-attention-card{flex:0 0 82%;scroll-snap-align:center}.ebp-attention-card strong{font-size:13px}.ebp-quick-strip{grid-template-columns:1fr;gap:8px}.ebp-quick-strip>button{padding:15px}
  .ebp-people-grid-v080,.ebp-people-grid,.ebp-opportunity-grid,.ebp-app-shell .ebp-discovery-grid{grid-template-columns:1fr}.ebp-avatar-rail{display:flex;overflow:auto;margin-inline:-14px;padding:2px 14px 8px;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.ebp-avatar-rail>button{flex:0 0 148px;scroll-snap-align:start}
  .ebp-club-mast{padding:24px 20px;border-radius:23px;margin-bottom:10px}.ebp-club-mast h1{font-size:30px;line-height:1.2;margin-top:7px}.ebp-club-mast p{font-size:13px;line-height:1.72;max-width:31em}.ebp-app-shell .ebp-subnav{margin-inline:-14px;padding-inline:14px}.ebp-event-card,.ebp-community-card,.ebp-opportunity-card,.ebp-person-card{border-radius:20px}
  .ebp-club-tabs{top:66px;margin:10px -2px 18px;padding:6px;border-radius:16px;overflow:auto;display:flex;scrollbar-width:none}.ebp-club-tabs::-webkit-scrollbar{display:none}.ebp-club-tabs button{flex:0 0 auto;min-height:40px;padding-inline:13px;font-size:12px}
  .ebp-club-dashboard-v080{width:100%;max-width:100%;min-width:0;overflow:clip}.ebp-club-dashboard-v080>*{min-width:0;max-width:100%}.ebp-club-top-grid{gap:10px}.ebp-club-highlight-v080{grid-template-columns:80px minmax(0,1fr);padding:17px;gap:14px;border-radius:22px}.ebp-club-highlight-art{height:104px;border-radius:17px}.ebp-club-highlight-art:before{width:76px;height:76px}.ebp-club-highlight-art:after{width:54px;height:54px}.ebp-club-highlight-art span{width:34px;height:34px}.ebp-club-highlight-v080 h2{font-size:21px;line-height:1.25;margin:5px 0 7px}.ebp-club-highlight-v080 p{font-size:12px;line-height:1.55;margin-bottom:12px}.ebp-club-highlight-v080 .ebp-primary{min-height:40px;padding:8px 12px;font-size:12px}.ebp-club-pulse{padding:17px;border-radius:22px}.ebp-club-pulse header strong{font-size:20px}.ebp-club-pulse>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ebp-club-pulse button{padding:11px 5px;border-radius:13px}.ebp-club-pulse button b{font-size:18px}.ebp-club-pulse button span{font-size:12px}.ebp-club-conversation-grid{grid-template-columns:1fr}.ebp-club-conversation-grid .ebp-community-card{border-radius:18px}
  .ebp-view-mast{display:block;padding:24px 21px;border-radius:23px;margin-bottom:12px;box-shadow:0 12px 34px rgba(10,25,48,.055)}.ebp-view-mast h2{font-size:28px;line-height:1.18;letter-spacing:-.026em;margin:7px 0 10px;max-width:12em}html[dir="rtl"] .ebp-view-mast h2{letter-spacing:0;line-height:1.28}.ebp-view-mast p{font-size:13px;line-height:1.75;max-width:31em}.ebp-view-mast .ebp-mast-mini{margin-top:17px;padding-top:15px;border-top:1px solid var(--ebp-line);display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;align-items:center}.ebp-view-mast .ebp-mast-mini>span{grid-row:1/3;font-size:12px;color:var(--ebp-muted)}.ebp-view-mast .ebp-mast-mini strong{font-size:13px;line-height:1.45;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ebp-view-mast .ebp-mast-mini small{font-size:12px;color:var(--ebp-muted)}
  .ebp-library-symbol{width:68px;height:68px;border-radius:21px;margin-top:17px;box-shadow:0 12px 30px rgba(9,24,46,.13)}.ebp-library-symbol span{width:48px;height:48px;border-radius:16px}.ebp-library-symbol .ebp-icon{width:27px;height:27px}.ebp-people-stack{margin-top:18px;justify-content:flex-start;padding-inline:0}.ebp-people-stack img{width:42px;height:42px;border-radius:14px}.ebp-view-mast>.ebp-primary{margin-top:17px;min-height:42px}.ebp-filter-glass{margin:0 0 14px;padding:6px;border-radius:15px;overflow:auto;scrollbar-width:none}.ebp-filter-glass::-webkit-scrollbar{display:none}.ebp-filter-glass button{flex:0 0 auto;min-height:39px}
  .ebp-event-list-v080{gap:10px}.ebp-event-list-v080 .ebp-event-card{display:block;min-height:0;padding:15px;border-radius:20px}.ebp-event-list-v080 .ebp-event-main{width:100%;grid-template-columns:54px minmax(0,1fr);gap:12px;align-items:start}.ebp-event-list-v080 .ebp-date-chip{width:54px;height:62px;border-radius:15px}.ebp-event-list-v080 .ebp-date-chip b{font-size:22px}.ebp-event-list-v080 .ebp-date-chip span{font-size:12px;margin-top:3px}.ebp-event-list-v080 .ebp-event-main .ebp-eyebrow{font-size:12px;line-height:1.5;white-space:normal}.ebp-event-list-v080 .ebp-event-main h3{font-size:17px;line-height:1.42;margin:4px 0 5px;overflow-wrap:anywhere}.ebp-event-list-v080 .ebp-event-main p,.ebp-event-list-v080 .ebp-event-main small{font-size:12.5px;line-height:1.6}.ebp-event-card-side{margin-top:13px;padding-top:12px;border-top:1px solid var(--ebp-line);justify-content:space-between;gap:10px}.ebp-event-card-side>.ebp-primary,.ebp-event-card-side>.ebp-secondary{min-height:40px;flex:1;max-width:190px}.ebp-event-rings{margin:0;direction:ltr;padding-inline-start:8px}.ebp-event-rings i{width:22px;height:22px;border-width:2px}
  .ebp-library-grid-v080{grid-template-columns:1fr;gap:11px}.ebp-library-grid-v080 .ebp-library-card{display:grid;grid-template-columns:112px minmax(0,1fr);overflow:hidden;border-radius:21px;min-height:156px}.ebp-library-grid-v080 .ebp-library-cover{height:100%;min-height:156px;border-radius:0;background-size:cover;background-position:center}.ebp-library-grid-v080 .ebp-library-cover>span{top:9px;left:9px;font-size:12px;padding:5px 7px}.ebp-library-grid-v080 .ebp-library-cover.placeholder{min-height:156px}.ebp-library-grid-v080 .ebp-library-cover.placeholder .ebp-icon{width:34px;height:34px}.ebp-library-grid-v080 .ebp-library-cover.placeholder b{font-size:12px;text-align:center;padding-inline:8px}.ebp-library-grid-v080 .ebp-library-copy{padding:15px 14px;display:flex;flex-direction:column;min-width:0}.ebp-library-grid-v080 .ebp-library-copy .ebp-eyebrow{font-size:12px}.ebp-library-grid-v080 .ebp-library-copy h3{font-size:17px;line-height:1.42;margin:5px 0 7px}.ebp-library-grid-v080 .ebp-library-copy p{font-size:12.5px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:10px}.ebp-library-grid-v080 .ebp-library-copy footer{margin-top:auto;gap:7px}.ebp-library-grid-v080 .ebp-library-copy footer .ebp-secondary{min-height:38px;padding:7px 11px}.ebp-library-grid-v080 .ebp-library-copy footer .ebp-icon-button{width:38px;height:38px;border-radius:12px}
  .ebp-people-grid-v080{grid-template-columns:1fr}.ebp-opportunity-grid-v080{grid-template-columns:1fr}.ebp-opportunity-grid-v080 .ebp-opportunity-card h3{font-size:18px}.ebp-club-people-strip,.ebp-member-section{min-width:0}.ebp-club-people-strip .ebp-section-head,.ebp-member-section>.ebp-section-head{gap:12px}.ebp-club-people-strip .ebp-section-head>div,.ebp-member-section>.ebp-section-head>div{min-width:0}.ebp-status-panel{margin:34px auto;padding:30px 22px;border-radius:22px}.ebp-account-gate{margin:38px auto;padding:28px 20px;border-radius:22px}
}

@media(max-width:390px){.ebp-member-welcome h1{font-size:25px}.ebp-icon-button,.ebp-avatar-button{width:36px;height:36px}
  .ebp-view-mast{padding:22px 18px}.ebp-view-mast h2{font-size:26px}.ebp-club-highlight-v080{grid-template-columns:68px minmax(0,1fr);padding:15px}.ebp-club-highlight-art{height:92px}.ebp-club-highlight-v080 h2{font-size:19px}.ebp-event-card-side .ebp-event-rings{display:none}.ebp-event-card-side>.ebp-primary,.ebp-event-card-side>.ebp-secondary{max-width:none;width:100%}.ebp-library-grid-v080 .ebp-library-card{grid-template-columns:96px minmax(0,1fr)}.ebp-library-grid-v080 .ebp-library-cover{min-height:150px}.ebp-library-grid-v080 .ebp-library-copy{padding:14px 12px}
}

@media(max-width:340px){
  .ebp-member-welcome{padding:20px 16px;border-radius:20px}.ebp-member-welcome h1{font-size:23px;max-width:none}.ebp-member-welcome p{font-size:13px}.ebp-member-event{grid-template-columns:1fr}.ebp-event-art{width:100%;height:66px;flex-direction:row;border-radius:16px}.ebp-sheet{padding-inline:14px}.ebp-club-tabs{margin-inline:-4px}
}
