/* The Grand Compendium - Message Board (traditional notice-board layout) */

/* Post a message */
.gc-board-compose{margin-bottom:18px}
.gc-board-compose-title{display:block;font:700 20px Georgia,serif;color:#714c91;margin:0 0 8px}
.gc-board-compose textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:84px;max-height:260px;border:1px solid #d6bfe3;border-radius:14px;padding:10px 12px;font:15px/1.45 system-ui,sans-serif;color:#3d2b4d;background:#fff}
.gc-board-compose textarea:focus{outline:3px solid #d9b5fa;outline-offset:1px;border-color:#a77fc6}
.gc-board-row{display:flex;align-items:center;gap:10px;margin-top:8px}
.gc-board-rules{flex:1;color:#8a7898;font-size:12px}
.gc-board-count{color:#9a8aa6;font-size:12px;font-variant-numeric:tabular-nums}
.gc-board-low{color:#a1445e;font-weight:700}
.gc-board-error{color:#a12b36;margin:6px 0 0;font-size:13px}
.gc-board-notice{color:#5e7a4a;margin:6px 0 0;font-size:13px}
.gc-board-error:empty,.gc-board-notice:empty{display:none}

/* Messages */
.gc-board-feed{display:flex;flex-direction:column;gap:14px}
.gc-board-empty{margin:24px auto;color:#7d6a8c;text-align:center;font-style:italic}
.gc-board-older{align-self:center;margin-top:4px;border:1px solid #d9c4e4;background:#fff;color:#6b4c83;border-radius:14px;padding:9px 18px;font-weight:700;cursor:pointer}
.gc-board-older:hover{background:#f6eefb}

.gc-post{display:grid;grid-template-columns:150px minmax(0,1fr);background:#fffdfb;border:1px solid #e7d6ee;border-radius:18px;overflow:hidden;box-shadow:0 4px 14px #57415a14}
.gc-post-mine{border-color:#d9c1ee}

/* Left column: avatar on top, name, outfit, then the character */
.gc-post-author{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:14px 10px 10px;background:linear-gradient(180deg,#f8f0fd,#fbf6ee);border-right:1px solid #eee0f3}
.gc-post-mine .gc-post-author{background:linear-gradient(180deg,#f1e5fd,#f8f0fd)}
.gc-post-avatar{width:104px;height:104px;object-fit:cover;border-radius:6px;background:#3c294a;border:1px solid #644d78;box-shadow:0 2px 6px #57415a26;padding:0;box-sizing:border-box;margin-bottom:6px}
.gc-post-noavatar{display:grid;place-items:center;color:#c9add8;font-size:20px;border-color:#ead9f1;background:#fff}
.gc-post-name{color:#5f3c7d;font-size:15px;overflow-wrap:anywhere;font-weight:700;text-decoration:none}
a.gc-post-name:hover,a.gc-post-name:focus-visible{text-decoration:underline;color:#7b3fae}
.gc-post-you{font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:#a77fc6;border-radius:8px;padding:1px 7px}
.gc-post-look{color:#8a6aa3;font-size:11px;line-height:1.3}
.gc-post-character{width:110px;height:165px;object-fit:contain;display:block;margin-top:4px;filter:drop-shadow(0 6px 7px #57415a33)}
.gc-post-nochar{display:grid;place-items:center;font-size:34px;color:#c9add8}

/* Right column: the message */
.gc-post-content{display:flex;flex-direction:column;min-width:0;padding:12px 18px 10px}
.gc-post-meta{color:#9a8aa6;font-size:12px;padding-bottom:7px;border-bottom:1px dashed #eadcf0}
.gc-post-body{flex:1;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#3d2b4d;font-size:15px;line-height:1.55}
.gc-post-actions{display:flex;justify-content:flex-end;min-height:24px}
.gc-post-report{border:1px solid #e2cfe9;background:#fffafc;color:#8a5f8f;font-size:12px;font-weight:700;padding:3px 10px;border-radius:12px;cursor:pointer}
.gc-post-report:hover,.gc-post-report:focus-visible{color:#8b3a5c;border-color:#c99ab8;background:#fff0f5}
.gc-post-reported{color:#8a6aa3;font-size:12px}

/* Signed out */
.gc-board-signin{text-align:center;padding:34px 20px!important}
.gc-board-signin-icon{width:72px;height:72px}
.gc-board-signin h3{font:700 22px Georgia,serif;color:#714c91;margin:8px 0}
.gc-board-signin p{color:#6f5d7d;max-width:440px;margin:0 auto 16px}

@media (max-width:600px){
  .gc-post{grid-template-columns:100px minmax(0,1fr)}
  .gc-post-author{padding:10px 6px 8px}
  .gc-post-avatar{width:76px;height:76px}
  .gc-post-name{font-size:13px}
  .gc-post-character{width:80px;height:120px}
  .gc-post-content{padding:10px 12px 8px}
  .gc-post-body{font-size:14px}
  .gc-board-rules{display:none}
  .gc-board-count{margin-left:auto}
  .gc-board-compose textarea{font-size:16px}
}
