/* Tube Maze Discussions: layered on the Tube Maze Twenty Eleven theme.
 * biz uses the dark colour scheme and info the light one, so nothing here sets
 * a solid background or a fixed text colour: text inherits, fills and borders
 * are translucent, and muted text uses opacity. */
.tmd .tmd-head { margin: 0 0 1.2em; }
.tmd .tmd-head .entry-title { font-size: 26px; line-height: 1.3; padding: 0; margin: 0 0 .3em; }
.tmd .tmd-intro { opacity: .8; margin: 0; }
.tmd .tmd-crumbs { font-size: 13px; opacity: .8; margin: 0 0 1em; }
.tmd .tmd-crumbs span { margin: 0 .3em; opacity: .6; }

.tmd .tmd-notice { color: inherit; background: rgba(76, 160, 60, .12); border-left: 4px solid #4ca03c; padding: .7em 1em; margin: 0 0 1.2em; }

.tmd .tmd-button { display: inline-block; background: #1982d1; color: #fff; border: 0; border-radius: 3px; padding: .55em 1.2em; font-size: 15px; font-weight: bold; cursor: pointer; text-decoration: none; }
.tmd .tmd-button:hover { background: #136aa9; color: #fff; text-decoration: none; }

.tmd .tmd-new { margin: 0 0 2em; }
.tmd .tmd-new > summary { list-style: none; }
.tmd .tmd-new > summary::-webkit-details-marker { display: none; }
.tmd .tmd-new[open] > summary { margin-bottom: 1em; }
.tmd .tmd-form { color: inherit; background: rgba(128, 128, 128, .07); border: 1px solid rgba(128, 128, 128, .3); border-radius: 4px; padding: 1.2em 1.4em .4em; max-width: 640px; }
.tmd .tmd-row label { display: block; font-weight: bold; margin-bottom: .2em; }
.tmd .tmd-row input, .tmd .tmd-row select, .tmd .tmd-row textarea { width: 100%; box-sizing: border-box; padding: .45em; font-size: 15px; }
.tmd .tmd-check label, .tmd .tmd-note { font-size: 14px; opacity: .85; }
.tmd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tmd-turnstile { margin: 0 0 .5em; } /* empty unless Cloudflare asks for a click */

.tmd .tmd-group { margin: 0 0 2.2em; }
.tmd .tmd-group > h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: inherit; opacity: .75; border-bottom: 2px solid rgba(128, 128, 128, .3); padding-bottom: .3em; margin: 0 0 .8em; }

.tmd .tmd-boards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6em; }
.tmd .tmd-board { border: 1px solid rgba(128, 128, 128, .3); border-radius: 4px; padding: .6em .75em; display: flex; flex-direction: column; gap: .15em; min-width: 0; }
.tmd .tmd-board-name { font-weight: bold; font-size: 15px; }
.tmd .tmd-board-count { font-size: 12px; opacity: .7; }
.tmd .tmd-board-latest { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmd .tmd-board.tmd-empty { background: rgba(128, 128, 128, .05); }
.tmd .tmd-board.tmd-empty .tmd-board-name { font-weight: normal; }

.tmd .tmd-topics { list-style: none; margin: 0; padding: 0; }
.tmd .tmd-topic { padding: .7em 0; border-bottom: 1px solid rgba(128, 128, 128, .2); display: flex; flex-direction: column; }
.tmd .tmd-topic-title { font-size: 16px; font-weight: bold; }
.tmd .tmd-topic-meta { font-size: 13px; opacity: .75; }
.tmd .tmd-kind { font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: .06em; border: 1px solid rgba(128, 128, 128, .5); border-radius: 3px; padding: 0 .35em; }

.tmd .tmd-topic-post .entry-header { margin-bottom: .6em; }
.tmd .tmd-meta { font-size: 13px; opacity: .75; }
.tmd .tmd-body { font-size: 16px; }

/* Owner-only bar on a topic: the AI review result and the action links. */
.tmd .tmd-modbar { font-size: 13px; color: inherit; background: rgba(232, 105, 63, .1); border: 1px solid rgba(232, 105, 63, .45); border-radius: 4px; padding: .5em .8em; display: flex; flex-wrap: wrap; gap: .4em 1em; align-items: baseline; }
.tmd .tmd-modbar > span { flex: 1 1 100%; }
.tmd .tmd-modbar small { opacity: .85; }
.tmd-mod { font-weight: bold; }

/* Staff replies: the theme's "Author" label reads "Admin" in the forum. */
body.tmd-forum #comments .tm-comments li.tmd-admin > article .tm-cmeta .fn::after { content: "Admin"; }

.tmd .tmd-also { margin-top: 2em; font-size: 14px; }
