:root {
  --page: #2b2829;
  --page-deep: #242223;
  --text: #aaa5a8;
  --muted: #777176;
  --link: #9bbed1;
  --blue: #168ad2;
  --border: #514b4e;
  --wood-a: #321507;
  --wood-b: #9b4a10;
  --wood-c: #be711f;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 13px/1.45 Verdana, Arial, sans-serif;
  background-color: #a09182;
  background-image:
    radial-gradient(circle at 48px 50px, transparent 0 19px, rgba(242,226,204,.20) 20px 22px, transparent 23px 31px, rgba(70,49,32,.12) 32px 35px, transparent 36px 44px, rgba(242,226,204,.16) 45px 47px, transparent 48px 58px),
    radial-gradient(circle at 155px 148px, transparent 0 28px, rgba(243,226,202,.20) 29px 32px, transparent 33px 39px, rgba(62,45,33,.12) 40px 43px, transparent 44px 53px, rgba(243,226,202,.13) 54px 57px, transparent 58px 65px),
    radial-gradient(circle at 0 0, rgba(255,255,255,.13), transparent 42%),
    linear-gradient(120deg, #a29484, #958575 45%, #a69989);
  background-size: 220px 220px, 240px 240px, 100% 100%, 100% 100%;
  background-attachment: fixed;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: #d0e5f1; text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.site-shell {
  width: min(982px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  border-left: 1px solid rgba(245,245,245,.78);
  border-right: 1px solid rgba(245,245,245,.78);
  background: var(--page);
  box-shadow: 0 0 4px rgba(0,0,0,.4);
}
.wood-header {
  height: 111px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #c2c0bd;
  background-color: #70300d;
  background-image:
    linear-gradient(180deg, rgba(19,8,3,.58), transparent 18%, rgba(255,177,69,.10) 34%, rgba(30,9,2,.28) 53%, transparent 59%, rgba(15,6,2,.38) 81%, rgba(255,171,52,.13)),
    repeating-linear-gradient(177deg, transparent 0 5px, rgba(24,8,1,.42) 6px 8px, rgba(212,111,26,.16) 9px 11px, transparent 12px 20px),
    repeating-linear-gradient(2deg, #5b250a 0 9px, #8c3e0b 10px 14px, #3d1707 15px 18px, #b05a16 19px 24px, #672708 25px 32px, #301006 33px 35px, #91400c 36px 44px);
  box-shadow: inset 0 0 18px rgba(0,0,0,.55);
}
.wood-header:after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .36;
  background: repeating-linear-gradient(91deg, transparent 0 27px, rgba(255,192,105,.10) 28px 29px, transparent 30px 57px), repeating-linear-gradient(0deg, transparent 0 24px, rgba(20,6,0,.42) 25px 27px, transparent 28px 48px);
  mix-blend-mode: screen;
}
.brand { position: absolute; left: 30px; top: 17px; z-index: 1; text-shadow: 0 1px 3px #170802; }
.logo {
  display: inline-block; color: #f7f0e9; font: 42px/.95 Georgia, 'Times New Roman', serif;
  font-variant: small-caps; letter-spacing: -.9px; text-shadow: 1px 2px 2px #261007;
}
.logo:hover { color: #fff; text-decoration: none; }
.tagline { margin: 6px 0 0 6px; color: #f1e1ce; font: italic 18px/1.1 Georgia, 'Times New Roman', serif; letter-spacing: -.3px; }
.word-cloud { position: absolute; right: 35px; top: 0; width: 190px; height: 105px; z-index: 1; color: rgba(255,248,235,.7); text-shadow: 0 1px 2px rgba(27,8,0,.8); }
.word { position: absolute; white-space: nowrap; font-weight: bold; }
.w1 { right: 36px; top: 1px; font-size: 11px; }.w2 { right: 0; top: 22px; font-size: 15px; }.w3 { right: 23px; top: 28px; font-size: 15px; }.w4 { right: 0; top: 63px; font-size: 17px; }.w5 { right: 23px; top: 7px; font-size: 12px; }.w6 { left: 8px; top: 55px; font-size: 14px; }.w7 { right: 40px; top: 88px; font-size: 12px; }.w8 { right: 0; top: 80px; font-size: 11px; }.w9 { right: 8px; top: 55px; font-size: 12px; }
.top-rule { height: 4px; background: #d6d4d0; border-bottom: 1px solid #171516; }
.main-area { display: grid; grid-template-columns: minmax(0, 1fr) 186px; min-height: calc(100vh - 115px); }
.content-area { min-width: 0; padding: 17px 26px 28px 32px; }
.sidebar { border-left: 1px dotted #6a6266; padding: 20px 6px 24px 17px; min-width: 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 9px; color: #858085; font-size: 13px; }
.top-pagination { margin: 3px 0 43px; min-height: 23px; }
.pagination a { color: #888288; }
.pagination a.current { color: #d3d4f4; font-size: 17px; font-weight: bold; text-decoration: underline; }
.pagination span { color: #666; }
.post { position: relative; margin: 0 0 30px; padding: 0 0 2px; color: #9e999e; }
.post:after { content: ""; display: block; clear: both; }
.post-meta { min-height: 22px; display: flex; align-items: center; gap: 12px; color: #827d81; font: italic 11px/1.25 Verdana, sans-serif; white-space: nowrap; }
.missing-file { display: inline-flex; justify-content: center; align-items: center; width: 22px; height: 22px; color: #d2d5d2; font-size: 21px; font-style: normal; text-shadow: 0 1px 0 #fff; }
.post-id { font-size: 13px; font-style: normal; color: #8797a0; margin-left: -7px; }
.comment-count { margin-left: auto; }
.time-meta { color: #969096; }
.views-meta { color: #8c888c; }
.rating-wrap { display: inline-flex; align-items: center; margin-left: auto; gap: 5px; }
.stars { display: inline-flex; gap: 0; margin: 0; padding: 0; white-space: nowrap; }
.star { padding: 0 0 0 1px; border: 0; background: transparent; color: #b5b4b6; font-size: 20px; line-height: 1; text-shadow: 0 0 2px rgba(255,255,255,.55); }
.star.filled { color: #f4e64c; text-shadow: 0 0 3px #8b7800; }
.star:disabled { cursor: default; opacity: 1; }
.rating-number { color: #ccc1c6; font: normal 12px Verdana,sans-serif; }
.post-content { margin-top: 8px; color: #aaa5a8; font: 14px/1.42 Verdana, Arial, sans-serif; overflow-wrap: anywhere; }
.read-more { color: #8e898d; margin-left: 4px; white-space: nowrap; }
.post-category, .post-tags { color: #8c888d; font-size: 11px; line-height: 1.45; }
.post-category { margin-top: 7px; }.post-tags { margin-top: 1px; }
.post-category a { color: #9da1a6; }
.reactions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 22px; margin: -1px 0 0; color: #b2b0b2; }
.reactions form { display: inline-block; margin: 0; }.reaction { border: 0; background: transparent; padding: 0; font-size: 13px; color: #9a9599; }.reaction b { font-size: 11px; font-weight: normal; }.reaction.down { color: #ff382b; }.reaction.up { color: #72dc21; }.reaction:disabled { opacity: .8; cursor: default; }.tiny-dot { color: #f5f4ee; text-shadow: 0 0 2px white; font-size: 16px; }
.bottom-pagination { padding: 8px 0 18px; border-top: 1px dotted #474144; margin-top: 15px; }
.results-label { margin: -27px 0 28px; color: #928c90; font-size: 12px; }
.empty-state { padding: 20px; border: 1px dotted #514b4e; color: #aaa; }
.side-menu { margin: 0 0 35px; }
.side-menu a { display: flex; align-items: center; min-height: 31px; gap: 9px; padding: 0 2px 0 1px; border-bottom: 1px solid #4c4549; color: #928b91; font: italic bold 17px/1.2 Georgia, 'Times New Roman', serif; letter-spacing: .2px; text-shadow: 0 1px #181617; }
.side-menu a:last-child { border-bottom: 0; }
.side-menu a:hover { color: #d5cdd1; text-decoration: none; }
.side-icon { display: inline-flex; width: 27px; justify-content: center; align-items: center; font: normal 19px Arial,sans-serif; }
.search-form { display: flex; align-items: center; gap: 8px; margin: 0 15px 33px 0; }
.search-form input { width: 100%; min-width: 0; height: 25px; border: 1px solid #eee; border-radius: 0; background: #fff; color: #222; padding: 2px 5px; }
.search-form button, .old-button { color: #e1dfe0; border: 1px solid #aaa7a5; background: linear-gradient(#5b5557, #383436); box-shadow: inset 0 1px rgba(255,255,255,.18); padding: 4px 8px; }
.search-form button { height: 25px; padding: 1px 5px; color: #444; border-color: #bbb; background: linear-gradient(#fff, #ddd); }
.side-about, .side-categories, .side-list { margin-bottom: 23px; font-size: 11px; line-height: 1.42; }
.side-about h2, .side-categories h2, .side-list h2 { margin: 0 0 6px; font-size: 13px; color: #e5b767; font-weight: bold; }
.side-about p { color: #aaa4a9; margin: 0; }
.side-categories h2 { color: #058fe0; }
.side-categories ul { margin: 0; padding: 0; list-style: none; }
.side-categories li { padding: 1px 0; font-size: 13px; font-weight: bold; }
.side-categories a { color: #8e8b91; }
.side-categories li:first-letter { color: #0099e8; }
.side-list h2 { color: #aaa4a9; font-size: 11px; }
.side-list h2 span { float: right; color: #1b1a1a; font-size: 15px; }
.side-list p { margin: 4px 0; color: #817b81; font-size: 12px; }
.side-list p a { color: #88848a; }
.page-heading { margin: 0 0 23px; padding: 0 0 12px; border-bottom: 1px dotted #514b4e; }
.page-heading h1 { color: #c4c0c3; font: 22px Georgia, serif; margin: 0 0 4px; }
.page-heading p { color: #8f898e; margin: 0; }
.editor-form, .comment-form { color: #a8a2a7; }
.editor-form label, .comment-form label { display: block; margin: 0 0 6px; color: #b8b1b5; }
.editor-form textarea, .comment-form textarea, .editor-form input, .editor-form select, .chat-form input { width: 100%; background: #f0eeee; color: #282526; border: 1px solid #b7b2b4; border-radius: 0; padding: 9px; }
.editor-form textarea, .comment-form textarea { resize: vertical; }
.editor-form select { height: 34px; padding: 5px; }
.form-row { display: flex; gap: 14px; margin-top: 15px; }
.form-row > div { flex: 0 0 34%; min-width: 0; }.form-row > .grow { flex: 1; }
.form-row input { height: 34px; }
.form-hint, .muted { color: #817b80; font-size: 11px; }
.old-button { margin-top: 6px; padding: 6px 11px; }.old-button.primary { color: #fff; border-color: #8a5a2c; background: linear-gradient(#a75b1c, #6c300d); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 8px 10px; margin: 0 0 19px; border: 1px solid #62574d; color: #d2cbc6; background: #383234; }
.notice.success { border-color: #536947; }.notice.error { border-color: #7e4c48; color: #efc6c2; }
.post-actions { display: flex; gap: 18px; align-items: center; margin: 14px 0 25px; padding: 9px 0; border-bottom: 1px dotted #514b4e; }
.post-actions form { margin: 0; }.text-action { padding: 0; color: #8c9da7; font-size: 11px; background: transparent; border: 0; }
.comments { margin-top: 20px; }.comments h3 { font: 18px Georgia,serif; color: #c5bec2; margin: 0 0 14px; }
.comment { padding: 10px 0; border-bottom: 1px dotted #4c4649; color: #aaa4a8; }.comment-date { font-size: 10px; color: #858087; margin-bottom: 5px; }
.comment-form { margin-top: 18px; }.comment-form textarea { display: block; margin-bottom: 9px; }
.chat-panel { border: 1px solid #5a5155; background: #252223; }
.chat-toolbar { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #51494d; background: #322e30; color: #969096; font-size: 11px; }
.chat-toolbar span:first-child { color: #94c478; }
.chat-log { height: 340px; overflow-y: auto; padding: 12px; color: #c3bdc1; font: 13px/1.6 Verdana, Arial, sans-serif; overflow-wrap: anywhere; }
.chat-line { padding: 2px 0; border-bottom: 1px dotted rgba(115,104,110,.25); }.chat-time { color: #7d8b91; font-size: 11px; }.chat-line strong { color: #d2bd9f; }.chat-empty { color: #817b80; padding: 10px 0; }
.chat-form { display: flex; align-items: flex-end; gap: 10px; padding: 10px; border-top: 1px solid #51494d; background: #302b2d; }.chat-input-row { display: flex; flex: 1; min-width: 0; gap: 8px; }.chat-input-row input:first-child { flex: 0 0 30%; }.chat-input-row input:last-child { flex: 1; min-width: 0; }.chat-form input { height: 32px; padding: 5px 7px; }
.info-text { color: #aaa5a8; font-size: 14px; line-height: 1.65; }
.site-footer { margin-top: 20px; padding-top: 14px; border-top: 1px dotted #484245; color: #6f696d; font-size: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .site-shell { border: 0; }
  .wood-header { height: 96px; }
  .brand { left: 17px; top: 18px; }.logo { font-size: 36px; }.tagline { font-size: 15px; }
  .word-cloud { right: 5px; transform: scale(.78); transform-origin: top right; }
  .main-area { grid-template-columns: minmax(0, 1fr); }
  .content-area { padding: 17px 16px 25px; }
  .sidebar { border-left: 0; border-top: 1px dotted #6a6266; padding: 17px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .side-menu, .search-form, .side-about, .side-categories, .side-list { margin-bottom: 10px; }
  .side-menu { grid-column: 1 / -1; }.side-menu a { font-size: 16px; }
  .post-meta { flex-wrap: wrap; gap: 5px 9px; white-space: normal; }
  .comment-count { margin-left: 0; }.rating-wrap { margin-left: auto; }
  .post-content { font-size: 13px; }
}
@media (max-width: 480px) {
  .word-cloud { display: none; }
  .top-pagination { gap: 6px; font-size: 11px; margin-bottom: 28px; }
  .post { margin-bottom: 26px; }
  .post-meta { align-items: flex-start; }
  .rating-wrap { width: 100%; margin-left: 27px; }
  .form-row, .chat-form, .chat-input-row { flex-direction: column; align-items: stretch; }
  .form-row > div, .form-row > .grow, .chat-input-row input:first-child { flex: auto; }
  .chat-form .old-button { align-self: flex-start; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
}


/* Legacy-style chat room layout, modelled after the supplied reference screenshot. */
.chat-page-topline { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:1px 0 12px; color:#858085; font-size:13px; }
.chat-page-topline > div { white-space:nowrap; }
.chat-page-topline nav { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:11px; }
.chat-page-topline nav a { color:#858085; }
.legacy-chat-frame { border:1px solid #777074; padding:15px 22px 16px; min-width:0; }
.chat-login-bar { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; min-height:55px; }
.chat-login-main { flex:1; min-width:0; }
.chat-login-form { display:flex; align-items:center; flex-wrap:wrap; gap:7px 9px; color:#c4bdc1; font-size:13px; }
.chat-login-form > input:not([type=hidden]):not([type=checkbox]) { width:93px; min-width:74px; height:22px; padding:2px 5px; background:#282526; color:#dfd8dc; border:1px solid #8a8185; border-radius:0; }
.chat-login-form .chat-remember { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.chat-login-form input[type=checkbox], .chat-check-options input { accent-color:#168ad2; }
.chat-login-form .old-button, .chat-logout-form .old-button { margin:0; padding:2px 6px; line-height:1.2; }
.chat-login-hint { margin:5px 0 0; color:#817b80; font-size:11px; }
.chat-login-links { display:flex; flex-direction:column; align-items:flex-end; gap:3px; min-width:42px; font-size:12px; }
.chat-signed-in { display:flex; flex-wrap:wrap; align-items:center; gap:12px; min-height:25px; color:#c4bdc1; }
.chat-current-name { display:inline-block; margin-left:3px; padding:1px 4px; border:1px solid #60585c; color:#ded8dc; }
.chat-account-state { margin-left:8px; font-size:11px; }
.chat-account-state.registered { color:#9fc58b; }.chat-account-state.unregistered { color:#d4b27b; }
.chat-logout-form { display:inline-flex; margin:0; }
.chat-room-grid { display:grid; grid-template-columns:minmax(0, 3.55fr) minmax(118px, 1fr); gap:2px; margin-top:7px; align-items:stretch; }
.chat-main-column { min-width:0; }
.chat-log { height:clamp(340px, 62vh, 548px); border:1px solid #81787c; overflow-y:auto; padding:11px 12px; background:#2a2628; color:#bdb7bb; font:13px/1.6 Verdana, Arial, sans-serif; overflow-wrap:anywhere; }
.chat-line { padding:1px 0; border:0; }.chat-time { color:#9ca6ae; font-size:12px; margin-right:4px; }.chat-line strong { color:#ff2026; font-weight:bold; }
.chat-empty { color:#817b80; padding:10px 0; }
.chat-info-column { min-width:0; height:clamp(340px, 62vh, 548px); overflow:auto; border:1px solid #81787c; padding:9px 8px; color:#9e989d; font-size:11px; overflow-wrap:anywhere; }
.chat-info-column h2 { margin:0 0 8px; color:#b9b1b5; font-size:13px; font-weight:bold; }
.chat-online-users { margin:0; padding:0; }
.chat-online-user { margin:4px 0; color:#e7d7c3; font-size:12px; font-weight:bold; overflow-wrap:anywhere; }
.chat-info-column h3 { margin:10px 0 5px; color:#aaa2a7; font-size:11px; }
.chat-info-column p { margin:4px 0; line-height:1.5; }
.chat-info-column hr { border:0; border-top:1px dotted #5b5257; margin:9px 0; }
.chat-info-column code, .chat-command-help code { color:#b9c7ce; font:11px/1.5 Consolas, monospace; white-space:normal; }
.chat-info-muted { color:#777176; }.chat-info-name { color:#e7d7c3; font-weight:bold; }
.chat-form { display:grid; grid-template-columns:minmax(0,1fr) 24px 78px 20px; align-items:center; gap:4px; padding:4px 0 0; margin:0; border:0; background:transparent; }
.chat-form > input[type=text] { width:100%; min-width:0; height:25px; padding:3px 6px; background:#292526; color:#d1cbd0; border:1px solid #81787c; border-radius:0; }
.chat-form > input:disabled { opacity:.65; }
.chat-plus { height:22px; width:22px; padding:0; border:1px solid #81787c; color:#bdb6bb; background:#312d2f; line-height:18px; font-size:15px; }
.chat-form .chat-send-button { margin:0; min-height:24px; padding:3px 6px; border:1px solid #81787c; color:#bdb6bb; background:#3a3537; }
.chat-form .chat-send-button:disabled { opacity:.55; cursor:not-allowed; }
.chat-check-options { display:flex; flex-direction:column; align-items:center; gap:2px; }
.chat-check-options label { display:flex; height:14px; align-items:center; justify-content:center; }
.chat-check-options input { width:14px; height:14px; margin:0; }
.chat-command-help { margin:8px 0 0; padding:9px 11px; border:1px solid #635a5e; background:#322e30; color:#aaa4a8; font-size:11px; }
.chat-command-help[hidden] { display:none; }
.chat-command-help strong { color:#d2c9ce; }
.chat-command-help p { margin:5px 0 0; }
.chat-radio-row { display:flex; justify-content:center; margin-top:28px; }
.chat-radio-row select { min-width:164px; height:22px; padding:1px 3px; color:#211f20; background:#eee; border:1px solid #777; border-radius:0; font:13px Arial,sans-serif; }
@media (max-width:760px) {
  .legacy-chat-frame { padding:12px 10px; }
  .chat-page-topline { align-items:flex-start; flex-direction:column; }
  .chat-page-topline nav { justify-content:flex-start; }
  .chat-login-bar { gap:9px; }
  .chat-login-form { gap:7px; }
  .chat-room-grid { grid-template-columns:minmax(0, 1fr); }
  .chat-log { height:48vh; min-height:300px; }
  .chat-info-column { height:auto; min-height:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:10px; }
  .chat-info-column hr { display:none; }
  .chat-radio-row { margin-top:18px; }
}
@media (max-width:480px) {
  .chat-login-bar { flex-direction:column; }
  .chat-login-links { flex-direction:row; align-items:flex-start; gap:12px; }
  .chat-login-form { display:grid; grid-template-columns:auto minmax(0,1fr); }
  .chat-login-form > input:not([type=hidden]):not([type=checkbox]) { width:100%; }
  .chat-login-form .chat-remember { grid-column:1 / 2; }
  .chat-login-form .old-button { grid-column:2 / 3; justify-self:start; }
  .chat-form { grid-template-columns:minmax(0,1fr) 24px 68px; }
  .chat-check-options { grid-column:1 / -1; flex-direction:row; justify-content:flex-end; padding:2px 3px 0; }
}

.chat-admin-badge { display:inline-block; margin-left:5px; padding:1px 4px; border:1px solid #b79a52; border-radius:2px; color:#e3c878; font-size:10px; font-weight:bold; letter-spacing:.04em; vertical-align:middle; }

/* Admin-only moderation queue for unpublished confessions */
.pending-confessions {
  margin: 0 0 22px;
  padding: 13px 15px;
  border: 1px solid #8b4c4c;
  background: #2b2022;
  color: #e8dddd;
}
.pending-confessions h2 {
  margin: 0 0 6px;
  color: #ff7777;
  font-size: 17px;
}
.pending-confessions-note {
  margin: 0 0 10px;
  color: #cbbbbb;
  font-size: 12px;
}
.pending-confession {
  padding: 12px 0;
  border-top: 1px solid #624143;
}
.pending-confession-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 8px;
  color: #d7b9b9;
  font-size: 11px;
}
.pending-confession-content {
  color: #f1eaea;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.55;
  font-size: 13px;
}
.pending-confession-tags {
  color: #c2b4b4;
  font-size: 11px;
  margin: 8px 0;
}
.pending-confession-actions {
  margin: 10px 0 0;
}
.side-pending-notice {
  margin: -9px 0 18px;
  padding: 7px 8px;
  color: #ff5555;
  border: 1px solid #7d3e3e;
  background: rgba(90, 20, 20, .24);
  font-weight: bold;
  font-size: 13px;
}
.side-pending-notice a {
  color: #ff5555;
  text-decoration: underline;
}

/* Emoticon picker opened by the + button in the chat composer. */
.chat-emoji-picker { margin-top:7px; padding:9px; border:1px solid #635a5e; background:#322e30; color:#c4bdc1; max-height:270px; overflow:auto; }
.chat-emoji-picker[hidden] { display:none; }
.chat-emoji-heading { margin:2px 0 6px; color:#d2c9ce; font-size:11px; font-weight:bold; }
.chat-emoji-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(38px,1fr)); gap:4px; margin:0 0 10px; }
.chat-emoji-grid:last-child { margin-bottom:0; }
.chat-emoji-option { display:flex; align-items:center; justify-content:center; min-width:0; height:39px; padding:2px; overflow:hidden; border:1px solid #5c5357; border-radius:2px; background:#292526; color:#e6dfe3; cursor:pointer; }
.chat-emoji-option:hover, .chat-emoji-option:focus-visible { border-color:#d5b38b; background:#433a3e; outline:1px solid #d5b38b; }
.chat-unicode-option { font-size:23px; line-height:1; }
.chat-emoji-option img { max-width:35px; max-height:35px; }
.chat-emote { display:inline-block; width:auto; height:auto; margin:0 2px; vertical-align:middle; object-fit:contain; }
.chat-emote-small { max-width:43px; max-height:32px; }
.chat-emote-large { max-width:96px; max-height:72px; }
.chat-emote-animated { animation:pihid-emote-bob 1.1s ease-in-out infinite; transform-origin:50% 70%; }
@keyframes pihid-emote-bob { 0%,100% { transform:translateY(0) rotate(-1deg); } 50% { transform:translateY(-3px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .chat-emote-animated { animation:none; } }
@media (max-width:480px) { .chat-emoji-picker { max-height:220px; } .chat-emoji-grid { grid-template-columns:repeat(auto-fill,minmax(34px,1fr)); } .chat-emote-large { max-width:76px; max-height:58px; } }
