/* Notificaciones estilo Facebook (solo el área de tarjetas) */
.mbn-wrap{max-width:680px;margin:0 auto}
.mbn-title{font-size:24px;font-weight:700;padding:4px 4px 8px}
.mbn-sec{font-size:17px;font-weight:600;padding:8px 4px}
.mbn-list{border-radius:12px;overflow:hidden;background:#fff;border:1px solid #dddfe2}
.dark .mbn-list{background:#242526;border-color:#3a3b3c}
.mbn-card{display:flex;gap:12px;padding:10px 12px;cursor:pointer;position:relative;border-bottom:1px solid rgba(128,128,128,.18)}
.mbn-card:last-child{border-bottom:0}
.mbn-card.unread{background:rgba(24,119,242,.08)}
.dark .mbn-card.unread{background:rgba(45,136,255,.14)}
.mbn-av{position:relative;width:56px;height:56px;flex:none}
.mbn-badge{position:absolute;right:-3px;bottom:-3px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#fff;border:2px solid #fff}
.dark .mbn-badge{border-color:#242526}
.mbn-body{flex:1;min-width:0}
.mbn-text{font-size:15px;line-height:1.3;word-break:break-word}
.mbn-time{font-size:13px;color:#65676b;margin-top:2px}
.dark .mbn-time{color:#b0b3b8}
.mbn-btns{display:flex;gap:8px;margin-top:8px}
.mbn-btn{flex:1;padding:8px 10px;border-radius:6px;font-weight:600;font-size:14px}
.mbn-ok{background:#1877f2;color:#fff}
.mbn-no{background:#e4e6eb;color:#050505}
.dark .mbn-no{background:#3a3b3c;color:#e4e6eb}
.mbn-more{flex:none;align-self:flex-start;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#65676b}
.mbn-more:hover{background:rgba(128,128,128,.2)}
.mbn-empty{padding:32px;text-align:center;color:#65676b}
.mbn-ov{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1000;display:flex;align-items:flex-end;justify-content:center}
.mbn-sheet{width:100%;background:#fff;border-radius:16px 16px 0 0;padding:8px 12px 20px}
.dark .mbn-sheet{background:#242526}
.mbn-grab{width:40px;height:4px;border-radius:2px;background:rgba(128,128,128,.5);margin:2px auto 12px}
.mbn-shead{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:14px;padding:0 8px 12px;border-bottom:1px solid rgba(128,128,128,.25);margin-bottom:6px}
.mbn-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:8px;border-radius:8px;font-size:15px;font-weight:500}
.mbn-row:hover{background:rgba(128,128,128,.15)}
.mbn-ic{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(128,128,128,.22);font-weight:700;flex:none}
.mbn-thanks{text-align:center;padding:14px 8px;font-size:15px}
@media(min-width:768px){.mbn-ov{align-items:center}.mbn-sheet{max-width:380px;border-radius:12px}}

/* ===== v2: look Facebook, pantalla completa (solo notificaciones) ===== */
.mb-mmain[data-view="notifications"]>div{display:block!important}
.mb-mmain[data-view="notifications"]>div>aside{display:none!important}
.mb-mmain[data-view="notifications"] main{max-width:none}
.mbn-wrap{max-width:680px;margin:8px auto 0;background:var(--card,#fff);border-radius:8px;padding:16px 8px 12px;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.mbn-head{display:flex;align-items:center;justify-content:space-between;padding:0 8px;position:relative}
.mbn-title{font-size:24px;font-weight:700;padding:0}
.mbn-hmore{position:relative}
.mbn-tabs{display:flex;gap:8px;padding:12px 8px 4px}
.mbn-tab{padding:6px 12px;border-radius:18px;font-size:15px;font-weight:600}
.mbn-tab:hover{background:rgba(128,128,128,.15)}
.mbn-tab.on{background:rgba(24,119,242,.15);color:#1877f2}
.dark .mbn-tab.on{background:rgba(45,136,255,.2);color:#2d88ff}
.mbn-sec{font-size:17px;font-weight:600;padding:12px 8px 4px}
.mbn-list{border:0!important;border-radius:0;background:transparent!important;overflow:visible}
.mbn-card{align-items:center;padding:8px;border-radius:8px;border-bottom:0!important}
.mbn-card:hover{background:rgba(128,128,128,.12)}
.mbn-card.unread,.dark .mbn-card.unread{background:transparent}
.mbn-card.unread:hover{background:rgba(128,128,128,.12)}
.mbn-text{font-size:15px;line-height:1.33}
.mbn-time{font-size:13px;font-weight:500}
.mbn-time.new{color:#1877f2;font-weight:600}
.dark .mbn-time.new{color:#2d88ff}
.mbn-badge{width:28px;height:28px;right:-4px;bottom:-4px}
.mbn-btn{height:36px;padding:0 10px;border-radius:6px}
.mbn-dot{flex:none;width:12px;height:12px;border-radius:50%;background:#1877f2;margin:0 4px 0 2px}
.dark .mbn-dot{background:#2d88ff}
.mbn-more{align-self:center;width:36px;height:36px;opacity:0;background:rgba(128,128,128,.2)}
.mbn-card:hover .mbn-more,.mbn-more.on{opacity:1}
.mbn-pop-bg{position:fixed;inset:0;z-index:40;cursor:default}
.mbn-pop{position:absolute;right:8px;top:100%;margin-top:-4px;width:340px;max-width:calc(100% - 16px);z-index:41;background:var(--card,#fff);border:1px solid rgba(128,128,128,.25);border-radius:8px;padding:8px;box-shadow:0 4px 16px rgba(0,0,0,.28)}
.dark .mbn-pop{background:#2f3031}
.mbn-hmore .mbn-pop{right:0;top:40px;margin-top:0;width:280px}
.mbn-pi{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:8px;border-radius:6px;font-size:15px;font-weight:500}
.mbn-pi:hover{background:rgba(128,128,128,.18)}
.mbn-pic{width:24px;text-align:center;flex:none;font-weight:700}
@media(min-width:768px){.mbn-ov{display:none}}
@media(max-width:767px){
  .mbn-wrap{margin:0;border-radius:0;box-shadow:none;padding:12px 4px}
  .mbn-more{opacity:1;background:transparent}
  .mbn-pop:not(.mbn-always),.mbn-pop-bg:not(.mbn-always){display:none}
}

/* Menú "Marcar todas como leídas": el max-width en % se calculaba sobre el botón de 32px y el panel quedaba de ~16px */
.mbn-hmore .mbn-pop{max-width:none;width:280px}
