.inbox-nav-link{position:relative;width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:1px solid #ffffff22;border-radius:9px;background:#111318;color:#e9ebef;transition:.2s}.inbox-nav-link:hover{border-color:#e10613;color:#fff;background:#191216;box-shadow:0 0 20px #e1061322}.inbox-nav-link svg,.inbox-message-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.inbox-nav-count{position:absolute;right:-6px;top:-6px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border:2px solid #08090c;border-radius:99px;background:#e10613;color:#fff;font:700 9px Arial,sans-serif;line-height:1}.account-top .inbox-nav-link{margin-left:auto}.account-top .inbox-nav-link+nav{margin-left:0}.inbox-body{min-height:100vh;background:radial-gradient(ellipse at 78% 8%,#e1061313,transparent 27%),#0a0b0e;color:#f7f7f7;font-family:Arial,Helvetica,sans-serif}.inbox-shell{max-width:900px}.inbox-heading{padding:45px 0 23px}.inbox-heading h1{margin:10px 0 8px;font:700 clamp(34px,6vw,48px)/1 'Arial Narrow',Arial,sans-serif;letter-spacing:-.045em}.inbox-heading p{color:#9297a2;font-size:13px;line-height:1.7}.inbox-list{display:grid;gap:12px}.inbox-message{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:19px 21px;background:linear-gradient(115deg,#15171d,#101216);border:1px solid #ffffff12;border-left:2px solid #e10613;box-shadow:0 12px 28px #0003}.inbox-message-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid #e1061340;border-radius:10px;color:#ff6871;background:#e1061310}.inbox-message-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.inbox-message h2{margin:1px 0 0;color:#f5f6f7;font-size:15px}.inbox-message time{color:#858b95;font-size:10px;white-space:nowrap}.inbox-message p{margin:12px 0 13px;color:#c5c8ce;font-size:13px;line-height:1.75;overflow-wrap:anywhere}.inbox-message-content>small{color:#ff626b;font:700 9px Arial,sans-serif;letter-spacing:.12em}.inbox-empty{padding:60px 20px;text-align:center;background:#111318;border:1px solid #ffffff10}.inbox-empty>span{color:#ff626b;font-size:27px}.inbox-empty h2{margin:13px 0 7px;font-size:19px}.inbox-empty p{color:#9297a2;font-size:12px}.inbox-body .chat-widget,.inbox-body .chat-launcher{display:none!important}@media(max-width:600px){.inbox-heading{padding:34px 0 18px}.inbox-message{grid-template-columns:34px 1fr;gap:10px;padding:15px 13px}.inbox-message-icon{width:34px;height:34px}.inbox-message-heading{display:block}.inbox-message time{display:block;margin-top:7px}.inbox-message p{font-size:12px}.inbox-nav-link{width:34px;height:34px;flex-basis:34px}.account-top .inbox-nav-link{margin-left:auto}}
.inbox-message-rich{margin:12px 0 13px;color:#c5c8ce;font-size:15px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}.inbox-message-rich strong{font-weight:800}.inbox-message-rich u{text-decoration-thickness:1px;text-underline-offset:3px}.inbox-message-rich sub,.inbox-message-rich sup{font-size:.75em}.inbox-message-rich span{border-radius:3px;padding:0 1px}@media(max-width:600px){.inbox-message-rich{font-size:12px}}


/* === CARIAL V55: Inbox delete controls === */
.inbox-heading-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
}
.inbox-clear-form,
.inbox-delete-form{
  margin:0;
}
.inbox-clear-all,
.inbox-delete-button{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid rgba(225,6,19,.34);
  background:linear-gradient(135deg,rgba(225,6,19,.10),rgba(255,255,255,.025));
  color:#f4f5f7;
  font:800 11px/1 Arial,sans-serif;
  letter-spacing:.02em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .2s ease;
}
.inbox-clear-all{
  min-height:42px;
  padding:0 15px;
  border-radius:11px;
}
.inbox-delete-button{
  min-height:34px;
  padding:0 10px;
  border-radius:9px;
  color:#c5cad2;
  background:rgba(255,255,255,.025);
  border-color:rgba(255,255,255,.10);
}
.inbox-clear-all svg,
.inbox-delete-button svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.inbox-clear-all:hover,
.inbox-delete-button:hover{
  color:#fff;
  border-color:rgba(225,6,19,.75);
  background:rgba(225,6,19,.13);
  box-shadow:0 0 22px rgba(225,6,19,.10);
  transform:translateY(-1px);
}
.inbox-message-heading>div{
  min-width:0;
}
.inbox-message-heading .inbox-delete-form{
  flex:0 0 auto;
  margin-left:auto;
}

@media(max-width:600px){
  .inbox-heading-row{
    align-items:flex-start;
    flex-direction:column;
    gap:14px;
  }
  .inbox-clear-all{
    min-height:39px;
    padding:0 13px;
    font-size:10px;
  }
  .inbox-message-heading{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:10px;
  }
  .inbox-message time{
    margin-top:7px;
  }
  .inbox-delete-button{
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
    padding:0;
    border-radius:10px;
  }
  .inbox-delete-button span{
    display:none;
  }
}

