
/* ===================================
   GHOST IDENTITY — BALTIMORE 2086
   =================================== */

.ghost86 {
  --bg:#e3e1e3;
  --paper:#f5f3f4;
  --line:#b8aab2;
  --dark:#39333b;
  --muted:#79636e;
  width:100%;
  max-width:850px;
  margin:20px auto;
  padding:22px;
  box-sizing:border-box;
  background:var(--bg);
  border:1px solid #a99ca5;
  color:var(--dark);
  font:13px/1.65 Arial,sans-serif;
  box-shadow:0 12px 35px rgba(30,40,45,.09);
  position:relative;
}

.ghost86 *,
.ghost86 *:before,
.ghost86 *:after {
  box-sizing:border-box;
}

.ghost86 svg {
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:block;
}

.ghost86 .small {
  font-size:9px;
  letter-spacing:1px;
  color:#79636e;
}

/* HEADER */

.ghost86 .head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  border-bottom:1px solid var(--line);
  padding-bottom:15px;
  font-size:12px;
  letter-spacing:2px;
}

.ghost86 .head-title {
  display:flex;
  align-items:center;
  gap:12px;
}

.ghost86 .head-icon {
  padding:9px;
  background:#d9cbd1;
  border:1px solid var(--line);
}

/* IDENTITY */

.ghost86 .identity {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:22px 0 18px;
}

.ghost86 .name {
  font:32px/1.2 Georgia,serif;
  color:#342e36;
  margin:6px 0;
  overflow-wrap:anywhere;
}

.ghost86 .gender {
  min-width:110px;
  background:#dfd2d8;
  border:1px solid var(--line);
  padding:10px;
  text-align:center;
}

.ghost86 .gender b {
  display:block;
  font:28px Georgia,serif;
}

/* TOP */

.ghost86 .top {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);
  gap:12px;
  align-items:stretch;
}

.ghost86 .photo {
  min-width:0;
  padding:5px;
  background:#d4cfd3;
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
}

.ghost86 .portrait {
  width:100%;
  aspect-ratio:3/4;
  background:#c7bec5 center/cover no-repeat;
  position:relative;
}

.ghost86 .portrait:before,
.ghost86 .portrait:after {
  content:"";
  position:absolute;
  width:22px;
  height:22px;
}

.ghost86 .portrait:before {
  top:10px;
  left:10px;
  border-top:1px solid #fff;
  border-left:1px solid #fff;
}

.ghost86 .portrait:after {
  right:10px;
  bottom:10px;
  border-right:1px solid #fff;
  border-bottom:1px solid #fff;
}

.ghost86 .photo-foot {
  padding:10px 6px;
  font-size:10px;
  text-align:center;
  color:#705c67;
}

.ghost86 .terminal {
  min-width:0;
  padding:15px;
  background:var(--paper);
  border:1px solid var(--line);
}

.ghost86 .tabs {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  margin:14px 0;
}

/* RADIO CONTROLS */

.ghost86 input[type="radio"] {
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  padding:0;
  opacity:0;
  pointer-events:none;
}

.ghost86 .tabs label {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:11px 4px;
  background:#e7e3e6;
  border-bottom:2px solid #c9bac3;
  cursor:pointer;
  color:#77636e;
  font-size:11px;
  transition:.2s;
}

.ghost86 .tabs label:hover {
  background:#e0cfd7;
  color:#493741;
}

.ghost86 .tabs svg {
  width:20px;
  height:20px;
}

.ghost86 .data-panel {
  display:none;
}

.ghost86 .field {
  padding:8px 0;
  border-bottom:1px solid #d8cfd5;
  overflow-wrap:anywhere;
}

.ghost86 .field span {
  display:block;
  font-size:10px;
  color:#806973;
}

.ghost86 .field strong {
  display:block;
  margin-top:2px;
  font-size:13px;
  font-weight:500;
  color:#493741;
}

/* TOP ACTIVE STATES */

.ghost86:has(.d1:checked) .p1,
.ghost86:has(.d2:checked) .p2,
.ghost86:has(.d3:checked) .p3,
.ghost86:has(.d4:checked) .p4 {
  display:block;
}

.ghost86 .d1:checked + .t1,
.ghost86 .d2:checked + .t2,
.ghost86 .d3:checked + .t3,
.ghost86 .d4:checked + .t4 {
  background:#dac4cf;
  border-bottom-color:#965461;
  color:#493741;
}

/* STATUS */

.ghost86 .strip {
  margin:12px 0 20px;
  padding:10px;
  background:#d9cbd2;
  border:1px solid var(--line);
  color:#745663;
  font-size:9px;
  letter-spacing:1px;
  display:flex;
  justify-content:space-between;
  gap:10px;
}

/* LOWER BLOCK */

.ghost86 .bottom {
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  gap:10px;
  height:500px;
  max-height:500px;
  min-height:0;
  align-items:stretch;
}

.ghost86 .side {
  display:flex;
  flex-direction:column;
  gap:6px;
  height:100%;
  min-height:0;
  padding:5px;
  background:#d8d3d7;
  border:1px solid var(--line);
  position:relative;
}

.ghost86 .side label {
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:62px;
  padding:8px 4px;
  cursor:pointer;
  color:#79636e;
  background:transparent;
  border-left:3px solid transparent;
  border-bottom:1px solid #c4b5be;
  transition:background .2s,color .2s;
}

.ghost86 .side label:hover {
  background:#e8dce2;
  color:#493741;
}

.ghost86 .side svg {
  width:27px;
  height:27px;
}

