html{overscroll-behavior-x: none;-webkit-text-size-adjust: 100%;}body{overscroll-behavior-x: none;overscroll-behavior-y: auto;max-width: 100%;-webkit-overflow-scrolling: touch;}img,video,iframe,svg,table{max-width: 100%;}.forum-shell{width: 100%;max-width: 1480px;}@media (min-width: 1280px){.forum-shell{max-width: 1480px;}}#vb-main,main#vb-main{overflow-x: hidden;}.bb-btn{display: inline-flex;align-items: center;justify-content: center;width: 2rem;height: 2rem;border-radius: 0.5rem;border: 1px solid #e2e8f0;background: #fff;color: #475569;font-size: 0.75rem;cursor: pointer;transition: background .15s,color .15s,border-color .15s;}.bb-btn:hover{background: #E8EDF6;color: #2B4B7C;}.bb-btn-active{background: #2B4B7C !important;color: #fff !important;border-color: #2B4B7C !important;}.forum-editor-fullscreen{position: fixed !important;inset: 0;z-index: 10140;border-radius: 0 !important;display: flex;flex-direction: column;}.forum-editor-fullscreen .forum-editor-ta,.forum-editor-fullscreen [data-preview]{flex: 1;min-height: 0 !important;height: auto !important;resize: none;}.bb-spoiler{margin: 0.75rem 0;border: 1px solid #e2e8f0;border-radius: 0.5rem;padding: 0.5rem 0.75rem;background: #f8fafc;}.bb-spoiler summary{cursor: pointer;font-weight: 600;color: #2B4B7C;font-size: 0.8rem;}.bb-img{max-width: 100%;height: auto;border-radius: 0.5rem;margin: 0.5rem 0;}.bb-align{max-width: 100%;}.bb-align-center{text-align: center;}.bb-align-left{text-align: left;}.bb-align-right{text-align: right;}.bb-img--center,.bb-align-center > .bb-img,.bb-align-center img.bb-img,div[style*="text-align:center"] > .bb-img,div[style*="text-align: center"] > .bb-img,p[style*="text-align:center"] > .bb-img,p[style*="text-align: center"] > .bb-img{display: block !important;margin-left: auto !important;margin-right: auto !important;}.bb-img--right,.bb-align-right > .bb-img,.bb-align-right img.bb-img,div[style*="text-align:right"] > .bb-img,div[style*="text-align: right"] > .bb-img{display: block !important;margin-left: auto !important;margin-right: 0 !important;}.bb-img--left,.bb-align-left > .bb-img,.bb-align-left img.bb-img{display: block !important;margin-left: 0 !important;margin-right: auto !important;}.bb-attach{display: inline-flex;align-items: center;gap: 6px;padding: 4px 10px;border: 1px solid #c8d4e8;border-radius: 8px;background: #f5f7fc;color: #2B4B7C;font-size: 13px;font-weight: 600;text-decoration: none;}.bb-attach:hover{background: #e8edf6;color: #1e3558;}.vb-search-hit{background: #fde68a;color: inherit;padding: 0 2px;border-radius: 2px;}.bb-list{list-style: disc;padding-left: 1.25rem;margin: 0.5rem 0;}.bb-quote{margin: 0.75rem 0;padding: 0.75rem 1rem;border-left: 3px solid #2B4B7C;background: #F5F7FC;border-radius: 0 0.5rem 0.5rem 0;font-size: 0.875rem;}.bb-quote cite{display: block;font-style: normal;font-weight: 600;color: #2B4B7C;margin-bottom: 0.35rem;font-size: 0.75rem;}html.dark body{color-scheme: dark;background: #0f141b;}html.dark main .bg-white,html.dark section.bg-white,html.dark article.bg-white{background-color: #1e293b !important;}html.dark .border-slate-200,html.dark .border-slate-100{border-color: #334155 !important;}html.dark .bg-slate-50,html.dark .bg-vb-50{background-color: #0f172a !important;}html.dark .bg-slate-50\/50,html.dark .hover\:bg-vb-50\/50:hover{background-color: rgba(30,41,59,0.7) !important;}html.dark .text-slate-800,html.dark .text-slate-700,html.dark .text-slate-600{color: #e2e8f0 !important;}html.dark .text-slate-500,html.dark .text-slate-400{color: #94a3b8 !important;}html.dark .text-vb-700{color: #93c5fd !important;}html.dark input,html.dark textarea,html.dark select{background-color: #0f172a !important;border-color: #334155 !important;color: #e2e8f0 !important;}html.dark .auth-modal,html.dark #modal-login,html.dark #modal-register{background-color: #1e293b !important;border-color: #334155 !important;color: #e2e8f0;}html.dark .auth-modal label,html.dark #modal-login label,html.dark #modal-register label{color: #cbd5e1 !important;}html.dark thead tr.bg-slate-50{background-color: #0f172a !important;}html.dark .prose-forum a{color: #93c5fd;}html.dark .shadow-card{box-shadow: 0 1px 3px rgba(0,0,0,.35),0 4px 12px rgba(0,0,0,.25);}html.dark .forum-editor{background: #1e293b !important;border-color: #334155 !important;}html.dark .forum-editor-toolbar{background: #0f172a !important;border-color: #334155 !important;}html.dark .forum-editor-ta{background: #1e293b !important;color: #e2e8f0 !important;}html.dark .bb-quote{background: #1e293b;border-left-color: #869BB0;}html.dark .bb-quote cite{color: #C8D4E8;}html.dark .bb-btn{background: #1e293b;border-color: #334155;color: #cbd5e1;}html.dark .bb-spoiler{background: #1e293b;border-color: #334155;}html.dark .bb-spoiler summary{color: #C8D4E8;}html.dark .bbcode-code{background: #0f172a;border-color: #334155;color: #e2e8f0;}details > summary{list-style: none;}details > summary::-webkit-details-marker{display: none;}.bbcode-code{background: #f1f5f9;border: 1px solid #e2e8f0;border-radius: 0.5rem;padding: 1rem;font-family: ui-monospace,'Courier New',monospace;font-size: 0.875rem;overflow-x: auto;margin: 0.75rem 0;color: #1e293b;}.prose-forum a{color: #2B4B7C;text-decoration: underline;text-underline-offset: 2px;}.prose-forum a:hover{color: #ea580c;}.rt-tab{-webkit-tap-highlight-color: transparent;}.rt-tabs{scrollbar-width: thin;}@keyframes slideIn{from{opacity: 0;transform: translateY(-8px);}to{opacity: 1;transform: translateY(0);}}@media (max-width: 1023px){#admin-sidebar{transform: translateX(-100%);transition: transform 0.3s ease;}#admin-sidebar.open{transform: translateX(0);}}@media (max-width: 768px){html,body{width: 100%;overflow-x: visible;touch-action: auto;}.vb-body,.page,#wrapper{max-width: 100%;overflow-x: clip;}header.sticky{position: -webkit-sticky;position: sticky;top: 0;left: 0;right: 0;width: 100%;max-width: 100vw;}.overflow-x-auto{-webkit-overflow-scrolling: touch;overscroll-behavior-x: contain;max-width: 100%;}}.rank-ribbons{display: flex;flex-direction: column;gap: 4px;width: 100%;}.rank-ribbons.rank-ribbons-grid{display: grid;grid-template-columns: 1fr 1fr;gap: 4px 6px;}.rank-ribbon{display: flex;align-items: stretch;height: 22px;border-radius: 3px 0 0 3px;overflow: hidden;box-shadow: 0 1px 2px rgba(0,0,0,.12);color: #fff;font-size: 9px;font-weight: 800;letter-spacing: .02em;line-height: 1;text-transform: uppercase;}.rank-ribbon-main{flex: 1;display: flex;align-items: center;gap: 5px;padding: 0 8px 0 7px;min-width: 0;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}.rank-ribbon-main i{font-size: 10px;opacity: .95;flex-shrink: 0;}.rank-ribbon-tail{position: relative;width: 22px;flex-shrink: 0;background: #1e293b;display: flex;align-items: center;justify-content: center;clip-path: polygon(0 0,calc(100% - 7px) 0,100% 50%,calc(100% - 7px) 100%,0 100%);}.rank-ribbon-tail i{font-size: 9px;margin-right: 4px;}.flash-dismiss{animation: slideIn 0.3s ease-out;}.rank-ribbon-image img,.rank-badge-img{max-width: 160px;height: auto;display: inline-block;}.vb-tools-row{box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);}html.dark .vb-tools-row{box-shadow: inset 0 1px 0 rgba(148,163,184,0.08);}.wysiwyg-editor{border: 1px solid #869BBF;background: #fff;overflow: hidden;}.wysiwyg-editor .forum-editor-toolbar{display: flex;flex-wrap: wrap;align-items: center;gap: 2px;padding: 6px;background: linear-gradient(180deg,#F5F5FF 0%,#E1E4F2 100%);border-bottom: 1px solid #869BBF;}.wysiwyg-editor .fe-group{display: flex;flex-wrap: wrap;gap: 2px;}.wysiwyg-editor .fe-sep{width: 1px;height: 22px;background: #869BBF;margin: 0 4px;opacity: 0.5;}.wysiwyg-editor .fe-label{font-size: 10px;margin-left: 3px;}.wysiwyg-editor .bb-btn{border-radius: 3px;border: 1px solid #C8D0E0;background: #fff;min-width: 28px;height: 28px;}.wysiwyg-editor .bb-btn:hover{background: #E8EDF6;border-color: #869BBF;}.wysiwyg-surface{padding: 12px 14px;min-height: 180px;outline: none;font: 10pt/1.5 verdana,geneva,lucida,arial,sans-serif;color: #000;background: #F5F5FF;overflow-y: auto;}.wysiwyg-surface:focus{background: #fff;}.wysiwyg-surface.is-empty:before{content: attr(data-placeholder);color: #888;pointer-events: none;}.wysiwyg-surface.fe-invalid{outline: 2px solid #E53935;}.wysiwyg-surface img.bb-img,.wysiwyg-surface img:not(.vb-apple-emoji){max-width: 100%;height: auto;cursor: pointer;}.wysiwyg-surface img.bb-img.is-selected{outline: 2px solid #3d6aa2;outline-offset: 3px;}.wysiwyg-source-visible{display: block !important;width: 100%;min-height: 180px;padding: 12px 14px;border: 0;outline: none;font: 11px/1.45 consolas,monaco,monospace;background: #1e293b;color: #e2e8f0;resize: vertical;}.forum-editor-emoji{display: flex;flex-wrap: wrap;gap: 4px;padding: 8px;border-bottom: 1px solid #D1D1E1;background: #fff;}.forum-editor-emoji[hidden]{display: none !important;}.fe-emoji{width: 32px;height: 32px;border: 0;background: transparent;border-radius: 4px;cursor: pointer;font-size: 16px;display: inline-flex;align-items: center;justify-content: center;}.fe-emoji:hover{background: #E8EDF6;}.forum-editor-footer{display: flex;justify-content: space-between;gap: 8px;padding: 6px 10px;border-top: 1px solid #D1D1E1;background: #E1E4F2;font-size: 11px;color: #666;}.fe-hint{color: #888;}@media (max-width: 640px){.fe-hint{display: none;}.wysiwyg-editor .fe-label{display: none;}}.fe-modal{position: fixed;inset: 0;z-index: 10150;display: flex;align-items: center;justify-content: center;padding: 16px;}.fe-modal[hidden]{display: none !important;}.fe-modal-backdrop{position: absolute;inset: 0;background: rgba(15,23,42,0.45);}.fe-modal-box{position: relative;width: 100%;max-width: 420px;background: #F5F5FF;border: 1px solid #0B198C;box-shadow: 0 12px 40px rgba(0,0,0,.25);}.fe-modal-head{background: linear-gradient(180deg,#6B82A8 0%,#5C7099 100%);color: #fff;font: bold 11px tahoma,verdana,sans-serif;padding: 8px 12px;}.fe-modal-body{padding: 12px;}.fe-modal-foot{display: flex;justify-content: flex-end;gap: 6px;padding: 8px 12px 12px;}.fe-label-block{display: block;font-size: 11px;margin-bottom: 10px;color: #222;}.fe-input{display: block;width: 100%;margin-top: 4px;box-sizing: border-box;}.fe-tabs{display: flex;gap: 4px;margin-bottom: 10px;}.fe-tab{flex: 1;padding: 6px;border: 1px solid #869BBF;background: #E1E4F2;cursor: pointer;font-size: 11px;}.fe-tab.active{background: #5C7099;color: #fff;border-color: #3E5C92;}.fe-dropzone{display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 6px;padding: 24px 12px;border: 2px dashed #869BBF;background: #fff;cursor: pointer;text-align: center;font-size: 12px;color: #444;}.fe-dropzone:hover,.fe-dropzone.dragover{background: #E8EDF6;border-color: #3E5C92;}.fe-dropzone i{font-size: 28px;color: #5C7099;}.fe-dropzone small{color: #888;font-size: 10px;}.fe-primary{background: #3E5C92 !important;color: #fff !important;border: 1px solid #2B4B7C;}.fe-upload-status{margin-top: 6px;min-height: 1.2em;}.fe-file-visually-hidden{position: absolute !important;width: 1px !important;height: 1px !important;padding: 0 !important;margin: -1px !important;overflow: hidden !important;clip: rect(0,0,0,0) !important;white-space: nowrap !important;border: 0 !important;opacity: 0.01;}@media (max-width: 768px){.acp-forum-icon{width: 40px !important;height: 40px !important;overflow: hidden !important;}.acp-forum-icon .vb-ficon--portrait{position: static !important;width: 28px !important;height: 40px !important;left: auto !important;top: auto !important;bottom: auto !important;}img.w-\[84px\]{width: 48px !important;height: 72px !important;max-width: 48px;}}.forum-editor-fullscreen{position: fixed !important;inset: 0;z-index: 10140;border-radius: 0 !important;display: flex;flex-direction: column;}.forum-editor-fullscreen .wysiwyg-surface,.forum-editor-fullscreen .wysiwyg-source-visible{flex: 1;min-height: 0 !important;}