/* Scoped restoration of the original member-page surfaces. */
html body .cb-site .team-titlebar .team-quick-actions > :is(a,button){display:flex!important;align-items:center!important;gap:5px!important;font:700 11px/16px var(--ref-font,"Lucida Grande",Tahoma,Helvetica,Arial,sans-serif)!important;background:none!important;border:0!important;padding:0!important;margin:0 0 2px!important;text-decoration:none!important;color:#00baff!important;box-shadow:none!important}
html body .cb-site .team-titlebar .team-quick-actions > :is(a,button) strong{font:inherit!important;text-decoration:underline!important}
html body .cb-site .team-titlebar .team-quick-actions > :is(a,button) img{flex:none!important;text-decoration:none!important}
html body .cb-site .team-profile-copy .team-warning-line{display:block!important;margin:3px 0 12px!important}
html body .cb-site .team-profile-copy .profile-achievement-strip{margin:8px 0!important}
html body .cb-site .team-profile-copy .profile-achievement-strip>b{display:block!important;margin-bottom:5px!important}
html body .cb-site .team-profile-copy .profile-achievement-strip>div{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important}
/* The management-staff frame: blue five-pixel surround, charcoal image-backed interior. */
html body .cb-site .site-page:not(.admin-page) .legacy-panel{padding:5px!important;border:1px solid #315892!important;background:#2b5b80 var(--cb-asset-38afc2d23018,url('/classic/assets/box_bg-8603d44602e0.png')) repeat-x!important}
html body .cb-site .site-page:not(.admin-page) .legacy-panel-body{background:#2a3035 var(--cb-asset-65b0b746632d,url('/classic/assets/box_content_bg-a0fe3cdd3750.png')) repeat-x!important;border:1px solid #3777a8!important}
html body .cb-site .site-page:not(.admin-page) .legacy-panel-head{background:#000 var(--cb-asset-79064e5363fb,url('/classic/assets/list_header_bg-13ab9892ac55.gif')) repeat-x!important;color:#eee!important}
html body .cb-site .site-page:not(.admin-page) :is(.cms-public-heading,.help-title,.tournament-directory-heading,.competition-tournaments-heading){border:1px solid #3777a8!important;outline:5px solid #2b5b80!important;background:#2a3035 var(--cb-asset-65b0b746632d,url('/classic/assets/box_content_bg-a0fe3cdd3750.png')) repeat-x!important;padding:10px!important;margin:5px 5px 13px!important;box-shadow:0 0 0 6px #315892!important}
html body .cb-site .cms-public-heading h1{font-size:20px!important;line-height:25px!important}
/* Member profiles use the same frames across overview and all tabs. */
html body .cb-site .profile-reference-page .profile-reference-grid{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important;gap:8px!important}
html body .cb-site .profile-reference-page .profile-reference-lower{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:8px!important}
html body .cb-site .profile-reference-page :is(.profile-banner,.profile-info-frame,.profile-photo-column){background:#2a3035 var(--cb-asset-65b0b746632d,url('/classic/assets/box_content_bg-a0fe3cdd3750.png')) repeat-x!important;border:1px solid #3777a8!important}
html body .cb-site .profile-reference-page .profile-about-top{height:auto!important;min-height:166px!important;grid-template-columns:150px minmax(0,1fr)!important;align-items:stretch!important}
html body .cb-site .profile-reference-page .profile-info-frame{display:grid!important;grid-template-columns:1fr!important;align-content:start!important;gap:8px!important;min-width:0!important}
html body .cb-site .profile-reference-page .profile-identities{position:static!important;order:-1!important;justify-self:end!important;max-width:250px!important;width:100%!important}
html body .cb-site .profile-reference-page .profile-photo-column{align-self:start!important;padding:5px!important}
html body .cb-site .profile-reference-page .profile-facts{width:auto!important;min-width:0!important}
html body .cb-site .profile-reference-page .profile-facts p{margin:0!important;line-height:14px!important}
html body .cb-site .profile-reference-page .profile-achievement-strip{margin:12px 0 3px!important}
html body .cb-site .profile-reference-page .profile-public-friends{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px 6px!important}
html body .cb-site .profile-reference-page .profile-public-friends>a{width:auto!important;min-width:0!important;font-size:11px!important;grid-template-rows:52px auto!important}
html body .cb-site .profile-reference-page .profile-photo-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
html body .cb-site .profile-reference-page .profile-photo-grid figure{padding:4px!important;background:transparent!important;border:1px solid #999!important}
html body .cb-site .profile-reference-page .profile-photo-grid img{height:64px!important;object-fit:cover!important}
html body .cb-site .profile-reference-page .profile-comment{border-bottom:1px dotted #777!important;padding:10px 4px!important;gap:10px!important}
html body .cb-site .profile-reference-page .profile-comment-avatar{width:64px!important;height:64px!important;flex:0 0 64px!important}
html body .cb-site .profile-reference-page .profile-team{border-bottom:1px dotted #777!important;padding:7px 0!important}
html body .cb-site .profile-reference-page .profile-team-heading{font-size:11px!important;text-align:center!important;border-block:1px solid #3777a8!important;padding:7px!important;margin:0 0 8px!important}
/* Support: one heading and compact toolbar above a charcoal request table. */
html body .cb-site .cb-member-support.support-v3 .support-reference-header{padding:5px!important;border:1px solid #315892!important;background:#2b5b80!important;margin:0 0 8px!important}
html body .cb-site .cb-member-support.support-v3 .support-page-title{outline:0!important;box-shadow:none!important;margin:0!important;padding:8px!important;background:#2a3035 var(--cb-asset-65b0b746632d,url('/classic/assets/box_content_bg-a0fe3cdd3750.png')) repeat-x!important;border:1px solid #3777a8!important}
html body .cb-site .cb-member-support.support-v3 .support-page-title h1{font:bold 20px/25px "Lucida Grande",Tahoma,Helvetica,Arial,sans-serif!important}
html body .cb-site .cb-member-support.support-v3 .member-support-nav{margin:0!important;padding:6px!important;border:1px solid #3777a8!important;border-top:0!important;background:#2a3035!important;gap:0!important;min-height:0!important;height:auto!important}
html body .cb-site .cb-member-support.support-v3 .member-support-nav a{display:inline-block!important;height:auto!important;min-height:0!important;padding:2px 12px!important;border:0!important;border-right:1px solid #52626b!important;background:none!important;box-shadow:none!important;color:#00baff!important;font:bold 11px/18px "Lucida Grande",Tahoma,Helvetica,Arial,sans-serif!important;text-decoration:underline!important}
html body .cb-site .cb-member-support.support-v3 .member-support-nav a[aria-current=page]{color:#fff!important;text-decoration:none!important}
html body .cb-site .cb-member-support.support-v3 .member-support-nav:after{display:none!important}
html body .cb-site .cb-member-support.support-v3 .member-support-history{padding:5px!important;margin:0!important;background:#2b5b80!important;border:1px solid #315892!important}
html body .cb-site .cb-member-support.support-v3 .member-inbox-heading{background:linear-gradient(#092333,#000)!important;border:1px solid #3777a8!important;padding:3px 8px!important;margin:0 0 5px!important;text-align:center!important}
html body .cb-site .cb-member-support.support-v3 .member-inbox-heading h3{font:bold 11px/18px "Lucida Grande",Tahoma,Helvetica,Arial,sans-serif!important;text-transform:uppercase!important;margin:0!important;color:#fff!important}
html body .cb-site .cb-member-support.support-v3 .member-support-filters{padding:5px 8px!important;margin:0!important;background:#292929!important;border:1px solid #3777a8!important;border-bottom:0!important;gap:5px!important}
html body .cb-site .cb-member-support.support-v3 .member-support-filters button{font:bold 11px/18px "Lucida Grande",Tahoma,Helvetica,Arial,sans-serif!important;background:#222!important;color:#aaa!important;border:1px solid #555!important;border-radius:0!important;padding:3px 10px!important;min-height:0!important;box-shadow:none!important}
html body .cb-site .cb-member-support.support-v3 .member-support-filters button[aria-pressed=true]{color:#fff!important;background:#414141!important;border-color:#aaa!important}
html body .cb-site .cb-member-support.support-v3 :is(.member-support-search,.member-support-pagination,.member-support-caption){background:#2a3035!important;border-inline:1px solid #3777a8!important;padding:8px!important;margin:0!important;min-height:0!important}
html body .cb-site .cb-member-support.support-v3 .member-support-search{gap:8px!important}
html body .cb-site .cb-member-support.support-v3 .member-support-results{min-height:0!important;background:#282828!important;border:1px solid #3777a8!important;margin:0!important}
html body .cb-site .cb-member-support.support-v3 .member-support-empty{background:#282828!important;border:0!important;padding:25px 12px!important;min-height:0!important;margin:0!important}
html body .cb-site .cb-member-support.support-v3 .member-support-table :is(th,td){padding:7px 9px!important;font-size:11px!important}
html body .cb-site .cb-member-support.support-v3 .member-support-table th{background:linear-gradient(#202020,#000)!important;color:#eee!important}
html body .cb-site .cb-member-support.support-v3 .member-support-table td{background:#282828!important;border-bottom:1px solid #444!important;color:#ddd!important}
html body .cb-site .cb-member-support.support-v3 .member-support-table tr:nth-child(even) td{background:#333!important}
html body .cb-site .cb-member-support.support-v3 :is(.member-support-search,.member-support-pagination) button,html body .cb-site .cb-member-support.support-v3 .member-support-button{background:linear-gradient(#eee,#a8afb3)!important;color:#111!important;border:1px solid #697982!important;border-radius:0!important;box-shadow:none!important;font:bold 11px/18px "Lucida Grande",Tahoma,Helvetica,Arial,sans-serif!important;padding:3px 9px!important;min-height:0!important}
html body .cb-site .cb-member-support.support-v3 .member-support-caption{border-bottom:1px solid #3777a8!important;font-size:10px!important;color:#aaa!important}
/* Forum rows retain a compact title/starter stack and alternating charcoal rows. */
html body .cb-site .forums-page .forum-reference-list td{height:42px!important;padding:4px 6px!important;background:#252525!important;border:0!important}
html body .cb-site .forums-page .forum-reference-list tr:nth-child(even) td{background:#333!important}
html body .cb-site .forums-page .forum-reference-list td:first-child>div{display:block!important;margin-left:26px!important;line-height:14px!important}
html body .cb-site .forums-page .forum-reference-list .thread-icon{float:left!important;margin:5px 6px 0 0!important}
html body .cb-site .forums-page .forum-reference-list .thread-starter{display:block!important;margin:0!important;line-height:14px!important}
html body .cb-site .forums-page .forum-reference-list .thread-starter a{color:#ddd!important;text-decoration:none!important}
html body .cb-site .forums-page .forum-display-options{background:#2a3035!important;border:1px solid #3777a8!important;padding:6px!important}
html body .cb-site .forums-page .forum-display-options h3{background:linear-gradient(#0b2638,#000)!important;color:#eee!important;border:1px solid #315892!important;padding:3px 6px!important}
/* Staff workspaces: bounded records, dense rows and clearly separated controls. */
html body .cb-site .admin-page.admin-v3.admin-v3 .account-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:10px!important;align-items:start!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .account-detail-grid>:is(.record-v3-card,.admin-mini-list){padding:10px!important;margin:0!important;min-height:0!important;max-height:250px!important;overflow:auto!important;align-self:start!important;border-radius:2px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .account-detail-grid :is(h4,h3){margin:0 0 7px!important;font-size:12px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .account-detail-grid .record-v3-list-row{padding:5px 0!important;margin:0!important;min-height:0!important;gap:12px!important;font-size:12px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .account-detail-grid .admin-mini-list li{padding:5px 0!important;margin:0!important;min-height:0!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .account-detail-grid .account-team-membership{display:flex!important;align-items:center!important;gap:10px!important;padding:0!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .account-team-membership img{width:32px!important;height:32px!important;flex:none!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .account-team-membership small{display:block!important;margin-top:2px!important;line-height:15px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 :is(.record-v3-header,.case-v3-header){padding:10px 0!important;margin:0 0 10px!important;gap:10px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 :is(.record-v3-header,.case-v3-header) h2{font-size:20px!important;margin:0!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-layout{grid-template-columns:minmax(0,1fr) 250px!important;align-items:start!important;gap:10px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-content{padding:10px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-content h3{font-size:13px!important;margin:8px 0!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-participants{margin:6px 0!important;gap:6px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-participants article{padding:6px 8px!important;min-height:0!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-roster :is(th,td){padding:5px 7px!important;font-size:12px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-aside>section{padding:10px!important;margin:0!important;border-radius:2px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-aside :is(h3,p){margin:0 0 6px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-form{max-width:none!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-form>label{margin:0 0 9px!important;gap:4px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-form>p{margin:0 0 10px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-form-footer{margin-top:10px!important;padding-top:10px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-review-table td{vertical-align:top!important;padding:6px 8px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-review-table small{display:block!important;color:#aabac5!important;font-size:10px!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-review-table td:nth-child(3){white-space:nowrap!important;font-size:16px!important;font-weight:700!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 #admin-workspace-content{max-width:1250px!important;padding:14px 18px!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 :is(.data-filters,.data-explorer-controls){padding:8px!important;gap:8px!important;margin:0 0 8px!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-filters{grid-template-columns:170px 150px 150px minmax(100px,1fr) auto!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-context{padding:0!important;margin:8px 0!important;font-size:11px!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-explorer{background:#172a37!important;border:1px solid #36566b!important;border-radius:3px!important;padding:10px!important;max-width:none!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-result-head h3{font-size:16px!important;margin:4px 0!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-table-scroll{max-height:calc(100vh - 440px)!important;min-height:90px!important;overflow:auto!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-explorer>p:first-child{display:none!important}
html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-footnote{margin:10px 0 0!important;padding:8px 0!important;font-size:10px!important}
@media(min-width:1100px){html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-main{max-height:calc(100vh - 195px)!important;overflow:auto!important}html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-aside{max-height:calc(100vh - 195px)!important;overflow:auto!important}}
@media(max-width:760px){html body .cb-site .profile-reference-page .profile-reference-grid,html body .cb-site .profile-reference-page .profile-reference-lower,html body .cb-site .admin-page.admin-v3.admin-v3 .account-detail-grid,html body .cb-site .admin-page.admin-v3.admin-v3 .case-v3-layout{grid-template-columns:1fr!important}html body .cb-site .profile-reference-page .profile-public-friends{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-filters{grid-template-columns:1fr 1fr!important}html body .cb-site.data-workspace .admin-page.admin-v3.admin-v3 .data-table-scroll{max-height:400px!important}}
html body .cb-site.data-workspace .data-audience-summary{display:flex;gap:10px;margin:8px 0;flex-wrap:wrap}
html body .cb-site.data-workspace .data-audience-summary>span{flex:1;min-width:120px;padding:8px 12px;background:#172a37;border:1px solid #36566b;font-size:11px;color:#b9c8d0}
html body .cb-site.data-workspace .data-audience-summary b{display:block;font-size:22px;color:#fff;margin-top:3px}
html body .cb-site .cms-public-heading{display:flex!important;align-items:center!important;gap:12px!important}
html body .cb-site .cms-public-heading>.page-brand-logo{width:64px!important;height:64px!important;object-fit:contain!important;flex:none!important}
html body .cb-site .tournaments-page .classic-tournament-directory{padding:5px!important;border:1px solid #315892!important;background:#2b5b80!important}
html body .cb-site .tournaments-page .competition-card-grid{padding:5px!important;background:#2a3035!important;border:1px solid #3777a8!important}
html body .cb-site .tournaments-page .tourney-filter{background:#2a3035!important;border:1px solid #3777a8!important;padding:8px!important;margin:0 0 5px!important}
html body .cb-site .profile-reference-page .profile-info-frame{grid-template-columns:minmax(120px,1fr) minmax(0,250px)!important;align-items:start!important}
html body .cb-site .profile-reference-page .profile-identities{order:0!important}
html body .cb-site .profile-reference-page .profile-info-frame>.profile-achievement-strip{grid-column:1/-1!important;margin:5px 0!important}
@media(max-width:600px){html body .cb-site .profile-reference-page .profile-info-frame{grid-template-columns:1fr!important}html body .cb-site .profile-reference-page .profile-identities{justify-self:start!important}}

/* Stretch the information frame to the shared profile row, keeping a 5px inset. */
html body .cb-site .profile-reference-page .profile-reference-grid>section:first-child{display:grid!important;grid-template-rows:auto minmax(166px,1fr)!important;align-content:stretch!important;min-width:0!important}
html body .cb-site .profile-reference-page .profile-about-top{min-width:0!important;align-self:stretch!important}
html body .cb-site .profile-reference-page .profile-info-frame{align-self:stretch!important;box-sizing:border-box!important;margin-bottom:0!important}
html body .cb-site .profile-reference-page .profile-reference-grid>.legacy-panel{display:flex!important;flex-direction:column!important;height:auto!important}
html body .cb-site .profile-reference-page .profile-reference-grid>.legacy-panel>.legacy-panel-body{flex:1!important;height:auto!important}