.ghost86 .side input:checked + label {
  background:#f5f3f4;
  color:#753e50;
  border-left-color:#965461;
}

/* FIXED SCROLLABLE CONTENT */

.ghost86 .content {
  min-width:0;
  min-height:0;
  height:100%;
  max-height:100%;
  padding:22px;
  background:var(--paper);
  border:1px solid #c8bbc3;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#aa788a #e9e3e7;
}

.ghost86 .content::-webkit-scrollbar {
  width:6px;
}

.ghost86 .content::-webkit-scrollbar-track {
  background:#e9e3e7;
}

.ghost86 .content::-webkit-scrollbar-thumb {
  background:#aa788a;
  border-radius:5px;
}

.ghost86 .section {
  display:none;
}

.ghost86:has(.side .s1:checked) .content .b1,
.ghost86:has(.side .s2:checked) .content .b2,
.ghost86:has(.side .s3:checked) .content .b3,
.ghost86:has(.side .s4:checked) .content .b4,
.ghost86:has(.side .s5:checked) .content .b5 {
  display:block;
}

/* TEXT */

.ghost86 .section h2 {
  margin:12px 0 4px;
  padding:0;
  font:23px/1.3 Georgia,serif;
  font-weight:normal;
  color:#342e36;
  border:0;
  background:none;
}

.ghost86 .quote {
  margin:18px 0;
  padding:16px 0;
  border-top:1px solid #b99aa9;
  border-bottom:1px solid #d6c5ce;
  text-align:center;
  font:italic 15px/1.7 Georgia,serif;
  color:#744b5c;
}

.ghost86 .bodytext {
  line-height:1.85;
  overflow-wrap:anywhere;
}

.ghost86 .bodytext p {
  margin:0 0 14px;
  text-align:justify;
}

.ghost86 .bodytext ul {
  padding-left:20px;
}

.ghost86 .bodytext li {
  margin-bottom:10px;
}

/* FOOTER */

.ghost86 .footer {
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#79636e;
  font-size:9px;
  letter-spacing:1px;
}

/* MOBILE */

@media(max-width:600px) {
  .ghost86 {
    padding:12px;
  }

  .ghost86 .top {
    grid-template-columns:1fr;
  }

  .ghost86 .name {
    font-size:25px;
  }

  .ghost86 .bottom {
    grid-template-columns:53px minmax(0,1fr);
  }

  .ghost86 .content {
    padding:14px;
  }

  .ghost86 .side label {
    min-height:55px;
  }

  .ghost86 .side svg {
    width:23px;
    height:23px;
  }

  .ghost86 .section h2 {
    font-size:19px;
  }
}

.ghost86 .portrait img{width:100%!important;height:100%!important;object-fit:cover;display:block;margin:0!important;}
.ghost86 .portrait{overflow:hidden;}
.ghost86 .photo-foot p{margin:0;padding:0;}

/* Silver / graphite / dusty rose accents */
.ghost86{--accent:#965461;--rose:#dac4cf;--graphite:#302a32;}
.ghost86 .head-icon,.ghost86 .gender b{color:var(--accent);}
.ghost86 .head{border-bottom-color:#a48696;}
.ghost86 .strip{background:var(--graphite);color:#e5d4de;border-color:#66515f;}
.ghost86 .quote{color:#744b5c;}
.ghost86 .tabs label:focus-visible,.ghost86 .side label:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;}

/* Forum typography - uses fonts already loaded by the forum */
.ghost86 {font-family:Philosopher, Georgia, serif;font-size:15px;}
.ghost86 .head-title b {font:400 30px/1 "Alumni Sans Pinstripe", Arial, sans-serif;letter-spacing:3px;}
.ghost86 .name {font:600 36px/1.15 Cormorant, Georgia, serif;}
.ghost86 [data-g="ru"] {font:400 24px/1.25 Oranienbaum, Georgia, serif;}
.ghost86 .tabs label {font:400 15px/1.3 Philosopher, Georgia, serif;}
.ghost86 .field span {font:400 12px/1.4 "Bellota Text", Arial, sans-serif;}
.ghost86 .field strong {font:400 16px/1.4 Philosopher, Georgia, serif;}
.ghost86 .section h2 {font:400 28px/1.25 Oranienbaum, Georgia, serif;overflow-wrap:anywhere;}
.ghost86 .quote {font:italic 500 20px/1.55 "Cormorant Infant", Georgia, serif;}
.ghost86 .bodytext {font:400 15px/1.85 Philosopher, Georgia, serif;}
.ghost86 .small,.ghost86 .strip,.ghost86 .footer,.ghost86 .photo-foot {font-family:"Alumni Sans Pinstripe", Arial, sans-serif;font-size:14px;line-height:1.3;letter-spacing:1px;}
.ghost86 .photo-foot [data-g="face"] {font:400 12px/1.4 Philosopher, Georgia, serif;letter-spacing:0;}
@media(max-width:600px){.ghost86 .name{font-size:28px}.ghost86 .section h2{font-size:23px}.ghost86 .head-title b{font-size:24px}.ghost86 [data-g="ru"]{font-size:20px}.ghost86 .small,.ghost86 .strip,.ghost86 .footer{font-size:12px}}

/* Header legibility: retain original thin typeface */
.ghost86 .head-title b {
    font-weight: 700;
    color: #302a32;
    -webkit-text-stroke: 0.3px currentColor;
}
.ghost86 .head-title .small {
    font-weight: 700;
    color: #65515d;
    -webkit-text-stroke: 0.2px currentColor;
}
