#profileReader {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  align-items: start;
}
.jb-profile { display: contents; }
.profileImageContent { grid-column: 1; grid-row: 1 / span 2; }
.profileContent { grid-column: 2; grid-row: 1; min-width: 0; }
#tab-container { grid-column: 2; grid-row: 2; min-width: 0; }
.profileImageContent img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 16px;
}
.jb-panel .profileContent h1 { margin: 0 0 16px; font-size: 64px; line-height: 1; }
.jb-panel .profileContent h1::after { display: none; }
.jb-dl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.jb-dl div {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 14px;
  color: var(--jb-ink);
  background: var(--jb-raise);
  border: 1px solid var(--jb-edge);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}
.jb-dl span { color: var(--jb-muted); font: 600 13px/1 var(--jb-display); letter-spacing: 0.08em; text-transform: uppercase; }
.profileContent .description { max-width: 60ch; color: #e6d6e0; font-size: 16px; line-height: 1.65; }
.profileContent .description .label {
  display: block;
  margin-bottom: 6px;
  color: var(--jb-pink);
  font: 600 16px/1.2 var(--jb-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#profileReader .fbBox { position: absolute; top: 0; right: 0; }

/* SMS block: easytabs needs the tab list, so its one tab is styled as the panel title. */
#tab-container {
  max-width: 560px;
  margin-top: 28px;
  padding: 24px;
  background: var(--jb-raise);
  border: 1px solid var(--jb-edge);
  border-top: 3px solid var(--jb-mag);
  border-radius: 14px;
}
.etabs { margin: 0 0 18px; padding: 0; list-style: none; }
body.jb .etabs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 600 24px/1.1 var(--jb-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: default;
}
body.jb .etabs a::before { content: ""; flex: none; width: 22px; height: 22px; background: var(--jb-icon-chat-pink) center / contain no-repeat; }
.tabContent { padding: 0; background: none; }
#sendSMS { margin: 0; }
#sendSMS .table_row { margin: 0 0 16px; }
#sendSMS label {
  display: block;
  margin-bottom: 6px;
  color: var(--jb-muted);
  font: 600 15px/1.2 var(--jb-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#sendSMS .submit_container { margin-top: 4px; }
#sendSMS .submit { width: 100%; }
#error01 { display: none; margin: 6px 0 0; color: #ffd0d0; font-size: 14px; }
#fallbackMSG { color: var(--jb-ink); }
#sendOK, #sendERROR, #sendERROR_IP, #sendERROR_BAN {
  display: none;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-left: 3px solid #ff6b8b;
  border-radius: 10px;
  background: rgba(255, 107, 139, 0.08);
  line-height: 1.55;
}
#sendOK { border-left-color: var(--jb-pink); background: rgba(253, 147, 254, 0.08); }
#sendOK span { color: var(--jb-pink); font-weight: 600; }

@media (max-width: 1000px) {
  #profileReader { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 28px; }
  .jb-panel .profileContent h1 { font-size: 48px; }
}
@media (max-width: 640px) {
  #profileReader { display: block; }
  .jb-profile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .profileImageContent,
  .profileContent,
  #tab-container { grid-column: auto; grid-row: auto; }
  .profileImageContent { max-width: 480px; }
  .jb-panel .profileContent h1 { font-size: 40px; }
  #tab-container { margin-top: 24px; padding: 18px; }
}
@media (max-width: 500px) {
  #profileReader .fbBox { display: none; }
}
