/* Scoped adapters for the existing functional Blade screens. Loaded after page styles. */
.tgram{--my-bg:var(--og-paper);--my-card:#fff;--my-border:var(--og-line);--my-border-soft:var(--og-line);--my-divider:var(--og-line);--my-text:var(--og-ink);--my-text-sub:var(--og-muted);--my-text-muted:var(--og-muted);--my-primary:var(--og-primary);--my-primary-hover:var(--og-primary-dark);--my-accent:var(--og-primary);--my-radius:16px}
.tgram .og-page-content>*{max-width:100%;min-width:0}
.tgram .og-page-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.tgram .og-page-content select,.tgram .og-page-content textarea{max-width:100%;border:1px solid var(--og-line);border-radius:8px;background:#fff;padding:10px 12px;min-height:42px}
.tgram .og-page-content input[type=checkbox],.tgram .og-page-content input[type=radio]{accent-color:var(--og-primary)}
.tgram .og-page-content img{max-width:100%}
.tgram .og-page-content iframe{max-width:100%}
.tgram .community-header{background:transparent;color:var(--og-ink);padding:0 0 19px}
.tgram .community-title{color:var(--og-ink);font-size:24px;font-weight:750;letter-spacing:-1px}
.tgram .community-title strong{color:var(--og-primary)}
.tgram .community-list{border:0;border-bottom:1px solid var(--og-line);margin-bottom:24px;overflow-x:auto}
.tgram .comm-list{gap:8px;min-width:max-content}
.tgram .comm-list li{border:0;flex:initial}
.tgram .comm-menu-item{padding:11px 18px;min-height:44px;border-radius:8px 8px 0 0;background:transparent;color:var(--og-muted);font-size:13px}
.tgram .comm-menu-item.active{background:var(--og-primary-soft);color:var(--og-primary)}
.tgram .board-box,.tgram .board-view-container,.tgram .board-write-container,.tgram .attendance-card,.tgram .attendance-topcard,.tgram .my-page-header,.tgram .faq-container,.tgram .ticket-container,.tgram .policy-container{border:1px solid var(--og-line);border-radius:16px;box-shadow:var(--og-shadow);overflow:hidden;background:white}
.tgram .board-table th{background:#f3f5f9;border-bottom:1px solid var(--og-line);color:var(--og-muted);font-size:12px;padding:15px 12px}
.tgram .board-table td{padding:17px 12px;border-bottom:1px solid var(--og-line)}
.tgram .board-subject{font-size:14px;font-weight:600}
.tgram .board-author,.tgram .board-date,.tgram .board-hit{color:var(--og-muted);font-size:12px}
.tgram .board-footer{background:#fff;border-top:1px solid var(--og-line);padding:20px}
.tgram .board-write-btn,.tgram .board-btn-primary,.tgram .att-btn-primary,.tgram .ticket-write-btn,.tgram .btn-submit{background:var(--og-primary);border-color:var(--og-primary);border-radius:8px;color:white}
.tgram .board-search-form{gap:7px}
.tgram .board-search-input,.tgram .board-search-select,.tgram .board-search-btn{border-radius:8px;border-color:var(--og-line);min-height:42px}
.tgram .board-search-btn{background:var(--og-primary);color:white}
.tgram .board-view-header{background:#f5f7f2;border-bottom:1px solid var(--og-line)}
.tgram .board-view-title{font-size:24px;color:var(--og-ink)}
.tgram .board-notice-badge{border-radius:4px;background:var(--og-primary-soft);color:var(--og-primary)}
.tgram .board-comment-section{border-top:1px solid var(--og-line)}
.tgram .pagination{display:flex;justify-content:center;gap:5px;margin-top:24px;flex-wrap:wrap}
.tgram .page-link{display:grid;place-items:center;min-width:36px;height:38px;padding:0 9px;border:1px solid var(--og-line);border-radius:7px;background:white;font-size:12px}
.tgram .page-item.active .page-link{background:var(--og-primary);border-color:var(--og-primary);color:white}
.tgram .page-item.disabled{opacity:.45;pointer-events:none}
.tgram .att-btn{min-height:44px;padding:10px 16px;border-radius:8px}
.tgram .auction-status{border-bottom:1px solid var(--og-line);padding:8px;gap:6px}
.tgram .auction-status a{border:0;border-radius:7px;background:transparent;color:var(--og-muted);min-height:44px}
.tgram .auction-status a.active{background:var(--og-primary-soft);color:var(--og-primary)}
.og-community-head{margin-bottom:22px}
.og-community-head h1{font-size:27px;letter-spacing:-1px;margin-top:5px}
.og-community-head p{font-size:12px;color:var(--og-muted);margin-top:6px}
.og-community-tabs{display:flex;gap:8px;padding-bottom:16px;margin-bottom:24px;border-bottom:1px solid var(--og-line);overflow-x:auto}
.og-community-tabs a{padding:10px 18px;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap;min-height:44px}
.og-community-tabs a.is-active{background:var(--og-primary);color:white}
.tgram .attendance-topcard-head,.tgram .attendance-card-head{background:#f3f5f9;color:var(--og-ink);border-color:var(--og-line);padding:18px 22px}
.tgram .attendance-topcard-head h1{font-size:22px;color:var(--og-ink)}
.tgram .att-streak-value{color:var(--og-primary)}
.tgram .attendance-calendar td{border-color:var(--og-line)}
.tgram .attendance-calendar .today{background:var(--og-primary-soft)}
.tgram .attendance-card{margin-top:20px}
.tgram .auction-card{border:1px solid var(--og-line);border-radius:12px;overflow:hidden;box-shadow:var(--og-shadow)}
.tgram .auction-card:hover{border-color:var(--og-primary)}
.tgram .auction-grid{gap:20px;padding:24px}
.tgram .auction-card .auction-title{font-size:16px}
.tgram .faq-header,.tgram .ticket-header,.tgram .policy-header{background:#f3f5f9;border-color:var(--og-line)}
.tgram .faq-title,.tgram .ticket-title,.tgram .policy-title{color:var(--og-ink);font-size:24px}
.tgram .faq-title::before,.tgram .ticket-title::before{background:var(--og-primary)}
.tgram .policy-body{padding:28px}
.tgram .policy-section{margin-bottom:28px}
.tgram .policy-section-title{font-size:17px;margin-bottom:12px}
.tgram .policy-section-content{font-size:14px;color:var(--og-muted);line-height:1.9}
.tgram .policy-list{padding-left:20px;list-style:decimal}
.tgram .policy-list li{margin:8px 0}
.tgram .tab-navigation{border-color:var(--og-line);border-radius:12px 12px 0 0}
.tgram .tab-button.active{color:var(--og-primary);border-bottom-color:var(--og-primary)}
.tgram .ladder-game-wrapper,.tgram .ladder-main,.tgram .betting-container,.tgram .betting-main{min-width:0;max-width:100%}
.tgram .ladder-header,.tgram .betting-header{background:var(--og-primary);border-radius:12px}
.tgram .og-page-content .flex{display:flex}.tgram .og-page-content .flex-col{flex-direction:column}.tgram .og-page-content .justify-between{justify-content:space-between}.tgram .og-page-content .items-center{align-items:center}.tgram .og-page-content .w-full{width:100%}.tgram .og-page-content .relative{position:relative}
@media(max-width:767px){
    .tgram .community-title{font-size:21px}
    .tgram .community-title strong{display:none}
    .tgram .comm-menu-item{font-size:12px;padding:10px 14px}
    .tgram .comm-menu-icon{display:none}
    .tgram .board-item-mobile{padding:16px;border-color:var(--og-line)}
    .tgram .board-subject-mobile{font-size:14px}
    .tgram .board-footer{padding:15px}
    .tgram .board-search{width:100%}
    .tgram .board-search-form{display:flex;flex-wrap:wrap;width:100%}
    .tgram .board-search-input-wrapper{flex:1;min-width:90px}
    .tgram .board-search-select-wrapper{min-width:100px}
    .tgram .board-search-input{width:100%}
    .tgram .board-view-title{font-size:20px}
    .tgram .attendance-checkin{flex-wrap:wrap;padding:16px;gap:16px}
    .tgram .attendance-checkin form{min-width:0;flex:1}
    .tgram .attendance-calendar{table-layout:fixed}
    .tgram .attendance-calendar td{height:53px;padding:5px;font-size:11px}
    .tgram .attendance-calendar th{font-size:11px}
    .tgram .attendance-topcard-head,.tgram .attendance-card-head{padding:16px}
    .tgram .auction-grid{grid-template-columns:minmax(0,1fr);padding:16px}
    .tgram .board-write-header,.tgram .board-write-form,.tgram .board-view-header{padding:18px}
    .tgram .policy-body{padding:20px}
    .tgram .policy-section-content{font-size:13px}
    .tgram .faq-title,.tgram .ticket-title,.tgram .policy-title{font-size:21px}
    .tgram .my-page-header{padding:19px}
    .tgram .my-page-title{font-size:21px}
    .tgram .page-link{min-width:32px;height:36px;padding:0 7px}
}

/* Larger, readable region and category controls. */
#og-filters .og-filter-heading h2{font-size:18px}
#og-filters .og-filter-label{font-size:16px;line-height:1.5}
#og-filters :is(.og-region-all,.og-region-options>a,.og-type-options a){font-size:16px;line-height:1.5;min-height:44px}
#og-filters .og-area-options a{font-size:15px;line-height:1.5;min-height:44px}
#og-filters .og-region-options>a{min-width:0;white-space:normal;overflow-wrap:anywhere}
#og-filters .og-filter-reset{font-size:14px}
#og-filters .og-nearby{font-size:14px!important;min-height:44px}
#og-filters .og-filter-mobile-done .og-button{font-size:16px}
.tgram .og-mobile-filter-bar button{font-size:15px}
