/* MASTER BRIEF V1 — only structural and functional corrections; base appearance from approved static HTML. */
:root{--container:1240px}
.wrap{max-width:1240px}
.layout{grid-template-columns:230px minmax(0,1fr) 230px;gap:18px}
.layout>*{min-width:0}
.maincol,.leftcol,.rightcol,.panel,.feed-item,.list-card{max-width:100%;min-width:0}
.feed-list{display:block !important}
.feed-list .feed-item{display:block;width:100%;overflow-wrap:anywhere;word-break:normal}
.feed-list .feed-item img,.asb-article-content img,.article-body img{max-width:100%;height:auto;object-fit:contain}
.feed-list .feed-item h3{font-size:16px;line-height:1.55;margin:0 0 10px}
.feed-list .feed-item p{overflow-wrap:anywhere;white-space:normal}
.feed-controls{display:flex !important;gap:7px;flex-wrap:wrap;align-items:center}
.feed-item .feed-thumb{display:block;max-width:100%;margin-top:12px;overflow:hidden;border-radius:8px}
.feed-item .feed-thumb img{display:block;width:100%;max-height:420px;object-fit:contain}
.feed-item .feed-thumb:after{display:none !important}
.asb-status-body{font-size:14px;line-height:1.72;color:var(--ink);overflow-wrap:anywhere}
.asb-status-body p{margin:8px 0 12px;white-space:pre-wrap}
.asb-status-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:8px;margin:12px 0}
.asb-status-media figure{margin:0;max-width:100%;background:#f3f4f3;overflow:hidden;border-radius:7px}
.asb-status-media img{width:100%;display:block;height:auto;max-height:460px;object-fit:contain}
.asb-video{background:#172726;border-radius:9px;padding:20px;margin:12px 0;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.asb-video-play{background:#ed7c33;color:white;border:0;border-radius:6px;padding:12px 20px;cursor:pointer;font-weight:600}
.asb-video-count{color:#d6e0dd;font-size:12px}
.asb-video-overlay{position:fixed;inset:0;z-index:300000;background:rgba(0,0,0,.83);display:flex;align-items:center;justify-content:center;padding:20px}
.asb-video-dialog{width:min(930px,100%);color:#fff}
.asb-video-close{display:block;margin:0 0 10px auto;cursor:pointer;background:transparent;color:#fff;font-size:27px;border:0}
.asb-video-frame{position:relative;aspect-ratio:16/9;background:#000;width:100%}
.asb-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.asb-video-caption{padding:12px 0;font-size:12px;color:#ddd}
/* Dedicated 9/12 + 3/12 directory; filter is real and lives only on the right. */
.layout.asb-directory{grid-template-columns:minmax(0,3fr) minmax(240px,1fr);align-items:start;gap:20px}
.asb-directory>.leftcol{display:none!important}
.asb-directory>.maincol{grid-column:1;min-width:0}
.asb-directory>.rightcol{grid-column:2;position:sticky;top:100px}
.asb-directory .item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.asb-directory .list-card h3{overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.list-card .picture img{width:100%;height:100%;object-fit:cover}
.list-card h3{overflow-wrap:anywhere}
.asb-filter-panel{padding:17px;box-shadow:var(--shadow)}
.asb-filter-panel h3{margin:0 0 16px;font-size:15px}
.asb-filter-panel form{display:grid;gap:8px}
.asb-filter-panel label{font-size:12px;font-weight:600;margin-top:5px}
.asb-filter-panel select,.asb-filter-panel input{width:100%;min-width:0;font-size:12px;border:1px solid var(--line);border-radius:6px;padding:10px;background:#fff;color:var(--ink)}
.asb-filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.asb-filter-actions .btn{font-size:12px;padding:10px 7px;justify-content:center;text-align:center}
.asb-filter-hint{font-size:11px;color:var(--muted);line-height:1.5;margin:16px 0 0}
.asb-pages{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:center;padding:20px 4px}
.asb-pages-info{font-size:11px;color:var(--muted);margin-right:8px}
.asb-pages .msn-page{display:inline-flex;padding:8px 11px;min-width:35px;justify-content:center;border:1px solid var(--line);border-radius:6px;text-decoration:none;font-size:12px;background:#fff;color:var(--ink)}
.asb-pages .msn-page.current{background:#e97432;color:#fff;border-color:#e97432}
/* Two real modes for logged-in WordPress users. */
.asb-compose-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 18px}
.asb-compose-modes button{border:1px solid var(--line);border-radius:7px;padding:11px;font:inherit;cursor:pointer;background:#fff}
.asb-compose-modes button.active{border-color:#e97432;color:#bc581e;background:#fff9f4;font-weight:600}
.asb-article-only[hidden]{display:none!important}
.asb-dropzone{padding:14px;border:1.5px dashed #b3c1b8;border-radius:8px;text-align:center;font-size:12px;line-height:1.7;color:#67766c;margin:10px 0}
.asb-dropzone.dragging{border-color:#e97432;background:#fff6f1}
.asb-dropzone button{color:#ad5627;background:none;border:0;text-decoration:underline;cursor:pointer}
.asb-image-preview{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.asb-image-preview .asb-image-tile{position:relative;width:100px;height:95px;background:#edf1ed;border-radius:8px;overflow:hidden}
.asb-image-preview img{width:100%;height:100%;object-fit:cover}
.asb-image-preview button{position:absolute;right:3px;top:3px;width:22px;height:22px;border:0;border-radius:50%;background:#1d1d1dbb;color:white;cursor:pointer}
.asb-video-preview{font-size:12px;line-height:1.5}
.asb-article-content{overflow-wrap:anywhere}
.asb-author{color:var(--muted);font-size:12px;margin:9px 0 18px}
.asb-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.asb-related{display:block;border:1px solid var(--line);padding:13px;border-radius:6px;overflow-wrap:anywhere;font-size:12px;line-height:1.5;text-decoration:none;color:var(--ink);background:#fff}
@media(max-width:1120px){.layout{grid-template-columns:190px minmax(0,1fr) 190px;gap:12px}.layout.asb-directory{grid-template-columns:minmax(0,1fr) 235px}}
@media(max-width:860px){.layout{grid-template-columns:185px minmax(0,1fr)}.layout:not(.asb-directory)>.rightcol{display:none}.layout.asb-directory{grid-template-columns:minmax(0,1fr) 220px}.asb-directory .item-grid{gap:10px}}
@media(max-width:680px){.layout,.layout.asb-directory{display:block!important}.layout>.leftcol{display:none!important}.layout>.maincol{width:100%}.layout.asb-directory>.rightcol{position:static;display:block!important;width:100%;margin:15px 0}.asb-directory .item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asb-filter-panel{padding:14px}.asb-filter-panel form{grid-template-columns:1fr 1fr;gap:6px 10px}.asb-filter-panel form label{align-self:end}.asb-filter-panel form input,.asb-filter-panel form select{grid-column:1/-1}.asb-filter-actions{grid-column:1/-1}.feed-list .feed-item{padding:14px 10px}.asb-related-grid{grid-template-columns:1fr}.asb-video{padding:14px}}

/* V3 · ReviewCongTy V9 composer interaction, ALOSCORE original HTML design DNA. */
.asb-modal-open{overflow:hidden}
#composeModal .modal{width:min(730px,calc(100vw - 24px));max-width:730px;max-height:min(92vh,940px);overflow:auto;box-shadow:0 30px 90px #0d223338}
#composeModal .modal-header{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid #e5eaf0;padding:16px 22px}
#composeModal .modal-body{padding:19px 22px 22px;display:flex;flex-direction:column;gap:12px}
.asb-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}
.asb-compose-header{margin-bottom:1px}
.asb-compose-author{display:flex;align-items:center;gap:10px}
.asb-compose-author>span{display:flex;flex-direction:column;gap:2px}
.asb-compose-author strong{font-size:14px;color:#173447}
.asb-compose-author small{font-size:12px;color:#8291a0}
.asb-modal-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 42px}
.asb-avatar-fallback{display:grid;place-items:center;color:#b94f1d;background:#fdf1e8;font-weight:600}
#composeModal .asb-compose-modes{display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid #e6ebef;margin:0 -2px 5px}
#composeModal .asb-compose-modes button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#607181;font-size:14px;padding:14px 10px;min-width:0}
#composeModal .asb-compose-modes button.active{color:#de681e;border-color:#ed792e;background:transparent}
#composeModal .asb-status-editor{width:100%;min-height:140px;resize:vertical;padding:15px;font-size:14px;line-height:1.75;color:#193443;background:#fafbfc;border:1px solid #e1e7ed;border-radius:9px;outline:0;overflow-wrap:anywhere}
#composeModal .asb-status-editor:focus{border-color:#f0a573;box-shadow:0 0 0 3px #fbd6bd50;background:#fff}
#composeModal .asb-article-only{display:flex;flex-direction:column;gap:12px}
#composeModal .asb-rich-wrap{border:1px solid #dde5eb;border-radius:9px;overflow:hidden;background:#fff}
.asb-rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:3px;padding:8px;background:#f7f9fb;border-bottom:1px solid #e5eaf0}
.asb-rich-toolbar button{padding:7px 9px;min-width:32px;border:1px solid transparent;background:#fff;border-radius:5px;font-size:12px;color:#314253;cursor:pointer}
.asb-rich-toolbar button:hover,.asb-rich-toolbar button:focus-visible{border-color:#eda46c;background:#fff5ed}
.asb-rich-editor{padding:17px;min-height:235px;max-height:440px;overflow-y:auto;font-size:14px;line-height:1.8;color:#193443;outline:0;overflow-wrap:anywhere}
.asb-rich-editor:empty:before{content:attr(data-placeholder);color:#929fa9;pointer-events:none}
.asb-rich-editor h2,.asb-rich-editor h3{font-weight:600;margin:13px 0 8px}
.asb-rich-editor h2{font-size:21px}.asb-rich-editor h3{font-size:18px}
#composeModal .field{display:flex;flex-direction:column;gap:6px}
#composeModal .field b{font-weight:600;font-size:13px}
#composeModal .field .input{width:100%;min-width:0}
.asb-media-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 1px;color:#8b98a3;font-size:12px;line-height:1.5}
.asb-media-tools .asb-add-image{border:1px solid #e6e9ec;background:white;border-radius:7px;color:#d76a24;padding:9px 13px;cursor:pointer;flex:none;font-size:12px;font-weight:600}
.asb-media-tools .asb-add-image:hover{background:#fff6ef;border-color:#eeb98f}
#composeModal .asb-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:100px;background:#fbfcfd;border:1.5px dashed #b9cbd6;border-radius:9px;color:#4b6574;padding:16px;line-height:1.55;cursor:pointer;margin:0}
#composeModal .asb-dropzone strong{font-size:13px;font-weight:600}
#composeModal .asb-dropzone small{font-size:11px;color:#8797a3}
#composeModal .asb-dropzone.dragging{border-color:#ea7b2c;background:#fff6ef}
#composeModal .asb-dropzone.asb-has-files{min-height:62px}
#composeModal .asb-image-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0}
#composeModal .asb-image-preview:empty,#composeModal .asb-video-preview:empty{display:none}
#composeModal .asb-image-tile{width:auto;height:auto;aspect-ratio:1;min-width:0;border:1px solid #e2e8ed}
#composeModal .asb-image-tile button{width:28px;height:28px;font-size:20px}
.asb-video-preview-card{display:grid;grid-template-columns:minmax(90px,130px) minmax(0,1fr);align-items:center;gap:13px;border:1px solid #e1e7ec;background:#f8fafb;padding:10px;border-radius:8px}
.asb-video-preview-card>img,.asb-video-placeholder{height:80px;width:100%;object-fit:cover;border-radius:5px;background:#112b3c;color:white;display:grid;place-items:center;font-size:12px}
.asb-video-preview-card>div{min-width:0;display:flex;flex-direction:column;gap:6px}
.asb-video-preview-card strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.asb-video-preview-card small{color:#617482;font-size:11px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.asb-video-preview-card a{font-size:11px;color:#d06421;text-decoration:none;font-weight:600}
.asb-form-message{margin:0;color:#a93b21;font-size:12px;min-height:1px}
.asb-compose-submit{display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid #e8ebef;padding-top:14px}
.asb-compose-submit button{min-width:110px;font-weight:600}
.asb-compose-submit button:disabled{opacity:.65;cursor:wait}
/* Keep all original home sections; render real content inside same visual skeleton. */
.asb-feature-empty{grid-column:1/-1;border:1px dashed #d8e1e7;background:#fbfcfe;padding:28px 18px;text-align:center;border-radius:8px;display:grid;gap:5px;justify-items:center}
.asb-feature-empty strong{font-size:14px;color:#344b5c}.asb-feature-empty p{margin:0;font-size:12px;color:#7e8b96;line-height:1.6}
.match-widget .asb-sports-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.match-widget .asb-score-empty-title{font-size:18px;line-height:1.4;font-weight:600;margin:10px 0}
.match-widget .asb-live-label{font-size:10px;color:#baf1d2}
.match-widget .asb-score-link{display:inline-block;margin-top:10px;color:#fbb979;font-size:12px;font-weight:600;text-decoration:none}
/* Matching V9: true comments expanded in the feed instead of an empty detour. */
.asb-inline-comments{background:#fbfcfd;border-top:1px solid #edf0f2;padding:15px;margin:8px -2px -1px;border-radius:0 0 7px 7px}
.asb-inline-comments[hidden]{display:none!important}
.asb-inline-comments-list{display:grid;gap:9px;margin-bottom:10px;color:#667682;font-size:12px}
.asb-comment{background:#f1f4f6;padding:10px 12px;border-radius:8px}
.asb-comment b{color:#203b4a;font-weight:600}
.asb-comment time{color:#9aa7b0;font-size:11px}
.asb-comment p{margin:4px 0 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.asb-comments-empty{margin:0;font-size:12px}
.asb-inline-comments form{display:flex;align-items:flex-end;gap:8px}
.asb-inline-comments textarea{flex:1;resize:vertical;border:1px solid #d9e3eb;background:#fff;border-radius:7px;padding:10px;font-size:12px;min-width:0}
.asb-inline-comments form .btn{flex:none}
.asb-feed-two{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.asb-feed-two .feed-item{min-width:0}
.asb-feed-two .feed-meta b{font-size:12px}
.asb-feed-text .feed-thumb,.asb-feed-text .asb-status-media,.asb-feed-text .asb-video{display:none!important}
.asb-special-item{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line);padding:12px 2px}
.asb-special-item span{font-size:11px;color:var(--muted)}
@media(max-width:760px){#composeModal .modal{max-height:94vh}#composeModal .modal-header{padding:13px 15px}#composeModal .modal-body{padding:14px;gap:10px}#composeModal .asb-image-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.asb-feed-two{grid-template-columns:1fr}.asb-inline-comments form{flex-direction:column;align-items:stretch}.asb-inline-comments form .btn{align-self:flex-end}.asb-video-preview-card{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:420px){.asb-video-preview-card{grid-template-columns:92px minmax(0,1fr)}.asb-video-preview-card>img,.asb-video-placeholder{height:72px}#composeModal .asb-image-preview{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* V9-inspired video card: player poster belongs to video media, not the article featured thumbnail. */
.feed-item .asb-video{display:block;padding:0;margin:14px 0;border-radius:10px;overflow:hidden;background:#142f42;color:#fff}
.feed-item .asb-video-play{display:block;position:relative;width:100%;min-height:175px;aspect-ratio:16 / 9;border:0;border-radius:0;background:linear-gradient(130deg,#122b40,#25506a);color:#fff;padding:0;text-align:center;cursor:pointer;overflow:hidden}
.feed-item .asb-video-play img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0;filter:brightness(.68)}
.feed-item .asb-video-play .asb-video-play-glyph{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:61px;height:61px;border-radius:50%;background:#f37827;color:#fff;font-size:24px;box-shadow:0 5px 28px #0005}
.feed-item .asb-video-play .asb-video-play-title{position:absolute;left:14px;right:14px;bottom:15px;text-align:left;font-size:13px;font-weight:600;text-shadow:0 1px 5px #0009}
.feed-item .asb-video-count{display:block;padding:10px 14px;font-size:12px;color:#c4d8e2}

.asb-related-listings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.asb-related-grid .asb-related{display:flex;flex-direction:column;gap:7px;min-width:0}
.asb-related-grid .asb-related strong{font-weight:600;font-size:13px}
.asb-related-grid .asb-related span{font-size:11px;color:#82909b;line-height:1.6}
.asb-sourcebox a{display:inline-block;margin-top:8px;color:#d87332;text-decoration:none;font-weight:600;font-size:12px}
.asb-compose-submit{position:sticky;bottom:-22px;z-index:3;background:#fff;padding-bottom:5px}
@media(max-width:680px){.asb-related-listings{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.asb-related-listings .list-card h3{font-size:12px}}

.asb-featured-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #dfe6ec;border-radius:7px;padding:7px 10px}
.asb-featured-picker button{border:1px solid #e2e7eb;background:#f9fafb;color:#355264;font-size:12px;border-radius:5px;padding:8px 11px;cursor:pointer}
.asb-featured-picker button:hover{background:#fff2e8;color:#d97022}
.asb-featured-picker small{color:#8795a1;font-size:11px;min-width:0;overflow-wrap:anywhere}
