/* Community → Clubs (public/clubs.js): a chess.com-style Browse Clubs page and club pages, drawn inside the steady
   Community frame. Loaded after community-frame.css, whose generic #clubsContent rules these override. */
html body #messagesView #clubsContent .cb{--cb-gold:#d7b45a;--cb-gold-2:#f3d68a;--cb-ink:#e8efe9;--cb-muted:#a9bdb4;--cb-line:rgba(215,180,90,.28);--cb-soft-line:rgba(215,180,90,.14);--cb-panel:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012)),rgba(9,32,34,.82);--cb-green:#8ff0bd;color:var(--cb-ink);font:500 15px/1.45 system-ui,'Noto Sans KR',sans-serif;min-width:0}
html body #messagesView #clubsContent .cb [hidden]{display:none!important}
html body #messagesView #clubsContent .cb :is(h2,h3,p,ol,ul,dl,dd){margin:0}
html body #messagesView #clubsContent .cb .cb-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html body #messagesView #clubsContent .cb :is(p,small,span,li,dd,dt,strong){font-size:inherit;line-height:inherit;color:inherit}
html body #messagesView #clubsContent .cb .cb-muted{color:var(--cb-muted)!important;font-size:14px!important}

/* Buttons: the frame's look, sized for this page. */
html body #messagesView #clubsContent .cb button{min-height:40px!important;padding:8px 16px!important;gap:8px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px!important;font:700 14px/1.2 system-ui,'Noto Sans KR',sans-serif!important;white-space:nowrap}
html body #messagesView #clubsContent .cb button[data-busy]{cursor:progress;opacity:.85}
html body #messagesView #clubsContent .cb .cb-back{min-height:36px!important;padding:6px 4px!important;border:0!important;background:none!important;color:var(--cb-gold-2)!important;margin:0 0 6px!important}
html body #messagesView #clubsContent .cb .cb-text-btn{min-height:28px!important;padding:2px 8px!important;border:0!important;background:none!important;color:var(--cb-muted)!important;font-size:12.5px!important}
@media (hover:hover){html body #messagesView #clubsContent .cb .cb-text-btn:hover{color:var(--cb-gold-2)!important}html body #messagesView #clubsContent .cb .cb-back:hover{text-decoration:underline}}
html body #messagesView #clubsContent .cb .cb-link{color:var(--cb-gold-2);font-weight:800;text-decoration:none}
html body #messagesView #clubsContent .cb .cb-link:hover{text-decoration:underline}

/* ---------- Browse ---------- */
html body #messagesView #clubsContent .cb[data-view=browse]{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
html body #messagesView #clubsContent .cb .cb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px}
html body #messagesView #clubsContent .cb .cb-title h2{font:700 30px/1.1 Georgia,'Noto Serif KR',serif!important;color:var(--cb-gold-2)!important;margin:0 0 6px!important}
html body #messagesView #clubsContent .cb .cb-title p{color:var(--cb-muted)!important;font-size:14.5px!important;max-width:62ch}
html body #messagesView #clubsContent .cb .cb-create-top{display:none!important}
html body #messagesView #clubsContent .cb .cb-notice{margin:0 0 12px!important;padding:10px 14px;border:1px solid rgba(47,210,126,.38);border-radius:12px;background:rgba(47,210,126,.1);color:#c9f5dd!important;font-size:14px!important}
html body #messagesView #clubsContent .cb label.cb-search{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:0 14px;height:50px;border:1px solid var(--cb-line);border-radius:14px;background:rgba(5,20,22,.72);color:var(--cb-muted)!important;text-transform:none!important;letter-spacing:0!important;font:inherit!important}
html body #messagesView #clubsContent .cb label.cb-search:focus-within{border-color:#f3d98f;box-shadow:0 0 0 4px rgba(215,180,90,.2)}
html body #messagesView #clubsContent .cb label.cb-search input{flex:1;min-width:0;height:48px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#fff8e6!important;font:500 15.5px system-ui,'Noto Sans KR',sans-serif!important}
html body #messagesView #clubsContent .cb .cb-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
html body #messagesView #clubsContent .cb .cb-chip{min-height:36px!important;padding:6px 14px!important;border-radius:999px!important;border:1px solid var(--cb-line)!important;background:rgba(9,30,32,.6)!important;color:var(--cb-ink)!important;font:650 13.5px/1.2 system-ui,'Noto Sans KR',sans-serif!important}
html body #messagesView #clubsContent .cb .cb-chip[aria-pressed=true]{border-color:transparent!important;background:linear-gradient(180deg,#f0d483,#c99a3c)!important;color:#1d1608!important}
html body #messagesView #clubsContent .cb .cb-count{margin:8px 2px 8px!important;color:var(--cb-muted)!important;font-size:13px!important}
html body #messagesView #clubsContent .cb .cb-list{list-style:none;margin:0;padding:0;border:1px solid var(--cb-line);border-radius:18px;overflow:hidden;background:var(--cb-panel);box-shadow:0 10px 26px rgba(0,0,0,.2)}
html body #messagesView #clubsContent .cb .cb-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 16px;border-top:1px solid var(--cb-soft-line)}
html body #messagesView #clubsContent .cb .cb-row:first-child{border-top:0}
@media (hover:hover){html body #messagesView #clubsContent .cb .cb-row:hover{background:rgba(255,255,255,.035)}}
html body #messagesView #clubsContent .cb .cb-row-main{display:grid!important;grid-template-columns:56px minmax(0,1fr);gap:14px;align-items:center;justify-content:stretch!important;width:100%!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:inherit!important;text-align:left;white-space:normal!important;font:inherit!important;filter:none!important}
html body #messagesView #clubsContent .cb button.cb-row-main{cursor:pointer}
html body #messagesView #clubsContent .cb .cb-row-text{display:grid;gap:2px;min-width:0}
html body #messagesView #clubsContent .cb .cb-row-name{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}
html body #messagesView #clubsContent .cb .cb-row-title{font:700 17px/1.25 Georgia,'Noto Serif KR',serif;color:var(--cb-gold-2)!important;overflow-wrap:anywhere}
html body #messagesView #clubsContent .cb .cb-row-meta{color:var(--cb-muted)!important;font-size:13px!important}
html body #messagesView #clubsContent .cb .cb-row-desc{color:#cfdcd5!important;font-size:13.5px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
html body #messagesView #clubsContent .cb .cb-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
html body #messagesView #clubsContent .cb .cb-join{min-width:96px}
html body #messagesView #clubsContent .cb .cb-joined{border-color:rgba(47,210,126,.5)!important;color:var(--cb-green)!important;background:rgba(47,210,126,.08)!important}
html body #messagesView #clubsContent .cb .cb-official{display:inline-flex;align-items:center;gap:3px;padding:2px 8px 2px 6px;border-radius:999px;background:rgba(47,210,126,.14);color:var(--cb-green)!important;font:800 10.5px/1.4 system-ui,sans-serif!important;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
html body #messagesView #clubsContent .cb .cb-official .cb-icon{width:12px;height:12px;stroke-width:3}
html body #messagesView #clubsContent .cb .cb-founder-tag{display:inline-block;padding:2px 9px;border-radius:999px;background:rgba(215,180,90,.16);border:1px solid rgba(215,180,90,.35);color:var(--cb-gold-2)!important;font:750 11.5px/1.4 system-ui,'Noto Sans KR',sans-serif!important;white-space:nowrap}
html body #messagesView #clubsContent .cb .cb-more{display:flex!important;margin:14px auto 0!important}
html body #messagesView #clubsContent .cb .cb-empty{display:grid;gap:4px;padding:30px 20px;text-align:center}
html body #messagesView #clubsContent .cb .cb-empty strong{color:var(--cb-gold-2)!important;font:700 18px Georgia,'Noto Serif KR',serif}

/* Emblems: flag colours with the country code (flag emoji do not draw on Windows), or an icon on the club colours. */
html body #messagesView #clubsContent .cb .cb-emblem{position:relative;display:grid;place-items:center;width:56px;height:56px;border-radius:14px;overflow:hidden;flex:none;background:linear-gradient(135deg,var(--cb-a,#1e5e4a) 0 34%,var(--cb-b,#d7b45a) 34% 67%,var(--cb-c,#1e5e4a) 67%);box-shadow:inset 0 0 0 2px rgba(255,255,255,.2),0 6px 14px rgba(0,0,0,.32)}
html body #messagesView #clubsContent .cb .cb-emblem::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(255,255,255,.28),rgba(255,255,255,0) 45%,rgba(0,0,0,.18))}
html body #messagesView #clubsContent .cb .cb-emblem-mark{position:relative;z-index:1}
html body #messagesView #clubsContent .cb .cb-emblem[data-kind=flag] .cb-emblem-mark{padding:2px 6px;border-radius:7px;background:rgba(6,18,18,.62);color:#fff!important;font:800 15px/1.2 system-ui,sans-serif!important;letter-spacing:.06em;box-shadow:0 0 0 1px rgba(255,255,255,.25)}
html body #messagesView #clubsContent .cb .cb-emblem[data-kind=icon]{background:radial-gradient(circle at 30% 22%,var(--cb-b,#d7b45a) 0,var(--cb-a,#1e5e4a) 72%)}
html body #messagesView #clubsContent .cb .cb-emblem[data-kind=icon] .cb-emblem-mark{color:#fff8e0!important;font:400 29px/1 'Segoe UI Symbol','Noto Sans Symbols 2','DejaVu Sans',serif!important;text-shadow:0 2px 6px rgba(0,0,0,.55)}
html body #messagesView #clubsContent .cb .cb-emblem[data-kind=player]{background:linear-gradient(135deg,#2c5b4c,#173b33);color:var(--cb-gold-2)!important;font:800 19px/1 Georgia,'Noto Serif KR',serif}
html body #messagesView #clubsContent .cb .cb-emblem-lg{width:88px;height:88px;border-radius:22px}
html body #messagesView #clubsContent .cb .cb-emblem-lg[data-kind=flag] .cb-emblem-mark{font-size:22px!important;padding:3px 9px}
html body #messagesView #clubsContent .cb .cb-emblem-lg[data-kind=icon] .cb-emblem-mark{font-size:44px!important}
html body #messagesView #clubsContent .cb .cb-emblem-lg[data-kind=player]{font-size:30px}

/* Sidebar. */
html body #messagesView #clubsContent .cb .cb-side{display:grid;gap:14px;position:sticky;top:12px;align-content:start;min-width:0}
html body #messagesView #clubsContent .cb .cb-create{width:100%!important;min-height:54px!important;font-size:16px!important;border-radius:14px!important}
html body #messagesView #clubsContent .cb .cb-box{padding:14px 14px 12px;border:1px solid var(--cb-line);border-radius:18px;background:var(--cb-panel)}
html body #messagesView #clubsContent .cb :is(.cb-box,.cb-card) h3{display:flex;align-items:center;gap:8px;margin:0 0 10px!important;font:700 17px/1.2 Georgia,'Noto Serif KR',serif!important;color:var(--cb-gold-2)!important}
html body #messagesView #clubsContent .cb .cb-mini{display:grid!important;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;justify-content:stretch!important;width:100%!important;min-height:0!important;padding:6px!important;border:0!important;border-radius:12px!important;background:none!important;box-shadow:none!important;text-align:left;white-space:normal!important}
@media (hover:hover){html body #messagesView #clubsContent .cb .cb-mini:hover{background:rgba(255,255,255,.05)!important}}
html body #messagesView #clubsContent .cb .cb-mini .cb-emblem{width:40px;height:40px;border-radius:11px}
html body #messagesView #clubsContent .cb .cb-mini .cb-emblem[data-kind=flag] .cb-emblem-mark{font-size:11.5px!important;padding:1px 4px;border-radius:5px}
html body #messagesView #clubsContent .cb .cb-mini .cb-emblem[data-kind=icon] .cb-emblem-mark{font-size:21px!important}
html body #messagesView #clubsContent .cb .cb-mini-text{display:grid;min-width:0}
html body #messagesView #clubsContent .cb .cb-mini-text strong{color:var(--cb-ink)!important;font:650 14px/1.3 system-ui,'Noto Sans KR',sans-serif!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #messagesView #clubsContent .cb .cb-mini-text small{color:var(--cb-muted)!important;font-size:12.5px!important}
html body #messagesView #clubsContent .cb .cb-how{margin:0;padding:0 0 0 18px;display:grid;gap:7px;color:#cfdcd5!important;font-size:13.5px!important}
html body #messagesView #clubsContent .cb .cb-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}

/* ---------- Club page ---------- */
html body #messagesView #clubsContent .cb .cb-banner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;margin:4px 0 14px;padding:22px 24px;border:1px solid var(--cb-line);border-radius:22px;background:linear-gradient(115deg,color-mix(in srgb,var(--cb-b,#1f4a3f) 34%,#0b2422) 0%,#0d2a28 55%,color-mix(in srgb,var(--cb-c,#1f4a3f) 26%,#0b2422) 100%);box-shadow:0 14px 34px rgba(0,0,0,.28)}
html body #messagesView #clubsContent .cb .cb-banner-text{display:grid;gap:4px;min-width:0}
html body #messagesView #clubsContent .cb .cb-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#d6e2dc!important;font-size:13px!important}
html body #messagesView #clubsContent .cb .cb-banner h2{font:700 32px/1.1 Georgia,'Noto Serif KR',serif!important;color:#fff3d6!important;overflow-wrap:anywhere;text-shadow:0 2px 10px rgba(0,0,0,.4)}
html body #messagesView #clubsContent .cb .cb-banner-meta{color:#cfe0d8!important;font-size:14px!important}
html body #messagesView #clubsContent .cb .cb-banner-desc{color:#e3ece7!important;font-size:14.5px!important;max-width:70ch}
html body #messagesView #clubsContent .cb .cb-banner-actions{display:grid;gap:8px;justify-items:end}
html body #messagesView #clubsContent .cb .cb-join-big{min-height:48px!important;padding:10px 22px!important;font-size:16px!important}
html body #messagesView #clubsContent .cb .cb-founder-big{font-size:13px!important;padding:4px 12px}
html body #messagesView #clubsContent .cb nav.cb-tabs{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:4px;margin:0 0 16px;padding:0!important;border:0!important;border-bottom:1px solid var(--cb-line)!important;border-radius:0!important;background:none!important;overflow-x:auto;scrollbar-width:none;box-shadow:none!important}
html body #messagesView #clubsContent .cb .cb-tab{flex:none!important;width:auto!important;min-height:44px!important;padding:10px 16px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:none!important;color:var(--cb-muted)!important;font:700 15px/1.2 system-ui,'Noto Sans KR',sans-serif!important}
html body #messagesView #clubsContent .cb .cb-tab[aria-pressed=true]{color:var(--cb-gold-2)!important;border-bottom-color:var(--cb-gold)!important}
html body #messagesView #clubsContent .cb .cb-overview{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:start}
html body #messagesView #clubsContent .cb .cb-col{display:grid;gap:16px;min-width:0}
html body #messagesView #clubsContent .cb .cb-card{margin:0!important;padding:18px 20px;border:1px solid var(--cb-line);border-radius:18px;background:var(--cb-panel);box-shadow:0 10px 26px rgba(0,0,0,.18)}
html body #messagesView #clubsContent .cb .cb-card>p{color:#d6e2dc!important;font-size:14.5px!important}
html body #messagesView #clubsContent .cb .cb-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 16px;margin:14px 0 0!important;padding:12px 0 0;border-top:1px solid var(--cb-soft-line)}
html body #messagesView #clubsContent .cb .cb-facts dt{color:var(--cb-muted)!important;font:800 11.5px/1.6 system-ui,sans-serif!important;letter-spacing:.08em;text-transform:uppercase}
html body #messagesView #clubsContent .cb .cb-facts dd{color:var(--cb-ink)!important;font-size:14px!important}
html body #messagesView #clubsContent .cb .cb-rules{margin:0;padding:0 0 0 20px;display:grid;gap:7px;color:#d6e2dc!important;font-size:14px!important}
html body #messagesView #clubsContent .cb .cb-theme-name{display:block;margin:0 0 4px;color:#fff3d6!important;font:700 22px/1.2 Georgia,'Noto Serif KR',serif!important}
html body #messagesView #clubsContent .cb .cb-puzzle-body{display:flex;gap:14px;align-items:center}
html body #messagesView #clubsContent .cb .cb-mini-board{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);width:116px;height:116px;flex:none;border:2px solid #c9ad64;border-radius:4px;overflow:hidden}
html body #messagesView #clubsContent .cb .cb-sq{display:block;background:#efe5c7}
html body #messagesView #clubsContent .cb .cb-sq.dark{background:#6d987a}
html body #messagesView #clubsContent .cb .cb-sq img{display:block;width:100%;height:100%}
html body #messagesView #clubsContent .cb .cb-puzzle-text{display:grid;gap:4px;min-width:0}
html body #messagesView #clubsContent .cb .cb-puzzle-text strong{color:#fff3d6!important;font:700 16px Georgia,'Noto Serif KR',serif}
html body #messagesView #clubsContent .cb .cb-puzzle-text p{color:#cfdcd5!important;font-size:13.5px!important}
html body #messagesView #clubsContent .cb .cb-progress{height:10px;margin-top:12px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}
html body #messagesView #clubsContent .cb .cb-progress i{display:block;height:100%;width:var(--cb-fill,0%);min-width:6px;border-radius:inherit;background:linear-gradient(90deg,#2fd27e,#d7b45a)}
/* Discussion. */
html body #messagesView #clubsContent .cb .cb-discussion{display:grid;gap:12px;max-width:860px}
html body #messagesView #clubsContent .cb .cb-post{padding:14px 16px;border:1px solid var(--cb-line);border-radius:16px;background:var(--cb-panel)}
html body #messagesView #clubsContent .cb .cb-pinned{border-color:rgba(47,210,126,.42);background:linear-gradient(180deg,rgba(47,210,126,.09),rgba(47,210,126,.02)),rgba(9,32,34,.85)}
html body #messagesView #clubsContent .cb .cb-post-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}
html body #messagesView #clubsContent .cb .cb-post>p{margin:0;color:#e0eae4!important;font-size:14.5px!important;white-space:pre-wrap;overflow-wrap:anywhere}
html body #messagesView #clubsContent .cb .cb-author{display:flex;align-items:center;gap:10px;min-width:0}
html body #messagesView #clubsContent .cb .cb-author-text strong{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--cb-gold-2)!important;font:700 15px/1.3 system-ui,'Noto Sans KR',sans-serif!important}
html body #messagesView #clubsContent .cb .cb-author-logo{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:#0b2422;border:1px solid var(--cb-gold)}
html body #messagesView #clubsContent .cb .cb-author-logo img{width:24px;height:24px}
html body #messagesView #clubsContent .cb .cb-avatar{width:38px!important;height:38px!important}
html body #messagesView #clubsContent .cb .cb-avatar .portrait-initials{font-size:14px!important}
html body #messagesView #clubsContent .cb .cb-pin{white-space:nowrap;color:var(--cb-green)!important;font:800 11px/1 system-ui,sans-serif!important;letter-spacing:.08em;text-transform:uppercase}
html body #messagesView #clubsContent .cb .cb-time{color:var(--cb-muted)!important;font-size:12.5px!important;white-space:nowrap}
html body #messagesView #clubsContent .cb .cb-post-tools{display:flex;gap:4px;margin-top:6px}
html body #messagesView #clubsContent .cb .cb-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:4px}
html body #messagesView #clubsContent .cb .cb-compose textarea{margin:0!important;min-height:74px;resize:vertical}
html body #messagesView #clubsContent .cb .cb-join-prompt{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px dashed var(--cb-line);border-radius:16px}
html body #messagesView #clubsContent .cb .cb-join-prompt p{color:#d6e2dc!important;font-size:14.5px!important}
html body #messagesView #clubsContent .cb .cb-empty-posts{padding:4px 2px}
/* Members. */
html body #messagesView #clubsContent .cb .cb-member-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
html body #messagesView #clubsContent .cb .cb-member{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 12px;border:1px solid var(--cb-line);border-radius:14px;background:var(--cb-panel)}
html body #messagesView #clubsContent .cb .cb-member-text{display:grid;gap:3px;min-width:0;flex:1}
html body #messagesView #clubsContent .cb .cb-member-text strong{color:var(--cb-ink)!important;font:700 14.5px/1.3 system-ui,'Noto Sans KR',sans-serif!important;overflow-wrap:anywhere}
html body #messagesView #clubsContent .cb .cb-member-badges{display:flex;flex-wrap:wrap;gap:5px}
html body #messagesView #clubsContent .cb .cb-role{color:var(--cb-muted)!important;font-size:12px!important}
/* Manage and create. */
html body #messagesView #clubsContent .cb .cb-manage{display:grid;gap:14px;max-width:760px}
html body #messagesView #clubsContent .cb .cb-manage-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px}
html body #messagesView #clubsContent .cb .cb-manage-row strong{flex:1;min-width:120px}
html body #messagesView #clubsContent .cb .cb-create-form{max-width:640px;display:grid;gap:4px}
html body #messagesView #clubsContent .cb .cb-create-form h2{font:700 26px/1.15 Georgia,'Noto Serif KR',serif!important;color:var(--cb-gold-2)!important}
html body #messagesView #clubsContent .cb label.cb-field{display:grid!important;gap:6px;margin:12px 0 0!important}
html body #messagesView #clubsContent .cb label.cb-field>span{color:#e3c97f!important;font:800 11.5px/1.3 system-ui,sans-serif!important;letter-spacing:.12em;text-transform:uppercase}
html body #messagesView #clubsContent .cb label.cb-field :is(input,textarea,select){margin:0!important}
/* Signed out. */
html body #messagesView #clubsContent .cb.cb-signin{display:grid;gap:10px;justify-items:start;padding:26px 28px;border:1px solid var(--cb-line);border-radius:20px;background:var(--cb-panel)}
html body #messagesView #clubsContent .cb.cb-signin h2{font:700 26px/1.15 Georgia,'Noto Serif KR',serif!important;color:var(--cb-gold-2)!important}
html body #messagesView #clubsContent .cb .primary-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 20px;border-radius:12px;background:linear-gradient(180deg,#f0d483,#c99a3c);color:#1d1608!important}

/* Rows rise in when the list opens (full motion only). */
@keyframes cb-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html[data-motion=full] body #messagesView #clubsContent .cb :is(.cb-banner,.cb-panel>*){animation:cb-rise .3s cubic-bezier(.2,.8,.2,1) both}

/* One column when the frame is narrow: the Create button moves up beside the title, the sidebar goes under the list. */
@media (max-width:1100px){
 html body #messagesView #clubsContent .cb[data-view=browse]{grid-template-columns:minmax(0,1fr)}
 html body #messagesView #clubsContent .cb .cb-side{position:static;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
 html body #messagesView #clubsContent .cb .cb-side>.cb-create{display:none!important}
 html body #messagesView #clubsContent .cb .cb-create-top{display:inline-flex!important}
 html body #messagesView #clubsContent .cb .cb-overview{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
 html body #messagesView #clubsContent .cb .cb-head{flex-direction:column;align-items:stretch;gap:10px}
 html body #messagesView #clubsContent .cb .cb-title h2{font-size:26px!important}
 html body #messagesView #clubsContent .cb .cb-create-top{width:100%!important}
 html body #messagesView #clubsContent .cb .cb-chips{flex-wrap:nowrap;overflow-x:auto;margin-left:-2px;margin-right:-2px;padding:0 2px 4px;scrollbar-width:none}
 html body #messagesView #clubsContent .cb .cb-chip{flex:none}
 html body #messagesView #clubsContent .cb .cb-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding:12px}
 html body #messagesView #clubsContent .cb .cb-row-main{grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:start}
 html body #messagesView #clubsContent .cb .cb-row .cb-emblem{width:44px;height:44px;border-radius:11px}
 html body #messagesView #clubsContent .cb .cb-row .cb-emblem[data-kind=flag] .cb-emblem-mark{font-size:12.5px!important;padding:1px 5px}
 html body #messagesView #clubsContent .cb .cb-row .cb-emblem[data-kind=icon] .cb-emblem-mark{font-size:23px!important}
 html body #messagesView #clubsContent .cb .cb-row-title{font-size:15.5px}
 html body #messagesView #clubsContent .cb .cb-row-desc{font-size:13px!important}
 html body #messagesView #clubsContent .cb .cb-row-side{gap:4px}
 html body #messagesView #clubsContent .cb .cb-row-side button{min-height:34px!important;min-width:0!important;padding:6px 12px!important;font-size:13px!important}
 html body #messagesView #clubsContent .cb .cb-side{grid-template-columns:minmax(0,1fr)}
 html body #messagesView #clubsContent .cb .cb-banner{grid-template-columns:auto minmax(0,1fr);gap:14px;padding:16px}
 html body #messagesView #clubsContent .cb .cb-emblem-lg{width:64px;height:64px;border-radius:16px}
 html body #messagesView #clubsContent .cb .cb-emblem-lg[data-kind=flag] .cb-emblem-mark{font-size:17px!important}
 html body #messagesView #clubsContent .cb .cb-emblem-lg[data-kind=icon] .cb-emblem-mark{font-size:32px!important}
 html body #messagesView #clubsContent .cb .cb-banner h2{font-size:24px!important}
 html body #messagesView #clubsContent .cb .cb-banner-desc{display:none}
 html body #messagesView #clubsContent .cb .cb-banner-actions{grid-column:1/-1;justify-items:stretch}
 html body #messagesView #clubsContent .cb .cb-banner-actions button{width:100%}
 html body #messagesView #clubsContent .cb .cb-banner-actions .cb-founder-tag{justify-self:start}
 html body #messagesView #clubsContent .cb .cb-card{padding:14px}
 html body #messagesView #clubsContent .cb .cb-tab{flex:1 1 auto!important;padding:10px 6px!important;font-size:14px!important}
 html body #messagesView #clubsContent .cb .cb-post-top{align-items:flex-start}
 html body #messagesView #clubsContent .cb .cb-compose{grid-template-columns:minmax(0,1fr)}
 html body #messagesView #clubsContent .cb .cb-join-prompt{flex-direction:column;align-items:stretch}
 html body #messagesView #clubsContent .cb .cb-member-grid{grid-template-columns:minmax(0,1fr)}
}
