/* CalamitySpace: a faculty member's profile on the staff social network, the staff social network of 2006: the layout of the era (blue bar,
   bordered boxes, a Top 8, a comment wall), with none of any real network's name or logo. */
body { margin: 0; background: #e5e5e5; font: 12px/1.35 Verdana, Arial, Helvetica, sans-serif; color: #000; }
a { color: #039; text-decoration: none; }
a:hover { text-decoration: underline; }
.bar { background: #039; color: #fff; }
.bar .in { max-width: 800px; margin: 0 auto; padding: 8px 10px 4px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.logo { font: bold 26px/1 Arial, Helvetica, sans-serif; letter-spacing: -1px; }
.logo small { font: 11px Verdana, sans-serif; letter-spacing: 0; display: block; color: #cde; margin-top: 2px; }
.search { font-size: 11px; }
.search input { font: 11px Verdana; width: 130px; }
.search button { font: 11px Verdana; }
.links { background: #6698cb; }
.links .in { max-width: 800px; margin: 0 auto; padding: 3px 10px; font: bold 11px Verdana, sans-serif; display: flex; flex-wrap: wrap; }
.links a { color: #fff; }
.links span { color: #fff; margin: 0 3px; }

.wrap { max-width: 800px; margin: 0 auto; background: #fff; padding: 12px 10px 20px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; }
@media (max-width: 680px) { .wrap { grid-template-columns: minmax(0, 1fr); } .ext { font-size: 14px; } }

h1.name { font: bold 22px Arial, sans-serif; margin: 0 0 6px; }
.idcard { display: flex; gap: 10px; }
.idcard img { width: 160px; max-width: 45%; height: auto; display: block; border: 0; }
.idcard .who { font-size: 11px; }
.idcard .quote { font-size: 12px; margin: 0 0 8px; }
.online { display: inline-block; margin-top: 6px; font: bold 11px Verdana; color: #fff; background: #f60; padding: 1px 6px; border-radius: 3px; }
.mood { margin: 8px 0 2px; }
.viewmy { margin: 2px 0 12px; font-size: 11px; }

.box { border: 1px solid #6698cb; margin: 0 0 12px; }
.box > h3 { margin: 0; background: #6698cb; color: #fff; font: bold 12px Verdana; padding: 3px 6px; }
.box > h3.orange { background: #ffcc99; color: #f60; }
.box .body { padding: 6px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; padding: 6px; font-size: 11px; }
.contact a::before { content: '\25B8 '; color: #6698cb; }
.url { border: 1px solid #6698cb; padding: 6px; margin: 0 0 12px; font-size: 11px; }
.url b { display: block; }

table.tbl { width: 100%; border-collapse: separate; border-spacing: 3px; background: #fff; font-size: 11px; }
table.tbl th { width: 34%; background: #b1d0f0; color: #369; text-align: left; vertical-align: top; padding: 4px; font-weight: bold; }
table.tbl td { background: #d5e8fb; padding: 4px; vertical-align: top; }

.song { border: 1px solid #999; background: #f4f4f4; padding: 6px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font-size: 11px; }
.song button { width: 30px; height: 26px; border: 1px solid #666; border-radius: 3px; background: linear-gradient(#fff, #ccc); cursor: pointer; font: bold 11px Verdana; }
.song .t b { display: block; }

.ext { border: 1px solid #000; padding: 10px; font: bold 16px Arial, sans-serif; margin: 0 0 12px; }
.blog .body { font-size: 11px; }
.blog li { margin: 0 0 3px; }
.blurb h4 { font: bold 12px Verdana; color: #f60; margin: 6px 0 2px; }
.blurb p { margin: 0 0 6px; }

.friends .count { margin: 0 0 6px; font-weight: bold; }
.top8 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; text-align: center; font-size: 11px; }
.top8 a { display: block; }
.top8 img, .top8 .nophoto { width: 90px; max-width: 100%; height: auto; aspect-ratio: 1; display: block; margin: 0 auto 3px; }
.nophoto { background: #ddd; color: #888; font: bold 11px/90px Verdana; }
.allfriends { text-align: right; margin-top: 8px; font-size: 11px; }

table.comments { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 11px; }
table.comments td { background: #d5e8fb; padding: 6px; vertical-align: top; }
table.comments td.from { width: 100px; background: #b1d0f0; text-align: center; font-weight: bold; }
table.comments td.from img { width: 80px; height: 80px; display: block; margin: 4px auto 0; }
table.comments .when { color: #666; font-weight: bold; display: block; margin-bottom: 4px; }
.spooky-more { text-align: right; font: bold 11px Verdana, sans-serif; margin: 2px 3px 8px; }
.sitefoot { text-align: center; font-size: 10px; color: #666; padding: 10px; background: #fff; max-width: 800px; margin: 0 auto; border-top: 1px solid #ccc; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* the home page: browse the faculty */
.home { max-width: 800px; margin: 0 auto; background: #fff; padding: 12px 10px 20px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px; }
@media (max-width: 680px) { .home { grid-template-columns: minmax(0, 1fr); } }
.login .body { font-size: 11px; }
.login input { width: 100%; box-sizing: border-box; font: 11px Verdana; margin: 2px 0 6px; }
.login button { font: 11px Verdana; }
.login .note { color: #c00; margin: 6px 0 0; }
.browse { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px 8px; text-align: center; font-size: 11px; }
.browse a { display: block; }
.browse img, .browse .nophoto { width: 96px; height: 96px; display: block; margin: 0 auto 3px; }
.browse .t { display: block; color: #666; font-size: 10px; }
.browse .online { font-size: 9px; padding: 0 4px; margin-top: 2px; }
.news li { margin: 0 0 4px; }
.err { max-width: 600px; margin: 40px auto; background: #fff; border: 1px solid #6698cb; padding: 20px; font-size: 12px; }
.err h1 { font: bold 16px Verdana; color: #c00; margin: 0 0 10px; }

/* Spookytalk: the comment form and live comments */
.spooky textarea { width: 100%; box-sizing: border-box; font: 12px Verdana, sans-serif; border: 1px solid #6698cb; padding: 4px; }
.spooky button { font: bold 11px Verdana; -webkit-appearance: none; appearance: none; background: #ddd; color: #000; border: 2px outset #eee; border-radius: 0; padding: 2px 10px; cursor: pointer; }
.spooky button:active { border-style: inset; }
.spooky button[disabled] { color: #888; }
.spooky .spooky-status { color: #c00; font-weight: bold; }
.spooky .spooky-waiting { background: #ffffcc; border: 1px dashed #c90; padding: 4px 6px; }
.spooky .spooky-note { font-size: 10px; color: #555; margin-top: 8px; }
.spooky .spooky-help { font: 14px/1.5 -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif; background: #fff; color: #111; border: 2px solid #111; border-radius: 8px; padding: 12px; margin: 0 0 10px; }
.spooky .spooky-help a { color: #0645ad; text-decoration: underline; }
.spooky-nophoto { width: 80px; height: 80px; line-height: 80px; display: block; margin: 4px auto 0; }
.spooky-reply { margin-top: 6px; padding: 5px 6px; background: #fff; border: 1px solid #b1d0f0; }
.spooky-report { font-weight: normal; font-size: 10px; color: #999; margin-left: 4px; }
.spooky-reported { font-weight: normal; font-size: 10px; color: #999; margin-left: 4px; }

/* UNDER CONSTRUCTION: hazard tape, cones, Earnest and his mop */
.uc { max-width: 600px; margin: 20px auto; background: #ffffcc; border: 3px dashed #f60; padding: 0 16px 16px; text-align: center; font-size: 12px; }
.uc .tape { height: 14px; margin: 0 -16px 12px; background: repeating-linear-gradient(-45deg, #000 0 12px, #fc0 12px 24px); background-size: 34px 34px; animation: tape 2s linear infinite; }
.uc .tape:last-child { margin: 14px -16px 0; }
@keyframes tape { to { background-position: 34px 0; } }
.uc h1 { font: 900 28px/1.1 Impact, 'Arial Black', sans-serif; color: #c00; letter-spacing: 1px; margin: 8px 0 4px; text-shadow: 2px 2px 0 #fc0; }
.uc .blink { animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.uc .what { font: bold 15px 'Comic Sans MS', 'Comic Sans', cursive; margin: 0 0 8px; }
.uc .scene { display: flex; align-items: flex-end; justify-content: center; gap: 6px; margin: 4px 0 8px; }
.uc .scene img { width: 150px; height: auto; }
.uc .cone { width: 46px; height: auto; flex: none; }
.uc .wet { display: inline-block; background: #fc0; border: 2px solid #000; font: bold 12px Verdana; padding: 4px 8px; margin: 0 0 10px; }
.uc .line { font-size: 13px; margin: 0 0 10px; }
.uc .small { font-size: 10px; color: #666; }
.uc .back { font-weight: bold; }
.spooky-ir { background: #ffffcc; border: 1px dashed #f60; padding: 4px 6px; margin: 0 0 6px; font-size: 11px; }
