.user-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin-bottom:19px;font-size:12px}.user-text:last-child{margin-bottom:0}.account-summary{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;border-bottom:1px solid #b9a77d;padding-bottom:17px}.account-summary strong{font:600 20px Lora,Georgia,serif}.account-summary p{font-size:11px;margin:5px 0 0;color:#8b7552;overflow-wrap:anywhere}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.character-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.character-card{border:1px solid #b5a078;background:#dcd0a9;padding:16px 12px;min-width:0}.character-card p{font-size:10px;color:#82704d;margin:12px 0}.character-card .button{font-size:10px;padding:7px 11px;width:100%}.active-badge{font-size:10px;font-weight:bold;color:#506439;background:#c9d1aa;border:1px solid #9ca76d;padding:9px 10px}.admin-nav{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}.admin-nav a{background:#5c452d;color:#ecd7a9;font-size:10px;padding:7px 11px;border:1px solid #9c8253}.admin-nav a:hover{background:#725537;color:#fff0bf}.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}.dashboard-stats>div{padding:16px 7px;text-align:center;background:#dccfa8;border:3px ridge #ae9669}.dashboard-stats strong{display:block;font:600 27px Lora,Georgia,serif}.dashboard-stats span{font-size:10px}.admin-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #b9a77c;padding:17px 0}.admin-row:first-child{padding-top:0}.admin-row:last-child{border:0;padding-bottom:0}.admin-row strong{font-size:12px;overflow-wrap:anywhere}.admin-row small{display:block;font-size:10px;color:#8c7751;margin-top:4px;overflow-wrap:anywhere}.admin-row .action-row{gap:8px}.admin-row .button{font-size:10px;padding:7px 10px;min-height:33px}.admin-row form{margin:0}.admin-row.vertical{display:block}.admin-row.vertical form{margin-top:15px}.admin-row .user-text{margin:10px 0}.check-row{display:flex;gap:18px;flex-wrap:wrap}.check-row label{margin-bottom:12px}label:has(input[type="checkbox"]){font-weight:normal;display:flex;gap:8px;align-items:center}input[type="checkbox"]{width:15px;height:15px;margin:0;box-shadow:none;flex-shrink:0}.filter-form{display:flex;gap:12px;align-items:flex-end;margin:0 0 18px}.forum-toolbar .filter-form{margin:0;flex:1}.filter-form label{margin:0;flex:1}.filter-form .button{margin-bottom:1px}.inline-action{display:flex;justify-content:flex-end;margin-top:-8px;margin-bottom:20px}.inline-action .button{font-size:10px;padding:6px 10px;min-height:32px}.notice.success{background:#c8d3aa;border-color:#8f9e68;color:#476035}button:disabled{opacity:.65;cursor:wait}.post-author a{overflow-wrap:anywhere}.post-content .user-text{margin-top:13px}.admin-row .character-link{margin-bottom:8px}.top-links{flex-wrap:wrap}.right-sidebar .server-mini dd{text-align:right}.right-sidebar .panel-body .button{font-size:10px}
@media(max-width:650px){.form-grid,.character-cards{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:1fr 1fr}.admin-row{display:block}.admin-row>.action-row{margin-top:12px}.admin-nav{gap:5px}.admin-nav a{font-size:9px;padding:6px 8px}.top-links{font-size:8px;gap:7px}.top-links>span:first-child{width:100%;margin:0;font-size:7px}.top-links a{font-size:8px}.account-summary{align-items:flex-start}.filter-form{gap:8px}.filter-form .button{padding:10px;font-size:10px}.forum-toolbar .filter-form{width:100%}.character-card .button{width:auto}.check-row{gap:12px}}
/* Editorial workspace and shared media tools. Public portal dimensions stay intact. */
.layout.admin-layout{grid-template-columns:185px minmax(0,1fr)}.admin-layout>.right-sidebar{display:none}.admin-layout .main-content{min-width:0}.admin-nav{padding:10px;background:#2c352a;border:1px solid #6a6e4b;gap:6px}.admin-nav a{border-color:#8f784b;padding:9px 12px}.admin-layout .page-heading{padding:24px 28px}.admin-layout .page-heading h1{font-size:32px}.admin-layout .dashboard-stats{grid-template-columns:repeat(5,1fr)}.editor-page-links{margin:0 0 20px}.admin-subnav{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 17px;color:#c9c3a4;font-size:10px}.admin-subnav a{padding:7px 10px;background:#374132;border:1px solid #657052}.admin-subnav a[aria-current]{background:#80623d;color:#fff0c3;border-color:#b39962}.admin-subnav a:hover{color:#f2d79b}.admin-subnav>span{margin-left:auto}.admin-filter{display:flex;gap:14px;align-items:flex-end;background:#cfc19b;padding:15px;border:2px ridge #b09b70;margin:0 0 20px}.admin-filter label{margin:0;flex:1}.admin-filter .button{margin-bottom:1px}.bulk-bar{display:flex;gap:12px;align-items:center;margin-bottom:15px;flex-wrap:wrap}.bulk-bar label{margin:0;font-size:10px;white-space:nowrap}.bulk-bar select{flex:1;width:auto;min-width:140px;margin:0;padding:8px;font-size:10px}.bulk-bar .button{padding:7px 12px;font-size:10px;min-height:34px}.managed-news{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;border-top:1px solid #bca77a;padding:20px 0}.managed-news:last-child{padding-bottom:0}.managed-news .select-post{padding-top:5px;margin:0}.managed-news h3{font-size:20px;margin:0 0 10px;color:#64452c}.managed-news p{font-size:11px;color:#86704d;margin:10px 0}.managed-news small{font-size:9px;color:#8c7957}.content-badges{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:9px;color:#8b724a}.state-badge{padding:4px 7px;font-weight:bold;border:1px solid #b4a17b;background:#d4c6a1}.state-published{color:#436037;background:#c8d0a5;border-color:#98a66c}.state-scheduled{color:#526982;background:#d1dce0;border-color:#94aab6}.state-trash{color:#975144;background:#dfc7ad;border-color:#b8957b}.row-links{display:flex;gap:15px;font-size:10px;color:#8a552e;margin-top:10px}.row-links a:hover{text-decoration:underline}.editor-section{border:1px solid #b6a17a;margin:20px 0;background:#e4d8b5}.editor-section>summary{font:600 14px Lora,Georgia,serif;padding:13px 16px;cursor:pointer;background:#d3c29b;border-bottom:1px solid transparent;list-style:none}.editor-section>summary:before{content:'▸';color:#8a683c;margin-right:9px}.editor-section[open]>summary{border-bottom-color:#b6a17a;margin-bottom:16px}.editor-section[open]>summary:before{content:'▾'}.editor-section>label,.editor-section>.form-grid,.editor-section>.cover-picker,.editor-section>.note{margin-left:16px;margin-right:16px}.editor-section>.form-grid{margin-bottom:5px}.editor-section>label:last-child{margin-bottom:17px}.editor-save-bar{display:flex;align-items:center;gap:18px;border-top:1px solid #bcaa7e;padding-top:20px}.editor-save-bar>span{font-size:10px;color:#87704c}.cover-preview{height:142px;background:#cfc2a0;border:1px dashed #a78c5e;display:flex;justify-content:center;align-items:center;overflow:hidden;color:#8b7752;font-size:11px;margin-bottom:13px}.cover-preview img{height:100%;width:100%;object-fit:cover}.cover-picker{margin-bottom:18px}.cover-picker .button{font-size:10px;padding:8px 12px;min-height:34px}.news-custom-cover{height:142px;overflow:hidden;border:3px ridge #aaa27b;margin:12px 0 17px!important}.news-custom-cover>a,.news-custom-cover img{display:block;width:100%;height:100%!important;object-fit:cover}.rich-editor{margin-bottom:22px;min-width:0}.editor-label{margin-bottom:8px}.editor-app{border:1px solid #ad9870;background:#f5eed5;box-shadow:0 2px 4px #5d44251a}.editor-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px 10px;background:#e0d3ae;border-bottom:1px solid #b7a579}.editor-actions button{border:1px solid #b39c6e;background:#f3e9c9;padding:6px 9px;font-size:10px;color:#695032;border-radius:2px}.editor-actions button:hover{background:#fff6d9}.editor-actions [data-editor-counter]{margin-left:auto;font-size:9px;color:#917c55}.editor-canvas.ql-container{border:0!important;font:13px/1.75 Arial,Helvetica,sans-serif;min-height:240px;max-height:650px;overflow:auto}.editor-canvas .ql-editor{min-height:240px;padding:18px;color:#463a27;line-height:1.8}.editor-canvas .ql-editor p{margin-bottom:8px}.editor-canvas .ql-editor img{max-width:100%;max-height:450px}.editor-canvas .ql-editor h2{font-size:24px;margin-bottom:14px}.editor-canvas .ql-editor h3{font-size:20px}.editor-app .ql-toolbar.ql-snow{border:0;border-bottom:1px solid #c1af88;padding:9px 8px;background:#eee4c4}.editor-app .ql-snow .ql-picker-label{border-color:transparent}.editor-app .ql-toolbar button{margin:0}.editor-app .ql-formats{margin-right:8px!important}.editor-app .ql-snow .ql-tooltip{z-index:8;white-space:normal;max-width:100%;box-shadow:0 3px 12px #0003}.editor-app .ql-snow .ql-tooltip input{display:inline-block;padding:5px;margin:0}.editor-app .ql-snow .ql-tooltip a{color:#87532b}.editor-app .ql-snow .ql-picker-options{background:#f8efd2;z-index:9}.editor-footer{display:flex;justify-content:space-between;gap:10px;padding:8px 11px;background:#e9dfbf;border-top:1px solid #c5b58f;font-size:9px;color:#8b7651}.editor-footer .is-error{color:#a33e2b}.editor-draft{padding:10px 12px;border-top:1px solid #aa925e;background:#d0d8b4;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:10px;color:#4d633a}.editor-draft button{font-size:9px;border:1px solid #9ca26d;padding:5px 8px;background:#edf0d6;color:#53653b}.rich-editor.dragging .editor-app{outline:3px solid #9aa66b}.editor-file-attachment{border:1px solid #b5a47a;background:#e8dabb;margin:10px 0;padding:12px;font-size:12px}.rich-content{line-height:1.85;font-size:13px;overflow-wrap:anywhere}.rich-content p{margin-bottom:15px}.rich-content p:last-child{margin-bottom:0}.rich-content h2{font-size:27px;margin:25px 0 13px;color:#65472e}.rich-content h3{font-size:22px;margin:22px 0 12px}.rich-content blockquote{margin:18px 0;padding:12px 18px;border-left:4px solid #a48950;background:#d8c9a0;color:#74603c;font-style:italic}.rich-content pre{padding:15px;overflow:auto;background:#2f372c;color:#e8ddba;white-space:pre-wrap;border:1px solid #687052;font:12px/1.7 monospace}.rich-content ul,.rich-content ol{padding-left:27px;margin:12px 0 18px}.rich-content li{margin-bottom:6px}.rich-content a{color:#97562d;text-decoration:underline}.rich-content em{color:inherit}.rich-align-center{text-align:center}.rich-align-right{text-align:right}.rich-align-justify{text-align:justify}.rich-indent-1{margin-left:24px}.rich-indent-2{margin-left:48px}.rich-indent-3{margin-left:72px}.rich-indent-4{margin-left:96px}.content-image{margin:18px 0;max-width:100%;text-align:center}.content-image img{max-width:100%;height:auto;max-height:700px;object-fit:contain;vertical-align:middle;border:1px solid #bba77f}.content-image figcaption{font-size:11px;color:#88714b;font-style:italic;margin-top:7px}.file-attachment{display:flex!important;align-items:center;gap:12px;border:1px solid #b8a379;background:#e1d3ab;color:#76532e;padding:13px 16px;margin:14px 0;text-decoration:none!important}.file-attachment>span{font-size:27px}.file-attachment strong{font-size:12px;overflow-wrap:anywhere}.file-attachment small{font-size:9px;margin-left:auto;white-space:nowrap;color:#8b7450}.attachment-missing{display:block;font-size:10px;padding:10px;border:1px dashed #bba679;color:#947b54}.media-upload-zone{border:2px dashed #a68e58;background:#e6daba;padding:28px 22px;text-align:center;cursor:pointer;color:#725331;margin-bottom:9px;transition:.15s}.media-upload-zone strong{display:block;font:600 19px Lora,Georgia,serif;margin-bottom:8px}.media-upload-zone span{font-size:10px;color:#927c53}.media-upload-zone:hover,.media-upload-zone.dragging{background:#eee4c4;border-color:#8d6b36}.upload-status{font-size:11px;color:#b9c49c;min-height:16px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.media-card{background:#e4d8b5;border:3px ridge #ad9770;box-shadow:0 3px 7px #0003;min-width:0}.media-thumb{display:flex;height:150px;background:repeating-conic-gradient(#c8bc99 0 25%,#d6cba8 0 50%) 50%/18px 18px;align-items:center;justify-content:center;overflow:hidden}.media-thumb img{width:100%;height:100%;object-fit:contain}.media-thumb>span{font-size:33px;color:#99814a}.media-thumb small{display:block;font-size:11px;text-align:center;text-transform:uppercase}.media-card-body{padding:12px}.media-card-body>strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.media-card-body>small{font-size:9px;color:#8a7651;display:block;margin:5px 0}.media-card-body>a{font-size:10px;color:#925c2e}.media-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.media-card-actions .button{font-size:9px;padding:6px 9px;min-height:29px}.media-detail{display:flex;gap:20px;align-items:center;margin-bottom:22px;overflow-wrap:anywhere}.media-detail img{max-width:220px;max-height:180px;border:1px solid #b8a57d}.media-detail p{font-size:10px;margin:6px 0}.media-detail a{font-size:10px;color:#945b30}.media-file-symbol{font-size:60px;color:#a18a50;padding:0 20px}.revision-item{padding:15px 0;border-bottom:1px solid #b8a57d}.revision-item:last-child{border:0}.revision-item summary{cursor:pointer;font:600 16px Lora,Georgia,serif}.revision-item summary small{display:block;font:9px Arial,Helvetica,sans-serif;color:#8c7550;margin:5px 0}.revision-preview{padding:16px 0}.media-dialog,.preview-dialog{padding:0;border:3px ridge #b29b6b;max-width:1040px;width:calc(100% - 36px);max-height:88vh;background:#e9dfbd;color:#51402b;box-shadow:0 15px 60px #0008}.media-dialog::backdrop,.preview-dialog::backdrop{background:#0b1514d4;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 23px;background:linear-gradient(#66513a,#4b3826);color:#f1d9a4;border-bottom:2px ridge #a68c5d}.dialog-heading small{font-size:8px;letter-spacing:1.5px}.dialog-heading h2{font-size:24px;margin:4px 0 0}.dialog-heading>button{background:none;border:0;font-size:30px;color:#e9cb91;padding:0 5px}.dialog-tools{display:flex;gap:13px;padding:17px 20px 0;align-items:center}.dialog-tools input{margin:0;flex:1}.dialog-tools .button{font-size:10px;padding:9px 13px}.dialog-status{font-size:11px;margin:10px 20px;min-height:16px;color:#8b673f}.media-picker-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;border-top:1px solid #baa77b;border-bottom:1px solid #baa77b;min-height:280px;max-height:52vh;overflow:auto}.media-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;align-content:start;padding:18px}.media-picker-grid>p{grid-column:1/-1;font-size:12px;color:#92794e}.media-picker-card{padding:0;border:2px solid #bba77e;background:#ded0a8;min-width:0;text-align:left;cursor:pointer;color:#6c5231}.media-picker-card img{width:100%;height:95px;object-fit:contain;background:#d3c8a8;display:block}.media-picker-card>span:last-child{font-size:9px;display:block;padding:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-picker-card.selected{border-color:#906b2f;box-shadow:0 0 0 2px #d6b674}.picker-file-type{height:95px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#8b713a}.media-picker-details{padding:18px;background:#ddd0ac;border-left:1px solid #baa77b;overflow-wrap:anywhere;font-size:11px}.media-picker-details>strong{font-size:12px}.media-picker-details>p{font-size:10px;color:#8d744b;margin:6px 0 15px}.media-picker-details label{font-size:10px;margin-bottom:12px}.media-picker-details input{font-size:11px;padding:8px}.media-picker-details .button{font-size:10px;padding:8px 12px}.dialog-metadata-status{font-size:10px;margin-top:10px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 21px}.dialog-footer>span{font-size:10px;color:#8e774e}.dialog-footer>.button{font-size:11px}.preview-body{padding:25px 30px;max-height:68vh;overflow:auto}.preview-body>h2{font-size:28px}.preview-dialog{max-width:800px}
@media(max-width:1100px){.media-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-layout{grid-template-columns:166px minmax(0,1fr)}}
@media(max-width:920px){.layout.admin-layout{grid-template-columns:175px minmax(0,1fr)}.admin-filter{flex-wrap:wrap}.admin-filter label{min-width:140px}.media-picker-layout{grid-template-columns:minmax(0,1fr) 200px}.media-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.media-picker-card img{height:80px}.picker-file-type{height:80px}.editor-save-bar{flex-wrap:wrap}}
@media(max-width:650px){.admin-layout .page-heading{padding:18px 17px}.admin-layout .page-heading h1{font-size:27px}.admin-layout .dashboard-stats{grid-template-columns:repeat(2,1fr)}.admin-nav{padding:8px;gap:5px}.admin-nav a{font-size:9px;padding:7px 9px}.admin-subnav{gap:6px;font-size:9px}.admin-subnav a{padding:6px 8px}.admin-filter{padding:12px;gap:10px}.admin-filter label{min-width:120px}.admin-filter .button{font-size:10px;padding:9px 12px}.bulk-bar{gap:8px}.bulk-bar select{font-size:9px}.managed-news h3{font-size:18px}.row-links{font-size:9px;gap:12px}.editor-canvas.ql-container,.editor-canvas .ql-editor{min-height:210px}.editor-canvas .ql-editor{padding:14px}.editor-actions{gap:5px;padding:8px}.editor-actions button{padding:6px 7px;font-size:9px}.editor-actions [data-editor-counter]{font-size:8px}.editor-app .ql-toolbar.ql-snow{padding:7px 5px}.editor-footer{font-size:8px;gap:6px}.editor-footer>span:last-child{white-space:nowrap}.editor-section>summary{font-size:13px;padding:12px}.editor-section>label,.editor-section>.form-grid,.editor-section>.cover-picker,.editor-section>.note{margin-left:12px;margin-right:12px}.editor-save-bar{gap:12px}.editor-save-bar>span{font-size:9px}.content-image figcaption{font-size:10px}.news-custom-cover{height:129px}.rich-content{font-size:12px}.rich-content h2{font-size:24px}.rich-content h3{font-size:20px}.rich-content blockquote{padding:10px 13px}.file-attachment{gap:9px;padding:11px}.file-attachment strong{font-size:10px}.file-attachment small{font-size:8px;white-space:normal}.media-grid{gap:10px}.media-thumb{height:115px}.media-card-body{padding:10px}.media-card-body>strong{font-size:10px}.media-card-body>small{font-size:8px}.media-card-actions{gap:5px}.media-card-actions .button{font-size:8px;padding:6px}.media-detail{flex-direction:column;align-items:flex-start;gap:14px}.media-detail img{max-width:100%;max-height:220px}.media-upload-zone{padding:22px 15px}.media-upload-zone strong{font-size:16px}.media-upload-zone span{font-size:9px}.media-dialog,.preview-dialog{width:calc(100% - 18px);max-height:94vh}.dialog-heading{padding:14px 16px}.dialog-heading h2{font-size:21px}.dialog-tools{padding:13px 13px 0;gap:8px}.dialog-tools input{padding:9px;font-size:11px;min-width:0}.dialog-tools .button{font-size:9px;white-space:nowrap;padding:8px 10px;min-height:36px}.dialog-status{font-size:10px;margin:9px 13px}.media-picker-layout{grid-template-columns:1fr;max-height:58vh}.media-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:13px;gap:8px}.media-picker-details{border-left:0;border-top:1px solid #baa77b;padding:13px;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.media-picker-details>strong,.media-picker-details>p,.media-picker-details>.dialog-metadata-status{grid-column:1/-1;margin:0}.media-picker-details label{margin:0}.media-picker-details .button{align-self:end;font-size:9px}.media-picker-card img{height:80px}.media-picker-card>span:last-child{font-size:8px;padding:6px}.dialog-footer{padding:13px;gap:10px}.dialog-footer>span{font-size:8px}.dialog-footer>.button{font-size:10px;padding:9px 11px}.preview-body{padding:20px}.editor-draft{font-size:9px}.editor-draft button{font-size:8px}}

.content-image.news-custom-cover img{object-fit:cover;max-height:none}

/* Game administration keeps the parchment and carved-panel visual language. */
.game-connection{padding:20px;background:#e9ddbd;border:1px solid #ac905d;box-shadow:inset 0 0 0 3px #f2e7cd;display:flex;align-items:flex-start;gap:18px;justify-content:space-between;margin:20px 0}.game-connection>div{display:flex;gap:14px}.game-connection p{margin:6px 0 0;font-size:14px;line-height:1.6}.game-connection .pixel{flex-shrink:0}.game-connection .role{white-space:nowrap}.game-tabs a[aria-current=page]{background:#533820;color:#fff2c9}.game-operation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.game-operation{display:flex;flex-direction:column;gap:10px;text-decoration:none!important;color:#4d3523;padding:18px;border:1px solid #b59a6e;background:#f2e8d1;box-shadow:0 2px 3px #37221117}.game-operation strong{font-family:Georgia,serif;font-size:18px}.game-operation small{font-size:13px;line-height:1.5}.game-operation .role{align-self:flex-start;font-size:10px}.game-operation:hover,.game-operation.selected{border-color:#74512d;background:#fff3d5;box-shadow:inset 0 0 0 2px #b98b45}.game-confirm{padding:14px;background:#e9ddbd;line-height:1.5}.operation-history article{padding:20px 0;border-bottom:1px solid #cbb890;overflow-wrap:anywhere}.operation-history article:first-child{padding-top:0}.operation-history article:last-child{border:0}.operation-history-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.operation-history small{display:block;color:#735b40}.operation-history form{margin-top:12px}.game-operation:focus-visible{outline:3px solid #896024;outline-offset:3px}@media(max-width:750px){.game-operation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-connection,.operation-history-head{flex-direction:column}}@media(max-width:420px){.game-operation-grid{grid-template-columns:1fr}}

.reward-picker{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem}
.reward-picker label{flex:1 1 15rem}
.reward-picker figure{margin:0;padding:.4rem .65rem;text-align:center;border:1px solid #a58456;background:#f4e6c6;font-size:.75rem}
.reward-picker figure[hidden]{display:none}
.reward-picker img{display:block;object-fit:contain;margin:0 auto;image-rendering:pixelated}

.outfit-picker{display:grid;gap:.65rem;border:1px solid #a58456;padding:.75rem;max-height:32rem;overflow:auto}
.outfit-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.35rem}
.outfit-options label{display:flex;align-items:center;gap:.35rem;padding:.35rem;background:#f4e6c6}
.outfit-options img{object-fit:contain;image-rendering:pixelated}

.wood-panel h2.houses-menu-title::before{background-image:url("/assets/tibia-house.png");image-rendering:pixelated}

.character-bio{white-space:pre-wrap;overflow-wrap:anywhere}

.admin-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.6rem;margin:0 0 1rem}
.admin-group{background:#f5eacb;border:1px solid #b99a62;border-radius:4px;padding:.65rem .8rem}
.admin-group strong{display:block;color:#52391f;margin-bottom:.25rem;font-family:Georgia,serif}
.admin-group a{display:block;padding:.25rem .1rem}
.admin-group-game{background:#e6eff8;border-color:#7293b7}
.admin-group-game strong,.admin-group-game a{color:#123a64}
.admin-group-forum{border-color:#9272a4}
.admin-group-access{border-color:#778b59}
.admin-group a:focus-visible{outline:2px solid #235987}

.admin-group-access{background:#f9e5e1;border-color:#b55349}
.admin-group-access strong,.admin-group-access a{color:#84271f}

.account-record dl{display:grid;grid-template-columns:minmax(7rem,28%) minmax(0,1fr);margin:0;background:#eadcc0;border:1px solid #c1a476}
.account-record dt,.account-record dd{margin:0;padding:.55rem .75rem;border-bottom:1px solid #cdb68d;overflow-wrap:anywhere}
.account-record dt{font-weight:bold;color:#503419;background:#eee0c0}
.account-record dd{background:#f7ecd3}
.account-record h3{margin:0;padding:.55rem .75rem;background:#664a32;color:#fff0ce;font:700 1rem Georgia,serif}
.account-record table{margin:0}
.account-record>p{margin:0;padding:.65rem .75rem;background:#f7ecd3}
.account-record-counts{display:inline-block;margin-left:.35rem}
.account-record-edit{margin-top:.5rem}
.account-record-edit summary{cursor:pointer;color:#432c16;text-decoration:underline}

.visibility-block{position:relative;scroll-margin-top:1rem}
.visibility-block>.visibility-form{position:absolute;right:5px;top:5px;z-index:3}
.visibility-block:has(.wood-panel)>.visibility-form{right:25px;top:7px}
.visibility-block:has(.wood-panel) h2 button{padding-right:69px}
.visibility-form{display:inline-flex;margin:0}
.visibility-form button{border:1px solid #735a3a;border-radius:3px;background:#f4e6c7;color:#432f1e;padding:.13rem .35rem;font:600 .68rem system-ui,sans-serif;cursor:pointer}
.visibility-form button:hover,.visibility-form button:focus-visible{background:#fff5db;outline:2px solid #997946}
.visibility-muted>.visibility-content,.visibility-muted .visibility-content{filter:grayscale(1);opacity:.45}
.visibility-muted .visibility-form button{background:#e9e9e9;color:#333}
.visibility-row-label{display:flex;align-items:center;justify-content:space-between;gap:.35rem;flex-wrap:wrap}

.account-character {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .75rem;
}
.account-character .character-name,
.account-character .character-link > span {
  margin: 0;
  color: #783b13;
  font: 700 1.3rem/1.25 Georgia, serif;
  overflow-wrap: anywhere;
}
.account-character a:hover {
  text-decoration: underline;
}
.account-character .character-link small {
  font: 400 .78rem/1.35 Verdana, sans-serif;
}
.account-character .character-presence {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .55rem;
  border-radius: .3rem;
  color: #fff;
  font: 700 .8rem/1.2 Verdana, sans-serif;
  white-space: nowrap;
}
.account-character .character-presence::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: currentColor;
}
.account-character .is-offline {
  background: #a0272d;
}
.account-character .is-online {
  background: #21673a;
}

.server-status.is-offline > span {
  background: #a0272d;
  box-shadow: none;
}
.account-management .account-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1.1rem;
  padding: .55rem .75rem;
  background: #f5e8ca;
  border: 1px solid #c1a476;
}
.account-tools > form {
  margin: 0;
  padding: 0;
}
.account-tools .logout-link {
  color: #753426;
  text-decoration: underline;
}
.account-management h3 {
  margin: 1rem 0 0;
  padding: .42rem .75rem;
  color: #fff0ce;
  background: #664a32;
  font: 700 1rem Georgia, serif;
}
.account-management table {
  margin: 0;
}
.account-management .account-facts th {
  width: 35%;
  text-align: left;
  background: #eee0c0;
}
.account-facts td {
  overflow-wrap: anywhere;
}
.account-roster .character-name {
  font-size: 1.05rem;
}
.account-management .account-form {
  margin-top: .55rem;
}
.account-management summary {
  cursor: pointer;
  width: fit-content;
  padding: .4rem .65rem;
  color: #623719;
  background: #f2dfb4;
  border: 1px solid #b79a66;
  font-weight: 700;
}

.owned-house + .owned-house {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid #c1a476;
}
.house-release > summary {
  width: fit-content;
  max-width: 100%;
  cursor: pointer;
  padding: .6rem .9rem;
  color: #fff5e7;
  background: #a0272d;
  border: 2px solid #73191e;
  border-radius: .25rem;
  font: 700 1.2rem/1.3 Georgia, serif;
}
.house-release > summary:hover {
  background: #861f24;
}

.getting-started {
  padding-left: 1.9rem;
  margin: 0;
}
.getting-started > li {
  padding: .6rem .2rem .85rem;
}
.getting-started > li + li {
  border-top: 1px solid #c1a476;
}
.getting-started > li::marker {
  color: #783b13;
  font: 700 1.25rem Georgia, serif;
}
.getting-started h3, .game-help dt {
  margin: 0;
  color: #623719;
  font: 700 1.15rem Georgia, serif;
}
.game-help dd {
  margin: .25rem 0 .9rem;
}
.rules-list {
  padding-left: 1.3rem;
  margin: 0;
}
.rules-list li + li {
  margin-top: .5rem;
}

.admin-group-test {
  background: #e3f0da;
  border-color: #5b8550;
}
.admin-group-test strong, .admin-group-test a {
  color: #274b24;
}

.reward-sprite{display:inline-block;flex:0 0 32px;width:32px;height:32px;background-repeat:no-repeat;image-rendering:pixelated}
.reward-choice{min-height:42px}.reward-choice small{display:block}.reward-pages{display:flex;justify-content:space-between;gap:.7rem;flex-wrap:wrap}

.reward-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.35rem;margin:0 0 .9rem}.reward-categories a{display:flex;justify-content:space-between;align-items:baseline;gap:.35rem;padding:.35rem .5rem;border:1px solid #ab8855;background:#f9edcf;color:#3d2b1a;text-decoration:none}.reward-categories a:hover{background:#ead7ac}.reward-categories a[aria-current=page]{background:#213a52;color:#fff7e4;border-color:#24344d;font-weight:bold}.reward-categories small{font-variant-numeric:tabular-nums}.reward-search-actions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}

.codex-icon{display:inline-block;flex:none;background-repeat:no-repeat;image-rendering:pixelated}
.codex-creature{width:64px;height:64px;background-image:url('/assets/codex-creatures.webp')}
.codex-spell{width:32px;height:32px;background-image:url('/assets/codex-spells.webp')}
.codex-creature.codex-no-icon{background:url('/assets/dragon.svg') center/32px no-repeat;opacity:.4}
.codex-spell.codex-no-icon{background:url('/assets/scroll.svg') center/24px no-repeat;opacity:.4}
.removal-choices{max-height:17rem;overflow:auto;border:1px solid #baa780;padding:.5rem .75rem}
.removal-choices label{margin:.25rem 0;padding:.25rem}

.admin-group-sync{border-color:#66857e}

.codex-sections,.codex-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.codex-sections{margin:0 0 12px;border-bottom:1px solid #aa8a51;padding:0 0 6px}
.codex-sections a,.codex-tabs a{background:#f2e6c8;color:#4b301e;border:1px solid #ba9d6b;text-decoration:none;padding:.5rem .8rem;font-weight:700}
.codex-sections a[aria-current],.codex-tabs a[aria-current]{color:#fff1ce;background:#3a4f37;border-color:#3a4f37}
.codex-tabs{margin:0 0 .7rem}
.codex-filters{display:flex;flex-wrap:wrap;align-items:end;gap:.55rem;margin:0 0 .7rem;padding:.65rem;background:#eee0bd;border:1px solid #c5a778}
.codex-filters label{flex:1 1 115px;margin:0;min-width:0}
.codex-filters label:has([type=search]){flex-basis:150px}
.codex-filters input,.codex-filters select{min-width:0;width:100%}
.codex-filters>.button{padding:.65rem .8rem;white-space:nowrap}
.codex-filters>a{align-self:center}
.codex-result{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.55rem;margin:.65rem 0}
.codex-result{color:#604b35;font-size:.82rem}
.codex-result>div{display:flex;flex-wrap:wrap;gap:.7rem}
.codex-table-scroll{overflow-x:auto;width:100%;border:1px solid #bca174}
.codex-table-scroll:focus-visible{outline:2px solid #465937;outline-offset:2px}
.codex-table{border-collapse:collapse;width:100%;font-family:Verdana,sans-serif;font-size:.8rem;margin:0}
.codex-table thead th{background:#574020;color:#fff1cb;text-align:left;white-space:nowrap;padding:.6rem .5rem}
.codex-table thead a{color:inherit}
.codex-table tbody tr:nth-child(even){background:#efe0bb}
.codex-table tbody tr:nth-child(odd){background:#fbefd4}
.codex-table tbody tr:hover{background:#f0d9aa}
.codex-table td,.codex-table tbody th{border-bottom:1px solid #cfb788;padding:.25rem .45rem;text-align:left;vertical-align:middle}
.codex-table tbody th{min-width:7.25rem}
.codex-table tbody a{color:#533317;font-weight:700}
.codex-table td code{white-space:nowrap;font:inherit;font-style:italic}
.codex-table .codex-visual{width:1%;padding:0 .3rem;text-align:center}
.codex-visual .codex-icon{display:block;margin:auto}
.codex-visual .codex-creature{transform:scale(.78);margin-top:-6px;margin-bottom:-6px}
.codex-table .codex-loot-preview{min-width:8.5rem}
.codex-no-rune{background-color:#dfc89b;border:1px solid #a58754;border-radius:.28rem}
.codex-profile{display:grid;grid-template-columns:minmax(5.1rem,24%) minmax(0,1fr);gap:.9rem;align-items:start}
.codex-portrait{margin:0;min-height:5.5rem;display:grid;place-content:center;justify-items:center;background:radial-gradient(#f9edcd,#dcc391);border:1px solid #ba9b65;padding:.35rem}
.codex-portrait figcaption{color:#614c35;font-size:.72rem}
.codex-facts{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem}
.codex-facts div,.codex-resistances div{background:#efe0be;border:1px solid #cdb38a;padding:.45rem .55rem}
.codex-facts dt,.codex-resistances span{display:block;color:#624c35;font-size:.76rem}
.codex-facts dd{margin:.12rem 0 0;color:#3f2c1a;font-weight:700;overflow-wrap:anywhere}
.codex-resistances{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.35rem}
.codex-positive{color:#145035;font-weight:700}
.codex-negative{color:#8d2c26;font-weight:700}
.codex-empty{padding:.6rem 0}
@media(max-width:500px){.codex-facts{grid-template-columns:1fr}.codex-filters{gap:.45rem}.codex-result{align-items:flex-start}}

.codex-guide-list{list-style:none;margin:0;padding:0}
.codex-guide-list li{padding:.85rem 0;border-bottom:1px solid #cfb78a}
.codex-guide-list li:last-child{border-bottom:0}
.codex-guide-list a{font-weight:700}
.codex-guide-list p{margin:.25rem 0 0}
.codex-spoiler{margin:1rem 0;border:1px solid #ba9d6b;background:#f2e6c8;padding:.75rem}
.codex-spoiler summary{cursor:pointer;font-weight:700;color:#4b301e}
.codex-steps{padding-inline-start:1.75rem}
.codex-steps li+li{margin-top:.6rem}

/* Compact MyAAC-style library, adapted to Thornfall's parchment tables. */
.library-filters{display:flex;flex-wrap:wrap;gap:.7rem;align-items:end;background:#e9d7b2;border:1px solid #b9a17c;padding:.7rem;margin-bottom:1rem}
.library-filters label{margin:0;flex:1 1 130px;min-width:0;font-size:.8rem}
.library-filters input,.library-filters select{width:100%;min-width:0}
.site-catalog-controls{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;font-size:.8rem;border-bottom:1px solid #b9a17c;padding:0 0 .6rem;margin-bottom:.65rem}
.site-catalog-controls a[aria-current]{font-weight:bold;color:#6f291a}
.site-catalog-controls>span{margin-left:auto}
.site-monster-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:1px;background:#d6bf96;border:1px solid #b9a17c}
.site-monster-tile{display:flex;flex-direction:column;align-items:center;justify-content:start;gap:.25rem;min-height:106px;background:#f5e7c9;padding:.45rem .25rem;text-align:center;color:#583119;text-decoration:none;font:11px/1.35 Verdana,sans-serif}
.site-monster-tile:nth-child(even){background:#ecdbb8}
.site-monster-tile:hover,.site-monster-tile:focus-visible{background:#dfc596;color:#7b2114;text-decoration:underline}
.site-monster-tile.is-boss{box-shadow:inset 0 0 0 1px #977143}
.site-monster-tile[hidden]{display:none}
.site-spell-tabs{display:flex;gap:2px;flex-wrap:wrap;margin:.8rem 0 1rem;border-bottom:2px solid #71512d}
.site-spell-tabs a{padding:.55rem .85rem;background:#d8c099;color:#4b2d17;text-decoration:none;font-size:.8rem;font-weight:bold}
.site-spell-tabs a[aria-current]{background:#71512d;color:#fff1d1}
.site-spell-group{margin:0 0 1.25rem}
.site-spell-group h3{font-size:.95rem;margin:.6rem 0}
.site-spell-group h3 small{font-weight:normal;font-size:.75rem}
.site-monster-info{display:flex;gap:1rem;align-items:center;background:#eddbb6;padding:.8rem;border:1px solid #b9a17c}
.site-monster-portrait{flex:0 0 70px;text-align:center}
.site-monster-info dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem 1rem;margin:0;width:100%;font:12px Verdana,sans-serif}
.site-monster-info dt{font-weight:bold;margin:0 0 .2rem}
.site-monster-info dd{margin:0}
.site-monster-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.site-monster-columns h3{font-size:.85rem}
.site-monster-voices{color:#8b3b20;font-style:italic}
.site-spell-product{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-top:.75rem;font-size:.8rem}
.library-table{width:100%;border-collapse:collapse;font:12px/1.5 Verdana,sans-serif}
.library-table th,.library-table td{padding:.45rem .55rem;border-bottom:1px solid #c7af88;text-align:left}
.library-table thead th{background:#71512d;color:#fff1d1}
.library-table tbody tr:nth-child(odd){background:#f7eacf}
.library-table tbody tr:nth-child(even){background:#e7d5b3}
.library-equipment{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:5px}
.library-equipment>div{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.45rem;background:#e7d5b3;text-align:center;font-size:.7rem}
.library-equipment small{font-weight:bold}
.library-item-empty{display:inline-grid;place-content:center;width:32px;height:32px;border:1px solid #b6a07b;background:#ddc69c;color:#816645;font:bold 16px Georgia,serif}
.codex-creature.codex-no-icon,.codex-spell.codex-no-icon{background-image:none;opacity:1;position:relative;background-color:#e3cea6;border:1px solid #bea378}
.codex-no-icon::after{content:'?';position:absolute;inset:0;display:grid;place-content:center;color:#907b59;font:20px Georgia,serif}
@media(max-width:600px){.site-monster-info{align-items:start}.site-monster-info dl{grid-template-columns:repeat(2,minmax(0,1fr))}.site-monster-columns{grid-template-columns:1fr}.site-monster-gallery{grid-template-columns:repeat(auto-fill,minmax(82px,1fr))}}
.portal-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem}.portal-gallery figure{margin:0}.portal-gallery img{width:100%;height:160px;object-fit:cover;border:1px solid #b9a17c}.portal-gallery figcaption{font-size:.8rem;padding:.4rem 0}.portal-poll-results{list-style:none;padding:0}.portal-poll-results li{display:grid;grid-template-columns:minmax(80px,1fr) 2fr 30px;align-items:center;gap:.6rem;margin:.5rem 0}.portal-poll-results meter{width:100%;accent-color:#71512d}.portal-vote{border:1px solid #b9a17c;padding:.5rem .8rem}.portal-vote label{display:block}.portal-vote input{width:auto}.portal-changelog{list-style:none;padding:0;margin:0}.portal-changelog li{display:flex;gap:1rem;border-bottom:1px solid #b9a17c;padding:.75rem 0}.portal-changelog time{font-size:.8rem;white-space:nowrap}.portal-changelog p{white-space:pre-line;margin:.3rem 0}.portal-admin-entry{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;padding:.6rem 0;border-bottom:1px solid #b9a17c}.portal-admin-entry span{font-size:.8rem}


.equipment-display{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
 gap:clamp(16px,4vw,38px);padding:16px 0;
}
.equipment-character{
 display:grid;justify-items:center;gap:10px;width:126px;max-width:100%;
 color:#543a24;text-align:center;font:600 16px Lora,Georgia,serif;overflow-wrap:anywhere;
}
.equipment-portrait{
 display:grid;place-items:center;width:98px;height:98px;box-sizing:border-box;
 border:3px double #9b794e;border-radius:4px;background:radial-gradient(#f8eac9,#d8bd8d);
}
.equipment-portrait .reward-sprite{transform:scale(2)}
.library-equipment.equipment-slots{
 --slot-size:clamp(48px,15vw,68px);
 --slot-step:calc(var(--slot-size) + 5px);
 position:relative;display:block;
 width:calc(2 * var(--slot-step) + var(--slot-size));
 height:calc(3 * var(--slot-step) + var(--slot-size));
 max-width:100%;margin:0;padding:0;border:0;background:transparent;
}
.equipment-slots .equipment-slot{
 position:absolute;box-sizing:border-box;width:var(--slot-size);height:var(--slot-size);
 display:grid;place-items:center;overflow:hidden;
 background:#414141 url('/assets/equipment/containerslot.png') center/100% 100% no-repeat;
 border:0;border-radius:0;
}
.equipment-slots .equipment-slot .reward-sprite,
.equipment-slots .equipment-slot .equipment-empty{
 display:block;width:32px;height:32px;image-rendering:pixelated;transform:scale(2);
}
.equipment-slots .equipment-slot-1,.equipment-slots .equipment-slot-4,
.equipment-slots .equipment-slot-7,.equipment-slots .equipment-slot-8{left:var(--slot-step)}
.equipment-slots .equipment-slot-2,.equipment-slots .equipment-slot-6,
.equipment-slots .equipment-slot-9{left:0}
.equipment-slots .equipment-slot-3,.equipment-slots .equipment-slot-5,
.equipment-slots .equipment-slot-10{right:0}
.equipment-slots .equipment-slot-1{top:0}
.equipment-slots .equipment-slot-2,.equipment-slots .equipment-slot-3{top:calc(.4 * var(--slot-step))}
.equipment-slots .equipment-slot-4{top:var(--slot-step)}
.equipment-slots .equipment-slot-5,.equipment-slots .equipment-slot-6{top:calc(1.4 * var(--slot-step))}
.equipment-slots .equipment-slot-7{top:calc(2 * var(--slot-step))}
.equipment-slots .equipment-slot-9,.equipment-slots .equipment-slot-10{top:calc(2.4 * var(--slot-step))}
.equipment-slots .equipment-slot-8{top:calc(3 * var(--slot-step))}
@media(max-width:460px){
 .equipment-slots .equipment-slot .reward-sprite,
 .equipment-slots .equipment-slot .equipment-empty{transform:scale(1.4)}
}
.tc-coin{display:inline-grid;place-content:center;width:40px;height:40px;border-radius:50%;border:3px double #ae7528;background:radial-gradient(#f9de89,#c78f3f);color:#543310;font:bold 15px Georgia,serif;box-shadow:inset 0 0 0 2px #e7bc65}.tc-balance{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:.6rem}.offer-description{display:block;font-weight:normal;font-size:.75rem;margin-top:.3rem}.guild-logo{display:block;max-width:120px;max-height:120px;margin:0 auto 1rem}.library-table form{min-width:160px}.library-table .button{white-space:nowrap}



/* Classic parchment tables and compact account/service controls. */
.tc-package{border-bottom:1px solid #bda77e;padding:14px 0}.tc-package:last-child{border-bottom:0}.tc-package h3{font:700 20px Georgia,serif;margin:0 0 8px;color:#314b3b}.shop-offer-image{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.suite-signature{max-width:100%;height:auto}.recovery-key{font:bold clamp(16px,2vw,24px) monospace;overflow-wrap:anywhere;padding:20px;background:#e8d6ac;border:2px ridge #aa8a51}input[readonly]{background:#e8dfcb}select[multiple]{min-height:160px}.panel-body>details{padding:10px 0;border-bottom:1px solid #c4ae85}.panel-body>details>summary{cursor:pointer;font-weight:bold;color:#324f3c}.panel-body>details form{margin-top:12px}.house-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.house-facts div{padding:10px;background:#eee0bd}.house-facts dt{font-size:12px}.house-facts dd{margin:6px 0 0;font-weight:bold}.house-photo{max-width:100%;height:auto;border:3px ridge #a08453}

/* Administrator: a single category bar followed by the tools of the current section. */
.admin-section-tabs{display:flex;flex-wrap:wrap;gap:0;margin:0 0 14px;border:1px solid #826b48;background:#d9c7a0}.admin-section-tabs a{flex:1 0 125px;padding:12px 9px;text-align:center;color:#453520;font-weight:bold;font-size:12px;border-right:1px solid #b09b74;border-bottom:1px solid #b09b74}.admin-section-tabs a:hover,.admin-section-tabs a[aria-current=page]{background:#365566;color:#fff7dd}.admin-tool-menu{padding:16px 18px;margin-bottom:24px;background:#efe3c5;border:1px solid #b8a078}.admin-tool-menu h2{font:700 21px Georgia,serif;margin:0 0 5px;color:#345363}.admin-tool-menu>p{margin:0 0 14px;font-size:12px}.admin-tool-menu nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.admin-tool-menu nav>a{padding:12px 8px;border-top:1px solid #c7b58e;color:#3f4938}.admin-tool-menu nav>a[aria-current=page]{background:#d5e0dc;border-left:3px solid #365566;padding-left:10px}.admin-tool-menu strong,.admin-tool-menu small{display:block}.admin-tool-menu small{margin-top:5px;font-size:11px;line-height:1.5;color:#63563f}.admin-tool-menu a[href^='/admin/access.html'] strong{color:#9c2827}.admin-tool-menu a[href^='/admin/server-test.html'] strong{color:#287044}.admin-tool-menu a[href^='/admin/game.html'] strong{color:#245d8c}.shop-picker-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shop-item-grid,.shop-outfit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:8px;margin:12px 0}.shop-item-choice,.shop-outfit-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:9px 6px;background:#f6edda;border:1px solid #bda77d;color:#4a3c28;cursor:pointer;box-shadow:inset 0 0 0 2px #ede0bf;font:11px/1.35 Verdana,sans-serif;text-align:center}.shop-item-choice:hover,.shop-item-choice.is-selected,.shop-outfit-choice:has(input:checked){border:2px solid #2c685b;background:#dce8d9}.shop-item-choice .reward-sprite{flex:none}.shop-picker-pages{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:11px}.shop-picker-pages button{padding:7px 10px;background:#e6d5ae;border:1px solid #9b845c;cursor:pointer}.shop-current-choice{padding:10px;border-left:3px solid #456658;background:#e2e6ce;font-size:12px}.shop-visual-picker{margin:15px 0;padding:12px;border:1px solid #bda77d}.shop-offer-form [hidden]{display:none!important}.shop-offer-form [data-offer-params]{margin:14px 0}.spell-profession-nav{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.spell-profession-nav a{padding:9px 14px;background:#c9b28a;border:1px solid #8d7550;color:#3d3425;font-weight:bold}.spell-profession-group{scroll-margin-top:20px;margin:24px 0}.spell-profession-group h3{padding:10px 14px;background:#3c5a66;color:#fff0cd;font:700 19px Georgia,serif;margin:0}.spell-profession-group table{font-size:12px}.spell-profession-group td,.spell-profession-group th{padding:9px 12px}.spell-profession-group tbody tr:nth-child(even){background:#e3d2ad}.spell-profession-group code{font-family:Verdana,sans-serif;font-weight:bold;white-space:normal;color:#65442d}.spell-profession-group th:first-child{width:34%}.spell-profession-group th:nth-child(2){width:34%}@media(max-width:650px){.admin-tool-menu nav,.shop-picker-controls{grid-template-columns:1fr}.admin-section-tabs a{flex-basis:40%;font-size:11px}.shop-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.spell-profession-group td,.spell-profession-group th{padding:8px 6px;font-size:11px}}
.spell-section-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}.spell-section-nav a{padding:9px 12px;border:1px solid #917148;background:#e3cfaa;color:#41301e;font-weight:bold;font-size:13px}.spell-section-nav a[aria-current=page]{background:#344d3a;color:#fff1cc}.spell-requirement-note{padding:12px;border-left:4px solid #7f663c;background:#eadcba}.shop-offer-form [hidden]{display:none!important}.shop-offer-form [data-shop-content]{margin:15px 0;border:1px solid #ac956c;padding:12px}.shop-offer-form [data-shop-content]>summary{cursor:pointer;font-weight:bold;color:#294832}

.codex-client-creature{width:96px;height:96px;background-image:url('/assets/codex-eclesia.webp');background-repeat:no-repeat;image-rendering:pixelated;flex-shrink:0}.site-monster-portrait{flex-basis:100px}.site-monster-tile{min-height:138px}.site-monster-gallery{grid-template-columns:repeat(auto-fill,minmax(128px,1fr))}.codex-invisible{display:inline-grid;place-items:center;min-height:64px;font-size:11px;color:#6a5742}.command-category{margin:20px 0}.command-category h3{color:#694624;border-bottom:1px solid #b99b6e;padding:8px 0}.command-category code{white-space:normal;overflow-wrap:anywhere}.command-category th{width:38%}.spell-extra-cost{padding:12px;background:#eadcba}.spell-extra-cost ul{margin:6px 0 0;padding-left:20px}

.mount-sprite{display:inline-block;flex:0 0 48px;width:48px;height:48px;background:url(/assets/mounts860.webp) no-repeat;image-rendering:pixelated}

.appearance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:.7rem}
.appearance-entry{min-width:0;padding:.7rem;background:#fbefd4;border:1px solid #c5a778;border-radius:3px;overflow-wrap:anywhere}
.appearance-entry[hidden]{display:none}
.appearance-heading{display:flex;align-items:center;gap:.45rem}
.appearance-heading h3,.appearance-entry h4{margin:.25rem 0;color:#422b1d}
.appearance-entry p{margin:.35rem 0}
.appearance-entry code{font-style:normal;color:#3a4f37}
.appearance-cost,.appearance-speed,.outfit-previews figcaption{color:#61472f;font-size:.84rem}
.outfit-portrait{display:inline-block;flex:0 0 56px;width:56px;height:56px;background:url(/assets/outfits860.webp) no-repeat;image-rendering:pixelated}
.outfit-variants{margin-top:.55rem;padding-top:.4rem;border-top:1px solid #d4bd91}
.outfit-variants summary{cursor:pointer;color:#4b301e;font-weight:700}
.outfit-previews{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.12rem;text-align:center}
.outfit-previews figure{margin:0}
