body{margin:0;background:#080a16;color:#eef3ff;font-family:Arial,sans-serif}.topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 28px;border-bottom:1px solid rgba(255,255,255,.12);background:rgba(8,10,22,.85);position:sticky;top:0;backdrop-filter:blur(12px);z-index:10}.logo{font-weight:800;font-size:20px;background:linear-gradient(90deg,#8bd0ff,#c3a7ff);-webkit-background-clip:text;color:transparent}nav a,a{color:#9bd3ff;text-decoration:none;margin-left:14px}.page{max-width:1220px;margin:0 auto;padding:36px 20px}.main-grid{display:grid;grid-template-columns:310px 1fr;gap:22px;align-items:start}.side-panel,.topic-card,.card,.form-card,.comment,.topic-shell,.file-row,.toolbar{display:block;margin:18px 0;padding:22px;border-radius:24px;background:radial-gradient(circle at top left,rgba(120,160,255,.18),transparent 35%),rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}.side-panel{position:sticky;top:88px}.toolbar{display:flex;gap:12px}.topic-card h2{margin-top:0;margin-bottom:10px}.topic-description{margin:14px 0;line-height:1.55;color:#d6e2ff;opacity:.92}.empty-description{opacity:.45;font-style:italic}.topic-page-description{margin:16px 0 22px;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.06);line-height:1.55;color:#d6e2ff}.topic-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;opacity:.76;font-size:14px}.topic-stats span{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.06)}.topic-tags{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.topic-tags span,.topic-tags a{margin:0;padding:5px 9px;border-radius:999px;background:rgba(139,208,255,.10);border:1px solid rgba(139,208,255,.18);font-size:13px}.page-tags{margin-bottom:18px}.muted,.comment-meta,.rating-result,.topic-meta,.slug{opacity:.72;font-size:14px}.slug{margin-top:10px}input,textarea{width:100%;box-sizing:border-box;margin:8px 0 16px;padding:14px;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.28);color:white}textarea{min-height:130px;resize:vertical}.description-editor{min-height:90px}.code-editor{min-height:260px;font-family:Consolas,monospace}.html-editor{min-height:360px}button,.button-link{display:inline-block;padding:12px 20px;border:none;border-radius:14px;cursor:pointer;font-weight:bold;background:linear-gradient(90deg,#8bd0ff,#c3a7ff);color:#06111f;text-decoration:none;margin-left:0}.error{padding:14px;border-radius:14px;background:rgba(255,80,80,.18);border:1px solid rgba(255,80,80,.35)}.embedded-topic{margin-top:18px;padding:22px;border-radius:20px;background:rgba(0,0,0,.2);overflow:hidden}.embedded-topic img:not(.no-limit){display:block!important;width:auto!important;height:auto!important;max-width:min(100%,620px)!important;max-height:620px!important;object-fit:contain!important;margin:18px auto!important;border-radius:18px!important}.embedded-topic iframe,.embedded-topic video{max-width:100%!important}.comment-text{margin:12px 0;line-height:1.55;white-space:pre-wrap}.rating{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.rating input{width:220px;margin:0}code{display:inline-block;margin-top:8px;padding:6px 8px;border-radius:8px;background:rgba(0,0,0,.28);color:#d4e8ff}.file-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.field-note{margin-top:-8px;margin-bottom:14px;font-size:13px;opacity:.65}.tree-list{list-style:none;padding-left:12px;margin:6px 0}.tree-list li{margin:7px 0}.tree-node{display:block;color:#e7edff;font-weight:700}.tree-topic{display:block;margin:4px 0 4px 10px;font-size:13px;opacity:.86}.tag-cloud{display:flex;gap:9px;flex-wrap:wrap}.tag-cloud a{margin:0;color:#bfe3ff;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.055)}.tag-cloud span{opacity:.55;font-size:12px}.filter-card{display:flex;justify-content:space-between;gap:12px;align-items:center}.author-line{display:flex;align-items:center;gap:10px}.author-line>img.avatar,img.avatar{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important;flex:0 0 48px!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden;border:2px solid rgba(255,255,255,.15);background:#1b2342}.author-line>img.big-avatar,img.big-avatar{width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;max-width:56px!important;max-height:56px!important}.profile-card{display:flex;gap:18px;align-items:center}.profile-card>img.profile-avatar,img.profile-avatar{width:140px!important;height:140px!important;min-width:140px!important;min-height:140px!important;max-width:140px!important;max-height:140px!important;border-radius:50%!important;object-fit:cover!important}.reply-comment{border-left:2px solid rgba(139,208,255,.25)}.reply-box{margin-top:12px}.reply-box summary{cursor:pointer;color:#9bd3ff}@media(max-width:900px){.main-grid{grid-template-columns:1fr}.side-panel{position:static}.topbar{align-items:flex-start;gap:12px;flex-direction:column}nav a{display:inline-block;margin:4px 8px 4px 0}.comment{margin-left:0!important}}

/* v8 */
.flash{margin:0 0 18px;padding:14px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(120,170,255,.12)}
.flash.success{border-color:rgba(70,220,150,.4);background:rgba(70,220,150,.12)}
.flash.error{border-color:rgba(255,90,90,.45);background:rgba(255,90,90,.14)}
.warning{margin:18px 0;padding:16px;border-radius:14px;border:1px solid rgba(255,205,90,.45);background:rgba(255,205,90,.12)}
.toggle-row{display:flex;align-items:center;gap:12px;margin:18px 0 8px;font-weight:700}
.toggle-row input{width:22px;height:22px;margin:0;flex:0 0 22px;accent-color:#8bd0ff}
.schema-editor{min-height:420px}
.schema-help{margin:18px 0 24px;padding:16px;border-radius:16px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.12)}
.schema-help summary{cursor:pointer;color:#9bd3ff;font-weight:700}
.schema-help pre{overflow:auto;padding:16px;border-radius:12px;background:#070914;color:#dce8ff;white-space:pre-wrap}
.comment-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
.comment-actions form{margin:0}
.small-button,.danger-button{display:inline-block;padding:8px 12px;border-radius:10px;font-size:13px;font-weight:700;text-decoration:none}
.small-button{background:rgba(139,208,255,.14);border:1px solid rgba(139,208,255,.3);color:#bfe5ff}
.danger-button{background:rgba(255,80,80,.16);border:1px solid rgba(255,80,80,.35);color:#ffd1d1}
.deleted-comment{opacity:.82}
.deleted-text{font-style:italic;opacity:.7}
.audit-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.audit-grid>div{padding:14px;border-radius:14px;background:rgba(0,0,0,.18)}
.data-admin-section{margin:22px 0;padding:22px;border-radius:22px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12)}
.data-admin-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.table-scroll,.thworld-data-results{overflow:auto;max-width:100%}
.admin-data-table,.thworld-data-results table{width:100%;border-collapse:collapse;margin-top:14px;background:rgba(0,0,0,.16)}
.admin-data-table th,.admin-data-table td,.thworld-data-results th,.thworld-data-results td{padding:10px 12px;border:1px solid rgba(255,255,255,.12);text-align:left;vertical-align:top}
.admin-data-table th,.thworld-data-results th{background:rgba(139,208,255,.09)}
.thworld-data-form{margin:18px 0}
.thworld-data-note{margin:12px 0;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.thworld-data-form input[type=radio],.thworld-data-form input[type=checkbox]{width:auto;margin-right:8px}
.thworld-data-form label{display:block;margin:10px 0}
@media(max-width:800px){.audit-grid{grid-template-columns:1fr}.data-admin-heading{align-items:flex-start;flex-direction:column}}
