/*
  The account page, a person's profile and the profile editor.
  Page rules only. The windows, the keys and the sprites are the Hall's (hall.css, gump.css).
*/

/* ------------------------------------------------------------------ the banner's plate */

.you { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .1rem .9rem; min-width: 16rem; }
.you-mark { grid-row: 1 / span 2; display: grid; place-items: center; width: 80px; height: 80px; background: #080707; box-shadow: inset 0 0 0 2px #000, inset 2px 2px 0 2px var(--well-lo), inset -2px -2px 0 2px var(--well-hi); }
.you-mark .sigil { width: 60px; height: 60px; }
.you-name { margin: 0; font: 400 20px/1.2 var(--pixel); color: var(--brass-hi); overflow-wrap: anywhere; }
.you .status-line { grid-column: 2; }

/* ------------------------------------------------------------------ a person */

.banner-person { min-height: 12.5rem; }
.person { display: flex; align-items: center; gap: 1.2rem; min-width: 0; }
.person-mark { display: grid; flex: none; place-items: center; width: 140px; height: 140px; background: #080707; box-shadow: inset 0 0 0 2px #000, inset 2px 2px 0 2px var(--well-lo), inset -2px -2px 0 2px var(--well-hi), 4px 4px 0 0 #000; }
.person-mark .sigil { width: 120px; height: 120px; }
.person-main { min-width: 0; }
/* The name stands on its own over the picture: plain bone in the board's face, with a black edge all
   round it, because the heat bands of a title melt into the orange windows behind it. */
.person-name { margin: 0; font-size: 48px; line-height: 1.05; background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: #f6efdc; filter: none; text-shadow: 3px 0 0 #000, -3px 0 0 #000, 0 3px 0 #000, 0 -3px 0 #000, 3px 3px 0 #000, -3px 3px 0 #000, 3px -3px 0 #000, -3px -3px 0 #000, 0 6px 0 #000; }
.person-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin: .7rem 0 0; }
.profile { padding-top: 2.2rem; padding-bottom: 1rem; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 1fr); gap: 2rem; align-items: start; }
.profile-main, .profile-side { min-width: 0; }
.quote { position: relative; margin: 0 0 1.2rem; padding: .7rem 1.1rem .7rem 2.6rem; font: 400 1.0625rem/1.55 var(--read); color: var(--ink-dim); background: #0f0e0d; }
.quote::before { content: ">>"; position: absolute; left: .7rem; top: .7rem; font: 400 16px/1.55 var(--pixel); letter-spacing: -.1em; color: var(--heat-3); }
.bio { max-width: 46rem; }
.bio p { margin: 0 0 1em; font: 400 1rem/1.75 var(--read); overflow-wrap: break-word; }
.label { margin: 1.1rem 0 .25rem; font: 400 16px/1.3 var(--pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.label:first-child { margin-top: 0; }
.field-text { margin: 0; font: 400 .9375rem/1.6 var(--read); color: var(--ink); overflow-wrap: anywhere; }
.profile-edit { max-width: 46rem; padding-top: 1.6rem; padding-bottom: 1rem; }

/* ------------------------------------------------------------------ layout */

.rooms { padding-top: 2.2rem; padding-bottom: 1rem; }
.rooms-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(19rem, 1fr); gap: 2rem; align-items: start; }
.rooms-side { min-width: 0; }


/* ------------------------------------------------------------------ a character's capsule */

.slots { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.slot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1rem 1.1rem 1.1rem; background: #16130f; box-shadow: inset 0 0 0 2px #000, inset 2px 2px 0 2px #3b3326, inset -2px -2px 0 2px #0a0907; }
.slot-lit { box-shadow: inset 0 0 0 2px #000, inset 2px 2px 0 2px #b9531a, inset -2px -2px 0 2px #5e220a, 0 0 22px #ff741a22; }
.slot-frost { box-shadow: inset 0 0 0 2px #000, inset 2px 2px 0 2px var(--arc-dim), inset -2px -2px 0 2px #0b1513, 0 0 22px #4a8f8833; }
.slot-pic { display: grid; place-items: center; width: 4.6rem; height: 4.6rem; background: #080707; box-shadow: inset 0 0 0 2px #000, inset 2px 2px 0 2px var(--well-lo), inset -2px -2px 0 2px var(--well-hi); }
.slot-lit .slot-pic { box-shadow: inset 0 0 0 2px #000, inset 2px 2px 0 2px var(--well-lo), inset -2px -2px 0 2px #b9531a; }
.slot-frost .slot-pic { box-shadow: inset 0 0 0 2px #000, inset 2px 2px 0 2px var(--well-lo), inset -2px -2px 0 2px var(--arc-dim); }
.slot-main { min-width: 0; }
.slot-name { margin: 0; font: 400 24px/1.15 var(--pixel); color: var(--brass-hi); text-shadow: 2px 2px 0 #000; overflow-wrap: anywhere; }
.slot-state { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1rem; margin: .25rem 0 0; font: 400 16px/1.4 var(--pixel); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); }
.slot-lit .slot-state { color: var(--heat-4); }
.slot-frost .slot-state { color: var(--tube); }
.slot-date { letter-spacing: .03em; text-transform: none; color: var(--ink-faint); }
.slot-note { margin: .5rem 0 0; font: 400 16px/1.45 var(--pixel); color: var(--ink-dim); }
.slot .note { margin: .6rem 0 0; }
.slot .keys { margin-top: .8rem; }

/* ------------------------------------------------------------------ the account's own */

.dots dd.ok { display: inline-flex; align-items: center; justify-content: flex-end; gap: .4rem; color: var(--arc); }
.dots dd.bad { display: inline-flex; align-items: center; justify-content: flex-end; gap: .4rem; color: var(--rust); }
.acct-menu { margin: .6rem 0 0; }

/* ------------------------------------------------------------------ narrow screens */

@media (max-width: 1000px) {
  .rooms-grid, .profile-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .person { flex-direction: column; align-items: flex-start; }
  .person-name { font-size: 32px; }
}
@media (max-width: 560px) {
  .slot { grid-template-columns: minmax(0, 1fr); }
  .slot-pic { width: 4rem; height: 4rem; }
  .you { min-width: 0; width: 100%; }
}
