@import url("clubs-base.css");

/* Interest Clubs refresh: background-led cards and detail hero */
.club-card-new{padding:0;overflow:hidden}.club-card-new:before{z-index:3}.club-background{position:relative;display:flex;height:145px;padding:16px;align-items:flex-end;background:linear-gradient(0deg,rgba(18,45,38,.68),rgba(18,45,38,.05)),var(--club-background,linear-gradient(135deg,#94d7bd,#679f91)) center/cover;color:#fff}.club-background:after{position:absolute;inset:0;background:linear-gradient(120deg,transparent 45%,rgba(255,255,255,.16));content:''}.club-background span{position:relative;z-index:2;padding:6px 9px;border:1px solid rgba(255,255,255,.35);border-radius:99px;background:rgba(11,58,45,.32);font-size:.52rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;backdrop-filter:blur(6px)}.club-card-content{padding:18px 22px 22px}.club-card-new h2{margin:0 0 9px;text-align:left;font-size:1.08rem}.club-card-new>p{min-height:0}.club-card-content>p{min-height:48px;margin:0 0 12px;color:var(--muted);font-size:.67rem;line-height:1.65}.club-card-content .reply-slider{min-height:96px}.club-detail-background{position:relative;min-height:390px;padding-block:65px;overflow:hidden;background:linear-gradient(90deg,rgba(12,49,40,.9),rgba(12,49,40,.6) 57%,rgba(12,49,40,.2)),var(--club-detail-background,linear-gradient(135deg,#427d6c,#8acbb5)) center/cover;color:#fff}.club-detail-background:after{position:absolute;inset:0;background:linear-gradient(120deg,transparent 55%,rgba(255,255,255,.13));content:''}.club-detail-copy{position:relative;z-index:2;max-width:760px}.club-detail-head .club-detail-copy>a,.club-detail-head .club-detail-copy>span{color:#dcf3ea}.club-detail-head .interest-label{display:block;margin-top:42px;font-size:.57rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.club-detail-head h1{margin:8px 0;color:#fff}.club-detail-head p{color:rgba(255,255,255,.84);line-height:1.7}.club-join-form button,.club-join-link{margin-top:13px;padding:10px 13px;border:1px solid rgba(255,255,255,.42);border-radius:11px;background:rgba(255,255,255,.16);color:#fff;font:700 .62rem 'Be Vietnam Pro';backdrop-filter:blur(7px)}.official-member-status{display:inline-block;margin-left:8px;padding:7px 10px;border-radius:99px;background:rgba(255,255,255,.17)}.interest-form-kicker{color:#168464;font-size:.6rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.interest-form-intro{margin:-7px 0 22px;color:var(--muted);font-size:.68rem}.club-background-field{padding:16px;border:1.5px dashed #9ccfbe;border-radius:15px;background:#f0faf6}.club-background-field span{font-weight:700}.club-background-field small,.club-background-field em{color:#789088;font-size:.55rem;font-style:normal;font-weight:400}.club-errors{margin-bottom:15px;padding:12px;border-radius:11px;background:#fff0f1;color:#923c43;font-size:.65rem}
@media(max-width:600px){.club-background{height:128px}.club-card-content{padding:16px 18px 19px}.club-detail-background{min-height:350px;padding:45px 22px}.club-detail-head .interest-label{margin-top:30px}}

/* Club card: visual half + action half */
.club-card-new{display:flex;min-height:360px;flex-direction:column;border-radius:22px;transition:transform .22s,box-shadow .22s}.club-card-new:hover{box-shadow:7px 12px 0 #e5ddd6,0 20px 42px rgba(39,74,62,.13);transform:translateY(-5px)}
.club-card-new .club-background{height:190px;flex:0 0 190px;padding:18px 20px;align-items:stretch;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,#7bc5aa,#477f70);isolation:isolate}
.club-background-image{position:absolute!important;inset:0!important;z-index:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;opacity:1!important;visibility:visible!important;filter:brightness(.84) saturate(.9);transition:transform .45s ease,filter .25s ease}.club-card-new:hover .club-background-image{filter:brightness(.9) saturate(1);transform:scale(1.035)}
.club-card-new .club-background:before,.club-card-new .club-background:after{z-index:1}.club-card-new .club-card-eyebrow,.club-card-new .club-background-copy{z-index:2}
.club-card-new .club-background:before{position:absolute;inset:0;z-index:-1;background:rgba(16,54,44,.08);content:'';backdrop-filter:brightness(.92) saturate(.9)}
.club-card-new .club-background:after{z-index:-1}
.club-card-eyebrow{align-self:flex-start!important;padding:5px 8px!important;font-size:.48rem!important;letter-spacing:.11em!important}
.club-background-copy{position:relative;z-index:2;color:#fff}
.club-card-new .club-background-copy h2{margin:0 0 7px;color:#fff;font-size:clamp(1.25rem,2vw,1.55rem);font-weight:800;line-height:1.15;letter-spacing:-.7px;text-align:left;text-shadow:0 2px 12px rgba(0,0,0,.38)}
.club-background-copy p{display:-webkit-box;margin:0;overflow:hidden;color:rgba(255,255,255,.88);font-size:.63rem;line-height:1.55;text-shadow:0 1px 8px rgba(0,0,0,.42);-webkit-box-orient:vertical;-webkit-line-clamp:2}
.club-card-new .club-card-content{display:flex;min-height:170px;padding:17px 20px 18px;flex:1;flex-direction:column;background:#fff}
.club-card-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.club-card-stats>span{display:grid;padding:10px 9px;border:1px solid #e4eee9;border-radius:12px;background:#f6faf8;grid-template-columns:25px 1fr;align-items:center}
.club-card-stats i{grid-row:1/3;font-size:1rem;font-style:normal}.club-card-stats b{color:#275749;font-size:.72rem;line-height:1}.club-card-stats small{margin-top:3px;color:#82918b;font-size:.48rem}
.club-card-cta{margin-top:auto;padding-top:13px}
.club-card-cta form{margin:0}.club-card-cta a,.club-card-cta button{display:flex;width:100%;height:39px;padding:0 14px;border:0;border-radius:11px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#168d68,#0b6d51);box-shadow:0 8px 17px rgba(11,109,81,.16);color:#fff;cursor:pointer;font:800 .61rem 'Be Vietnam Pro';text-decoration:none}.club-card-cta a span,.club-card-cta button span{font-size:.9rem;transition:transform .2s}.club-card-cta a:hover span,.club-card-cta button:hover span{transform:translateX(3px)}.club-card-cta .club-joined{justify-content:center;background:#e5f4ed;box-shadow:none;color:#27735a}
.club-card-new .club-admin{position:absolute;z-index:4;right:9px;top:9px;margin:0;opacity:0;transition:.2s}.club-card-new:hover .club-admin,.club-card-new:focus-within .club-admin{opacity:1}.club-card-new .club-admin a,.club-card-new .club-admin button{border-color:rgba(255,255,255,.4);background:rgba(20,46,39,.58);color:#fff;backdrop-filter:blur(7px)}
@media(max-width:600px){.club-card-new .club-background{height:175px;flex-basis:175px}.club-card-new .club-card-content{min-height:160px}.club-card-new .club-admin{opacity:1}.club-card-new:hover{transform:none}}

/* Editor media buttons, adaptive gallery and YouTube */
.club-image-button,.club-video-button{color:#176c53!important;font-weight:700}.club-media-preview{padding:10px;border:1px solid #dfeae5;border-radius:14px;background:#f8fbf9}.club-media-preview[hidden]{display:none}.club-image-gallery{display:grid;height:clamp(190px,32vw,390px);margin:14px 0;overflow:hidden;border-radius:16px;background:#e9f1ed;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:3px}.club-gallery-item{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;background:#dfeae5}.club-gallery-item img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;border-radius:0!important;transition:transform .3s}.club-gallery-item:hover img{transform:scale(1.025)}.club-gallery-item>span,.club-gallery-item>b{position:absolute;inset:0;display:grid;place-items:center;background:rgba(10,40,32,.62);color:#fff;font-size:clamp(1.45rem,4vw,2.4rem);font-weight:800;backdrop-filter:blur(2px)}.gallery-count-1{grid-template-columns:1fr;grid-template-rows:1fr}.gallery-count-2{grid-template-columns:repeat(2,1fr);grid-template-rows:1fr}.gallery-count-3 .club-gallery-item:first-child{grid-row:1/3}.gallery-count-4{grid-template-columns:repeat(2,1fr)}.gallery-count-5{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr)}.gallery-count-5 .club-gallery-item:first-child{grid-column:1/3;grid-row:1/3}.gallery-count-5 .club-gallery-item:nth-child(2),.gallery-count-5 .club-gallery-item:nth-child(3){grid-column:3}.gallery-count-5 .club-gallery-item:nth-child(4),.gallery-count-5 .club-gallery-item:nth-child(5){grid-column:4}.gallery-count-5 .club-gallery-item:nth-child(2),.gallery-count-5 .club-gallery-item:nth-child(4){grid-row:1}.gallery-count-5 .club-gallery-item:nth-child(3),.gallery-count-5 .club-gallery-item:nth-child(5){grid-row:2}.club-video-preview,.club-youtube{position:relative;width:100%;margin:14px 0;overflow:hidden;border-radius:16px;background:#15231f;aspect-ratio:16/9}.club-video-preview iframe,.club-youtube iframe{width:100%;height:100%;border:0}.club-video-preview button{position:absolute;right:9px;top:9px;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(12,29,24,.75);color:#fff;font-size:20px}.club-file-list{display:flex;gap:7px;margin:10px 0;flex-wrap:wrap}.club-file-list a{padding:7px 10px;border-radius:9px;background:#edf6f2;color:#35705d;font-size:.56rem}.rich-content .club-image-gallery{width:100%}
@media(max-width:600px){.club-image-gallery{height:260px;border-radius:12px}.gallery-count-5{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr)}}

/* Club community: discussion feed and knowledge sidebar */
.club-community-layout{display:grid;max-width:1240px;margin:0 auto;padding:34px 24px 70px;grid-template-columns:minmax(0,1fr) 330px;gap:26px;align-items:start}.community-wide{grid-column:1/-1}.club-feed-column{min-width:0}.club-feed-heading{display:flex;margin-bottom:17px;align-items:end;justify-content:space-between;gap:15px}.club-feed-heading h2{margin:0;color:#183e33;font-size:1.22rem}.club-feed-heading p{margin:5px 0 0;color:#71847d;font-size:.62rem}.modern-topic-list{display:grid;gap:18px}.modern-topic-card{overflow:visible;border:1px solid #dfebe6;border-radius:19px;background:#fff;box-shadow:0 9px 26px rgba(35,70,59,.07);transition:opacity .55s ease,transform .55s ease,box-shadow .25s}.modern-topic-card:hover{box-shadow:0 14px 34px rgba(35,70,59,.12)}.modern-topic-card[data-topic-reveal]{opacity:0;transform:translateY(24px)}.modern-topic-card[data-topic-reveal].is-visible{opacity:1;transform:none}.topic-card-head{display:grid;padding:17px 19px 15px;border-bottom:1px solid #eef3f1;grid-template-columns:132px minmax(0,1fr) 66px;gap:17px;align-items:center}.topic-author{display:grid;min-width:0;grid-template-columns:42px minmax(0,1fr);gap:9px;align-items:center}.topic-author-avatar{display:grid;width:42px;height:42px;overflow:hidden;border:3px solid #e5f3ed;border-radius:50%;place-items:center;background:#15785b;color:#fff;font-weight:800;text-decoration:none}.topic-author-avatar img{width:100%;height:100%;object-fit:cover}.topic-author-name{overflow:hidden;color:#315e50;font-size:.59rem;font-weight:800;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.topic-title-block{min-width:0}.topic-title-block h3{margin:0 0 5px;font-size:1rem;line-height:1.32}.topic-title-block h3 a{color:#173f33;text-decoration:none}.topic-title-block h3 a:hover{color:#11815f}.topic-title-block time{color:#83938d;font-size:.53rem}.topic-views{text-align:center;color:#768b83;font-size:.48rem}.topic-views b{display:block;margin-bottom:2px;color:#226c55;font-size:.82rem}.topic-card-excerpt{display:-webkit-box;max-height:26.25em;margin:0;padding:18px 21px;overflow:hidden;color:#3f504a;font-size:.66rem;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:15}.topic-card-excerpt img{max-height:250px;object-fit:cover}.topic-card-excerpt iframe{max-height:250px}.topic-read-more{display:inline-block;margin:-7px 21px 15px;color:#147a5c;font-size:.59rem;font-weight:800;text-decoration:none}.topic-card-actions{position:relative;display:grid;min-height:48px;padding:7px 13px;border-top:1px solid #edf2f0;grid-template-columns:1fr 1fr 1fr;align-items:center}.topic-card-actions details{position:relative}.topic-card-actions summary,.topic-replies{display:flex;padding:8px;border-radius:9px;align-items:center;justify-content:center;gap:6px;color:#587068;cursor:pointer;font-size:.56rem;font-weight:700;list-style:none;text-decoration:none}.topic-card-actions summary::-webkit-details-marker{display:none}.topic-card-actions summary:hover,.topic-replies:hover{background:#edf7f3;color:#176c53}.reaction-picker form,.topic-share div{position:absolute;z-index:8;bottom:43px;left:0;display:flex;padding:7px;border:1px solid #dce9e4;border-radius:13px;background:#fff;box-shadow:0 12px 30px rgba(20,55,44,.17);gap:4px}.reaction-picker form button{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;font-size:1.15rem;transition:transform .15s}.reaction-picker form button:hover{transform:scale(1.25)}.topic-share{text-align:right}.topic-share div{right:0;left:auto;min-width:130px;flex-direction:column}.topic-share div a,.topic-share div button{padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#315e50;font:700 .55rem 'Be Vietnam Pro';text-align:left;text-decoration:none;cursor:pointer}.topic-share div a:hover,.topic-share div button:hover{background:#edf7f3}.club-pagination{display:flex;margin-top:22px;justify-content:center;gap:6px}.club-pagination a{display:grid;min-width:36px;height:36px;padding:0 8px;border:1px solid #dce9e4;border-radius:9px;place-items:center;background:#fff;color:#476b5e;font-size:.57rem;font-weight:800;text-decoration:none}.club-pagination a.active{border-color:#167b5d;background:#167b5d;color:#fff}.club-community-sidebar{position:sticky;top:86px;display:grid;gap:16px}.community-widget{padding:18px;border:1px solid #deebe5;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(38,75,63,.07)}.community-widget h3{margin:0 0 13px;color:#214f41;font-size:.77rem}.community-widget-intro{margin:-7px 0 12px;color:#74877f;font-size:.55rem;line-height:1.55}.knowledge-widget{background:linear-gradient(145deg,#fffdf4,#fff)}.knowledge-folder+.knowledge-folder{margin-top:15px;padding-top:15px;border-top:1px dashed #d8ddd2}.knowledge-folder h4{margin:0 0 5px;color:#795f24;font-size:.65rem}.knowledge-folder>p{margin:0 0 8px;color:#7c7460;font-size:.54rem;font-style:italic}.knowledge-folder ul{margin:0;padding-left:18px}.knowledge-folder li{margin:5px 0;color:#4d5954;font-size:.54rem;line-height:1.55}.community-person-list,.teammate-list{display:grid;gap:10px}.community-person{display:grid;color:#365d50;text-decoration:none;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center}.community-person img,.community-person>span:first-child{display:grid;width:34px;height:34px;border-radius:50%;place-items:center;background:#dff1e9;object-fit:cover;color:#187052;font-weight:800}.community-person strong{display:block;overflow:hidden;font-size:.57rem;text-overflow:ellipsis;white-space:nowrap}.community-person small{color:#8a9893;font-size:.47rem}.community-person b{color:#17805f;font-size:.52rem}.teammate-note{padding:10px;border-radius:11px;background:#f3f8f5}.teammate-note p{margin:0 0 6px;color:#425b52;font-size:.54rem;line-height:1.55}.teammate-note small{color:#84928d;font-size:.46rem}.teammate-form{display:grid;margin-top:12px;gap:8px}.teammate-form textarea,.teammate-form input{box-sizing:border-box;width:100%;padding:10px;border:1px solid #d7e5df;border-radius:10px;background:#fbfdfc;font:500 .55rem 'Be Vietnam Pro'}.teammate-form button{padding:10px;border:0;border-radius:10px;background:#147a5c;color:#fff;font:800 .56rem 'Be Vietnam Pro';cursor:pointer}.community-admin-link{display:block;margin-top:10px;color:#17795c;font-size:.51rem;font-weight:800;text-align:center}
@media(max-width:920px){.club-community-layout{grid-template-columns:1fr}.club-community-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.community-widget:first-child,.community-widget:last-child{grid-column:1/-1}}
@media(max-width:620px){.club-community-layout{padding:22px 14px 50px}.club-community-sidebar{grid-template-columns:1fr}.community-widget:first-child,.community-widget:last-child{grid-column:auto}.topic-card-head{padding:14px;grid-template-columns:minmax(0,1fr) 52px;gap:10px}.topic-author{grid-column:1/-1}.topic-title-block h3{font-size:.85rem}.topic-card-excerpt{padding:15px;font-size:.61rem}.topic-card-actions{padding-inline:5px}.topic-card-actions summary,.topic-replies{font-size:0}.topic-card-actions summary span,.topic-replies b{font-size:.52rem}.topic-replies b:after{content:' trao đổi';font-weight:700}.topic-share summary{font-size:.52rem}.topic-read-more{margin-left:15px}}
@media(prefers-reduced-motion:reduce){.modern-topic-card[data-topic-reveal]{opacity:1;transform:none;transition:none}}

/* Topic card refinement: unified soft-green header and action bar */
.topic-card-head,.topic-card-actions{background:#edf8f3}.topic-card-head{grid-template-columns:108px minmax(0,1fr) 66px}.topic-author{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}.topic-author-name{display:block;width:100%;line-height:1.35}.topic-title-block time{display:block;margin-top:6px}.topic-card-actions{border-top-color:#dbece5}.topic-card-actions summary:hover,.topic-replies:hover{background:#dcefe7}
@media(max-width:620px){.topic-card-head{grid-template-columns:minmax(0,1fr) 52px}.topic-author{grid-column:1/-1;flex-direction:column}.topic-author-name{max-width:180px}}

/* Reliable club detail background rendering */
.club-detail-background{isolation:isolate;background-color:#285f50;background-image:linear-gradient(90deg,rgba(8,42,33,.76) 0%,rgba(8,42,33,.48) 48%,rgba(8,42,33,.12) 100%),var(--club-detail-background,linear-gradient(135deg,#427d6c,#8acbb5));background-repeat:no-repeat;background-position:center;background-size:cover}.club-detail-background:after{z-index:1;pointer-events:none}.club-detail-copy{z-index:2}
@media(max-width:600px){.club-detail-background{background-image:linear-gradient(90deg,rgba(8,42,33,.72),rgba(8,42,33,.32)),var(--club-detail-background,linear-gradient(135deg,#427d6c,#8acbb5));background-position:center}}

/* 2026 Club detail — cute, modern study community */
.club-detail-page{background:#f7fbf8;background-image:radial-gradient(circle at 12% 18%,rgba(255,211,113,.16) 0 3px,transparent 4px),radial-gradient(circle at 88% 36%,rgba(88,189,151,.12) 0 4px,transparent 5px);background-size:74px 74px,96px 96px;color:#24443a}.club-detail-page .club-detail-head{min-height:360px;padding:52px max(7vw,28px);border-bottom:8px solid #dff2e9;align-items:center}.club-detail-page .club-detail-head:before{position:absolute;right:6%;bottom:-22px;z-index:2;width:145px;height:45px;border-radius:50%;background:rgba(255,255,255,.18);content:'';filter:blur(1px);transform:rotate(-5deg)}.club-detail-page .club-detail-copy{width:min(720px,100%);padding:25px 28px;border:1px solid rgba(255,255,255,.26);border-radius:28px;background:rgba(9,48,38,.25);box-shadow:0 22px 60px rgba(6,39,30,.18);backdrop-filter:blur(8px)}.club-detail-page .club-detail-copy>a{display:inline-flex;padding:7px 11px;border-radius:99px;align-items:center;background:rgba(255,255,255,.13);font-weight:700}.club-detail-page .club-detail-head .interest-label{margin-top:22px;color:#bdf2dc;font-size:.59rem}.club-detail-page .club-detail-head h1{margin:8px 0 10px;font-size:clamp(2rem,4.5vw,4rem);line-height:1.05;letter-spacing:-2px;text-shadow:0 3px 20px rgba(5,30,23,.28)}.club-detail-page .club-detail-head p{max-width:630px;margin:0 0 18px;font-size:.7rem;line-height:1.75}.club-detail-page .official-member-status,.club-detail-page .club-join-form button,.club-detail-page .club-join-link{border:1px solid rgba(255,255,255,.44);box-shadow:0 7px 18px rgba(5,36,27,.12);transition:transform .2s,background .2s}.club-detail-page .club-join-form button:hover,.club-detail-page .club-join-link:hover{background:#fff;color:#17684f;transform:translateY(-2px)}
.club-detail-page .club-community-layout{max-width:1280px;padding-top:40px;grid-template-columns:minmax(0,1fr) 340px;gap:30px}.club-detail-page .club-feed-column{position:relative}.club-detail-page .club-feed-column:before{position:absolute;z-index:-1;left:-27px;top:118px;width:54px;height:54px;border:9px solid rgba(248,194,88,.16);border-radius:18px;content:'';transform:rotate(18deg)}.club-detail-page .topic-composer{margin-bottom:28px;padding:18px 20px;border:1px solid #cfe9de;border-radius:22px;background:linear-gradient(135deg,#effaf5,#fff);box-shadow:0 10px 30px rgba(31,91,70,.08)}.club-detail-page .topic-composer>summary{display:flex;min-height:46px;align-items:center;color:#126f52;font-size:.75rem}.club-detail-page .topic-composer>summary:after{margin-left:auto;padding:6px 10px;border-radius:99px;background:#ddf3e9;color:#27755d;content:'Chia sẻ ngay';font-size:.5rem}.club-detail-page .topic-title{margin:4px 3px 18px;align-items:center}.club-detail-page .topic-title span{color:#2c9674;font-size:.5rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.club-detail-page .topic-title h2{margin:4px 0 0;color:#214c3e;font-size:1.35rem;letter-spacing:-.6px}.club-detail-page .topic-title small{padding:7px 10px;border-radius:99px;background:#fff3ce;color:#8d6a20;font-weight:700}
.club-detail-page .modern-topic-list{gap:20px}.club-detail-page .modern-topic-card{overflow:hidden;border:1px solid #d9ebe3;border-radius:24px;box-shadow:0 12px 35px rgba(35,77,62,.08)}.club-detail-page .modern-topic-card:hover{border-color:#b8ddce;box-shadow:0 18px 42px rgba(35,77,62,.13);transform:translateY(-3px)}.club-detail-page .topic-card-head{min-height:105px;padding:17px 20px;background:linear-gradient(110deg,#e9f8f1,#f5fcf8);grid-template-columns:94px minmax(0,1fr) 68px;gap:17px}.club-detail-page .topic-author{position:relative}.club-detail-page .topic-author:after{position:absolute;right:9px;top:-2px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#54c99d;content:''}.club-detail-page .topic-author-avatar{width:48px;height:48px;border:4px solid #fff;box-shadow:0 5px 14px rgba(28,97,73,.15)}.club-detail-page .topic-author>a:not(.topic-author-avatar),.club-detail-page .topic-author>b{display:block;width:100%;overflow:hidden;color:#34705c;font-size:.54rem;font-weight:800;line-height:1.3;text-align:center;text-overflow:ellipsis;white-space:nowrap}.club-detail-page .topic-card-title{min-width:0}.club-detail-page .topic-card-title>a{display:block;color:#1d493a;font-size:clamp(.82rem,1.5vw,1.03rem);font-weight:800;line-height:1.4;text-decoration:none}.club-detail-page .topic-card-title>a:hover{color:#0c8a62}.club-detail-page .topic-card-title time{display:block;margin-top:7px;color:#7b948b;font-size:.52rem}.club-detail-page .topic-views{padding:10px 5px;border-radius:14px;background:rgba(255,255,255,.72)}.club-detail-page .topic-views b{font-size:.82rem}.club-detail-page .topic-card-excerpt{max-height:27em;padding:21px 23px;color:#40564e;font-size:.66rem;line-height:1.8;background:#fff}.club-detail-page .topic-read-more{margin:0 23px 17px;padding:7px 11px;border-radius:99px;background:#eff8f4}.club-detail-page .topic-card-actions{min-height:55px;padding:7px 12px;background:linear-gradient(110deg,#e9f8f1,#f5fcf8)}.club-detail-page .topic-card-actions summary,.club-detail-page .topic-replies{min-height:38px;border-radius:12px}.club-detail-page .topic-card-actions summary:hover,.club-detail-page .topic-replies:hover{background:#fff;box-shadow:0 3px 10px rgba(27,93,69,.07)}
.club-detail-page .club-community-sidebar{top:92px;gap:19px}.club-detail-page .community-widget{position:relative;overflow:hidden;padding:20px;border:1px solid #dcebe5;border-radius:23px;background:#fff;box-shadow:0 12px 34px rgba(36,76,62,.08)}.club-detail-page .community-widget:before{position:absolute;right:-19px;top:-20px;width:72px;height:72px;border-radius:50%;background:#e8f7f0;content:''}.club-detail-page .community-widget>header{position:relative;margin:-20px -20px 16px;padding:18px 20px 14px;background:linear-gradient(135deg,#eff9f4,#fff)}.club-detail-page .community-widget>header span{position:relative;color:#3a9b79;font-size:.49rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.club-detail-page .community-widget>header h3{position:relative;margin:5px 0 0;color:#234f40;font-size:.77rem}.club-detail-page .knowledge-widget{border-color:#eadfbf;background:#fffefa}.club-detail-page .knowledge-widget:before{background:#fff0b8}.club-detail-page .knowledge-widget>header{background:linear-gradient(135deg,#fff6d8,#fffefa)}.club-detail-page .knowledge-widget>p{padding:11px;border-left:3px solid #efc85e;border-radius:0 10px 10px 0;background:#fff9e8;color:#77694c;font-size:.54rem;font-style:italic;line-height:1.6}.club-detail-page .knowledge-widget article{margin-top:8px;padding:10px;border:1px dashed #e7d6a7;border-radius:11px;color:#59665f;font-size:.54rem;line-height:1.6}.club-detail-page .active-ranking,.club-detail-page .new-member-list{position:relative;margin:0;padding:0;list-style:none}.club-detail-page .active-ranking li{display:grid;padding:8px 0;border-bottom:1px dashed #e5eee9;grid-template-columns:27px 1fr;align-items:center}.club-detail-page .active-ranking li>b{display:grid;width:22px;height:22px;border-radius:8px;place-items:center;background:#fff0bd;color:#9a7320;font-size:.5rem}.club-detail-page .active-ranking li>a,.club-detail-page .new-member-list>a{display:grid;color:#335d4f;text-decoration:none;grid-template-columns:36px 1fr;gap:9px;align-items:center}.club-detail-page .side-avatar{display:grid;width:36px;height:36px;overflow:hidden;border:3px solid #ecf7f2;border-radius:12px;place-items:center;background:#def1e9;color:#197657;font-size:.58rem;font-weight:800}.club-detail-page .side-avatar img{width:100%;height:100%;object-fit:cover}.club-detail-page .active-ranking li>a>span:last-child,.club-detail-page .new-member-list>a>span:last-child{font-size:.55rem;font-weight:700}.club-detail-page .active-ranking small,.club-detail-page .new-member-list small{display:block;margin-top:2px;color:#91a098;font-size:.46rem;font-weight:500}.club-detail-page .new-member-list{display:grid;gap:10px}.club-detail-page .teammate-widget{border-color:#d8e3fa}.club-detail-page .teammate-widget:before{background:#e9efff}.club-detail-page .teammate-widget>header{background:linear-gradient(135deg,#eef2ff,#fff)}.club-detail-page .teammate-widget>p{color:#728079;font-size:.54rem;line-height:1.65}.club-detail-page .teammate-list article{padding:11px;border-radius:13px;background:#f4f7ff}.club-detail-page .teammate-list article b{color:#4a608b;font-size:.55rem}.club-detail-page .teammate-list article p{font-size:.53rem;line-height:1.55}.club-detail-page .teammate-list article time{font-size:.45rem}.club-detail-page .teammate-widget form{display:grid;margin-top:13px;gap:9px}.club-detail-page .teammate-widget textarea,.club-detail-page .teammate-widget input{box-sizing:border-box;width:100%;padding:11px;border:1px solid #d9e4df;border-radius:12px;background:#fbfdfc;font:500 .54rem 'Be Vietnam Pro'}.club-detail-page .teammate-widget label{display:grid;color:#71827b;font-size:.5rem;gap:5px}.club-detail-page .teammate-widget button{padding:11px;border:0;border-radius:12px;background:linear-gradient(135deg,#24a578,#137557);box-shadow:0 7px 16px rgba(20,117,87,.18);color:#fff;font:800 .55rem 'Be Vietnam Pro';cursor:pointer}.club-detail-page .manage-knowledge-link{padding:11px;border:1px dashed #a9d5c4;border-radius:14px;background:#eef9f4;color:#216f56;font-size:.52rem;font-weight:800;text-align:center}
.club-detail-page .club-pagination a{border-radius:12px;box-shadow:0 4px 12px rgba(35,77,62,.05)}.club-detail-page .club-empty{padding:50px 20px;border:2px dashed #cee5db;border-radius:22px;background:#f7fcf9;color:#789188;text-align:center}
@media(max-width:920px){.club-detail-page .club-community-layout{grid-template-columns:1fr}.club-detail-page .club-community-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.club-detail-page .teammate-widget{grid-column:1/-1}}
@media(max-width:620px){.club-detail-page .club-detail-head{min-height:330px;padding:32px 16px}.club-detail-page .club-detail-copy{padding:20px;border-radius:22px}.club-detail-page .club-detail-head h1{font-size:2rem;letter-spacing:-1px}.club-detail-page .club-detail-head p{font-size:.62rem}.club-detail-page .official-member-status{display:block;margin:10px 0 0}.club-detail-page .club-community-layout{padding:25px 13px 55px}.club-detail-page .topic-composer{padding:14px}.club-detail-page .topic-composer>summary:after{display:none}.club-detail-page .topic-title{align-items:flex-start;flex-direction:column}.club-detail-page .topic-title small{margin-top:8px}.club-detail-page .topic-card-head{grid-template-columns:64px minmax(0,1fr) 52px;padding:14px 12px;gap:9px}.club-detail-page .topic-author{grid-column:auto}.club-detail-page .topic-author-avatar{width:42px;height:42px}.club-detail-page .topic-author>a:not(.topic-author-avatar),.club-detail-page .topic-author>b{max-width:64px;font-size:.47rem}.club-detail-page .topic-card-title>a{font-size:.72rem}.club-detail-page .topic-views{padding:8px 3px}.club-detail-page .topic-card-excerpt{padding:17px;font-size:.61rem}.club-detail-page .club-community-sidebar{grid-template-columns:1fr}.club-detail-page .teammate-widget{grid-column:auto}.club-detail-page .community-widget{border-radius:20px}}

.club-detail-page .modern-topic-card>footer.topic-card-actions{border-top:1px solid #e3eee9!important;background-color:#fff!important;background-image:none!important}.club-detail-page .topic-card-actions summary:hover,.club-detail-page .topic-replies:hover{background:#eaf7f1}

.club-detail-page .topic-card-excerpt.rich-content h1,.club-detail-page .topic-card-excerpt.rich-content h2,.club-detail-page .topic-card-excerpt.rich-content h3{margin:.45em 0;color:#254f41;line-height:1.4}.club-detail-page .topic-card-excerpt.rich-content p{margin:.45em 0}.club-detail-page .topic-card-excerpt.rich-content ul,.club-detail-page .topic-card-excerpt.rich-content ol{padding-left:1.5em}.club-detail-page .topic-card-excerpt.rich-content blockquote{margin:.7em 0;padding:.65em 1em;border-left:4px solid #76c9aa;background:#eff9f4}.club-detail-page .topic-card-excerpt.rich-content a{color:#087d5a;text-decoration:underline}.club-detail-page .topic-card-excerpt.rich-content table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}.club-detail-page .topic-card-excerpt.rich-content th,.club-detail-page .topic-card-excerpt.rich-content td{padding:6px 8px;border:1px solid #dce9e4}.club-detail-page .topic-card-excerpt.rich-content pre{max-width:100%;padding:12px;overflow:auto;border-radius:10px;background:#20362f;color:#effbf6}.club-detail-page .topic-card-excerpt.rich-content code{font-family:Consolas,monospace}.club-detail-page .topic-card-excerpt.rich-content video{max-width:100%}

/* Dedicated image layer prevents legacy background declarations hiding the club cover */
.club-detail-page .club-detail-head.club-detail-background{position:relative;isolation:isolate;background:#285f50!important}.club-detail-page .club-detail-head.club-detail-background:before{position:absolute;inset:0;z-index:0;width:auto;height:auto;border:0;border-radius:0;background-color:#285f50;background-image:var(--club-detail-background,linear-gradient(135deg,#427d6c,#8acbb5));background-repeat:no-repeat;background-position:center;background-size:cover;content:'';filter:none;transform:none}.club-detail-page .club-detail-head.club-detail-background:after{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(7,39,30,.72),rgba(7,39,30,.42) 52%,rgba(7,39,30,.08));content:''}.club-detail-page .club-detail-head.club-detail-background .club-detail-copy{position:relative;z-index:2}
@media(max-width:600px){.club-detail-page .club-detail-head.club-detail-background:after{background:linear-gradient(90deg,rgba(7,39,30,.7),rgba(7,39,30,.3))}}

/* Compact topic header: avatar | title, author, time | views */
.club-detail-page .topic-card-head{min-height:82px;padding:12px 17px;grid-template-columns:58px minmax(0,1fr) 62px;gap:13px}.club-detail-page .topic-author{display:flex;align-items:center;justify-content:center}.club-detail-page .topic-author:after{right:2px;top:1px}.club-detail-page .topic-author-avatar{width:44px;height:44px}.club-detail-page .topic-card-title{display:flex;min-width:0;flex-direction:column;align-items:flex-start}.club-detail-page .topic-card-title>a.topic-card-title-link{width:100%;overflow:hidden;color:#1d493a;font-size:.86rem;font-weight:800;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.club-detail-page .topic-card-title>a.topic-card-author-link,.club-detail-page .topic-card-title>b.topic-card-author-link{display:block;margin-top:4px;color:#278063;font-size:.52rem;font-weight:700;line-height:1.3;text-decoration:none}.club-detail-page .topic-card-title time{margin-top:3px;font-size:.47rem}.club-detail-page .topic-views{padding:7px 4px}.club-detail-page .topic-views b{font-size:.72rem}
@media(max-width:620px){.club-detail-page .topic-card-head{min-height:76px;padding:10px 11px;grid-template-columns:49px minmax(0,1fr) 48px;gap:8px}.club-detail-page .topic-author{grid-column:auto}.club-detail-page .topic-author-avatar{width:39px;height:39px}.club-detail-page .topic-card-title>a.topic-card-title-link{font-size:.69rem}.club-detail-page .topic-card-title>a.topic-card-author-link,.club-detail-page .topic-card-title>b.topic-card-author-link{font-size:.46rem}.club-detail-page .topic-card-title time{font-size:.43rem}}

.club-detail-page .knowledge-widget>header h3{position:relative;max-width:265px;margin:0;color:#735d25;font-size:.65rem;font-style:italic;font-weight:700;line-height:1.65}.club-detail-page .knowledge-entry{display:block}.club-detail-page .knowledge-word{display:block;color:#174f3d;font-size:1.12rem;font-weight:800;line-height:1.25;letter-spacing:-.3px;text-transform:capitalize}.club-detail-page .knowledge-meta{display:block;margin-top:5px;color:#8a7440;font-size:.51rem;font-weight:700;line-height:1.5}.club-detail-page .knowledge-meaning{margin:11px 0 0;color:#354f46;font-size:.58rem;font-weight:600;line-height:1.6}.club-detail-page .knowledge-example{margin:7px 0 0;padding-top:7px;border-top:1px dashed #e1cf9e;color:#778078;font-size:.52rem;font-style:italic;line-height:1.6}
.club-detail-page .knowledge-topic{display:block;color:#174f3d;font-size:.76rem;font-weight:800;line-height:1.4}.club-detail-page .knowledge-notes{margin-top:9px;color:#4d5f58;font-size:.55rem;line-height:1.75}

/* Extra-compact topic header with author and time on one line */
.club-detail-page .topic-card-head{min-height:68px;padding:8px 14px;grid-template-columns:48px minmax(0,1fr) 56px;gap:10px}.club-detail-page .topic-author-avatar{width:38px;height:38px;border-width:3px}.club-detail-page .topic-author:after{right:1px;top:0;width:7px;height:7px}.club-detail-page .topic-card-title{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:9px;row-gap:3px;align-items:center}.club-detail-page .topic-card-title>a.topic-card-title-link{grid-column:1/-1;font-size:.8rem}.club-detail-page .topic-card-title>a.topic-card-author-link,.club-detail-page .topic-card-title>b.topic-card-author-link{grid-column:1;margin:0;white-space:nowrap}.club-detail-page .topic-card-title time{grid-column:2;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.club-detail-page .topic-views{padding:5px 3px;border-radius:11px}.club-detail-page .topic-views b{font-size:.66rem}.club-detail-page .topic-views span{font-size:.43rem}
@media(max-width:620px){.club-detail-page .topic-card-head{min-height:62px;padding:7px 9px;grid-template-columns:43px minmax(0,1fr) 44px;gap:7px}.club-detail-page .topic-author-avatar{width:34px;height:34px}.club-detail-page .topic-card-title{column-gap:6px;row-gap:2px}.club-detail-page .topic-card-title>a.topic-card-title-link{font-size:.65rem}.club-detail-page .topic-card-title>a.topic-card-author-link,.club-detail-page .topic-card-title>b.topic-card-author-link,.club-detail-page .topic-card-title time{font-size:.42rem}}

/* Unified rich content and 12-line feed preview */
.topic-card-excerpt.rich-content,.discussion-content>.rich-content,.reply-body>.rich-content{color:#40564e;font-size:.68rem;line-height:1.8}.topic-card-excerpt.rich-content{max-height:calc(21.6em + 42px);-webkit-line-clamp:12}.topic-card-excerpt.rich-content h1,.topic-card-excerpt.rich-content h2,.topic-card-excerpt.rich-content h3,.discussion-content>.rich-content h1,.discussion-content>.rich-content h2,.discussion-content>.rich-content h3,.reply-body>.rich-content h1,.reply-body>.rich-content h2,.reply-body>.rich-content h3{margin:.55em 0;color:#254f41;line-height:1.4}.topic-card-excerpt.rich-content p,.discussion-content>.rich-content p,.reply-body>.rich-content p{margin:.5em 0}.topic-card-excerpt.rich-content ul,.topic-card-excerpt.rich-content ol,.discussion-content>.rich-content ul,.discussion-content>.rich-content ol,.reply-body>.rich-content ul,.reply-body>.rich-content ol{padding-left:1.55em}.topic-card-excerpt.rich-content blockquote,.discussion-content>.rich-content blockquote,.reply-body>.rich-content blockquote{margin:.75em 0;padding:.7em 1em;border-left:4px solid #76c9aa;border-radius:0 10px 10px 0;background:#eff9f4}.topic-card-excerpt.rich-content a,.discussion-content>.rich-content a,.reply-body>.rich-content a{color:#087d5a;text-decoration:underline}.topic-card-excerpt.rich-content>img,.discussion-content>.rich-content>img,.reply-body>.rich-content>img{display:block;width:auto;max-width:100%;max-height:520px;margin:12px auto;border-radius:15px;object-fit:contain}.topic-card-excerpt.rich-content .club-image-gallery,.discussion-content>.rich-content .club-image-gallery,.reply-body>.rich-content .club-image-gallery{width:100%;margin:14px 0;border-radius:16px}.topic-card-excerpt.rich-content table,.discussion-content>.rich-content table,.reply-body>.rich-content table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}.topic-card-excerpt.rich-content th,.topic-card-excerpt.rich-content td,.discussion-content>.rich-content th,.discussion-content>.rich-content td,.reply-body>.rich-content th,.reply-body>.rich-content td{padding:6px 8px;border:1px solid #dce9e4}.topic-card-excerpt.rich-content pre,.discussion-content>.rich-content pre,.reply-body>.rich-content pre{max-width:100%;padding:12px;overflow:auto;border-radius:10px;background:#20362f;color:#effbf6}.club-lightbox-image{cursor:zoom-in}
.club-lightbox-open{overflow:hidden}.club-lightbox[hidden]{display:none}.club-lightbox{position:fixed;inset:0;z-index:5000;display:grid;padding:52px 75px 34px;place-items:center;background:rgba(4,18,14,.9);backdrop-filter:blur(9px)}.club-lightbox figure{display:grid;max-width:min(1100px,100%);max-height:100%;margin:0;place-items:center}.club-lightbox figure img{display:block;max-width:100%;max-height:calc(100vh - 115px);border-radius:16px;box-shadow:0 22px 70px rgba(0,0,0,.42);object-fit:contain}.club-lightbox figcaption{margin-top:10px;color:rgba(255,255,255,.78);font:600 .55rem 'Be Vietnam Pro';text-align:center}.club-lightbox button{position:absolute;display:grid;width:48px;height:48px;padding:0;border:1px solid rgba(255,255,255,.26);border-radius:50%;place-items:center;background:rgba(255,255,255,.13);color:#fff;cursor:pointer;font:400 2rem/1 Arial;backdrop-filter:blur(6px);transition:background .2s,transform .2s}.club-lightbox button:hover{background:rgba(255,255,255,.25);transform:scale(1.06)}.club-lightbox-close{right:22px;top:18px}.club-lightbox-prev{left:20px;top:50%;transform:translateY(-50%)}.club-lightbox-next{right:20px;top:50%;transform:translateY(-50%)}.club-lightbox-prev:hover,.club-lightbox-next:hover{transform:translateY(-50%) scale(1.06)}
@media(max-width:620px){.topic-card-excerpt.rich-content{max-height:calc(21.6em + 34px)}.club-lightbox{padding:55px 12px 30px}.club-lightbox button{width:40px;height:40px;font-size:1.6rem}.club-lightbox-close{right:10px;top:9px}.club-lightbox-prev{left:8px}.club-lightbox-next{right:8px}.club-lightbox figure img{max-height:calc(100vh - 105px)}}

/* Club topic detail — two-column discussion layout */
.club-topic-layout{display:grid;max-width:1280px;margin:auto;padding:35px 24px 80px;grid-template-columns:minmax(0,1fr) 340px;gap:30px;align-items:start}.club-topic-column{min-width:0}.topic-back{display:inline-flex;margin-bottom:17px;padding:7px 11px;border-radius:99px;background:#eaf7f1;color:#1b7458;font-size:.57rem;font-weight:800}.topic-detail-title{margin-bottom:20px}.topic-detail-title span{color:#339676;font-size:.51rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.topic-detail-title h1{margin:6px 0 0;color:#173f33;font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.25;letter-spacing:-1px}.detail-post-card,.detail-reply-card{display:grid;grid-template-columns:62px minmax(0,1fr);gap:13px;align-items:start}.detail-post-author,.detail-reply-card>aside{display:flex;justify-content:center}.detail-avatar{display:grid;width:49px;height:49px;overflow:hidden;border:4px solid #fff;border-radius:16px;place-items:center;background:#dff3ea;box-shadow:0 7px 18px rgba(28,91,69,.13);color:#167253;font-size:.75rem;font-weight:800}.detail-avatar img{width:100%;height:100%;object-fit:cover}.detail-post-bubble,.detail-reply-card>div{min-width:0;overflow:visible;border:1px solid #dcebe5;border-radius:0 22px 22px;background:#fff;box-shadow:0 12px 34px rgba(33,74,59,.08)}.detail-post-bubble>header,.detail-reply-card>div>header{display:flex;padding:14px 18px;border-bottom:1px solid #e8f1ed;align-items:center;justify-content:space-between;background:#edf8f3;gap:12px}.detail-post-bubble>header b,.detail-reply-card header b{color:#245a48;font-size:.61rem}.detail-post-bubble>header small{color:#889991;font-size:.47rem}.detail-post-bubble>header time,.detail-reply-card header time{color:#7e9189;font-size:.49rem;white-space:nowrap}.detail-post-bubble>.rich-content,.detail-reply-card .rich-content{padding:20px 21px}.detail-post-bubble>.topic-tags{padding:0 21px 15px}.detail-post-bubble>footer{position:relative;display:flex;min-height:58px;padding:8px 14px;border-top:1px solid #e6efeb;align-items:center;justify-content:space-between;background:#fff;gap:12px}.positive-point{display:flex;align-items:center;gap:9px}.positive-point form{margin:0}.positive-point button{display:grid;width:35px;height:35px;padding:0;border:1px solid #b9ddce;border-radius:11px;place-items:center;background:#eaf8f2;color:#157657;cursor:pointer;font-size:1rem;font-weight:800}.positive-point button.active{border-color:#16805f;background:#16805f;color:#fff}.positive-point button:disabled{cursor:not-allowed;opacity:.55}.positive-point span{color:#4c685f;font-size:.51rem}.positive-point span>b{color:#17775a}.positive-point span small{display:block;margin-top:2px;color:#98a49f;font-size:.42rem}.detail-post-bubble .reaction-picker{margin-left:auto}.detail-post-bubble .reaction-picker>summary{padding:8px 10px;border-radius:10px;background:#f2f8f5;color:#47685d;cursor:pointer;font-size:.53rem;font-weight:700;list-style:none}.detail-post-bubble .reaction-picker form{bottom:45px}.detail-replies{margin-top:35px}.detail-replies>header{display:flex;margin:0 3px 16px;align-items:end;justify-content:space-between}.detail-replies>header span{color:#349676;font-size:.49rem;font-weight:800;text-transform:uppercase}.detail-replies>header h2{margin:3px 0 0;color:#244e40;font-size:1.1rem}.detail-replies>header>b{padding:6px 9px;border-radius:99px;background:#eaf7f1;color:#207358;font-size:.5rem}.detail-reply-list{display:grid;gap:15px}.detail-reply-card[hidden]{display:none}.detail-reply-card{opacity:1;transition:opacity .35s,transform .35s}.detail-reply-card.is-visible{animation:replyReveal .4s both}.detail-reply-card>div{border-radius:0 18px 18px}.detail-reply-card .detail-avatar{width:43px;height:43px;border-radius:14px}.detail-reply-card>div>header{padding:11px 15px}.detail-reply-card .rich-content{padding:15px 17px;font-size:.62rem}.reply-load-sentinel{padding:20px;color:#789087;font-size:.52rem;text-align:center}.compact-reply{margin-top:25px!important;padding:14px 17px!important}.compact-reply>summary{cursor:pointer;color:#167355;font-size:.65rem;font-weight:800}.compact-reply .club-editor{min-height:105px}.compact-reply .club-editor-form{margin-top:12px}.topic-sidebar{top:92px}.club-topic-page .poll-box{margin-left:75px}.club-topic-page .poll-open{margin-left:75px}@keyframes replyReveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.detail-post-bubble>.rich-content,.detail-reply-card .rich-content{color:#40564e;line-height:1.8}.detail-post-bubble>.rich-content img,.detail-reply-card .rich-content img{max-width:100%;border-radius:15px}.detail-post-bubble>.rich-content blockquote,.detail-reply-card .rich-content blockquote{padding:.7em 1em;border-left:4px solid #76c9aa;background:#eff9f4}.detail-post-bubble>.rich-content pre,.detail-reply-card .rich-content pre{padding:12px;overflow:auto;border-radius:10px;background:#20362f;color:#effbf6}
@media(max-width:920px){.club-topic-layout{grid-template-columns:1fr}.topic-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.club-topic-layout{padding:24px 12px 60px}.topic-detail-title h1{font-size:1.35rem}.detail-post-card,.detail-reply-card{grid-template-columns:43px minmax(0,1fr);gap:7px}.detail-avatar{width:39px;height:39px;border-width:3px;border-radius:13px}.detail-post-bubble,.detail-reply-card>div{border-radius:0 16px 16px}.detail-post-bubble>header,.detail-reply-card>div>header{padding:10px 12px;align-items:flex-start;flex-direction:column;gap:3px}.detail-post-bubble>.rich-content{padding:15px}.detail-post-bubble>footer{align-items:flex-start;flex-direction:column}.detail-post-bubble .reaction-picker{align-self:flex-end;margin-top:-44px}.positive-point span small{display:none}.topic-sidebar{grid-template-columns:1fr}.club-topic-page .poll-box,.club-topic-page .poll-open{margin-left:50px}}

.club-topic-page .detail-post-bubble>footer{background-color:#fff!important;background-image:none!important}
.club-image-gallery>.club-gallery-lightbox-source{display:none!important}

/* Readable type scale for Club detail and Topic detail */
.club-detail-page .club-detail-copy>a{font-size:.75rem}.club-detail-page .club-detail-head .interest-label{font-size:.7rem}.club-detail-page .club-detail-head p{font-size:.9rem;line-height:1.75}.club-detail-page .club-detail-copy>span,.club-detail-page .official-member-status,.club-detail-page .club-join-form button,.club-detail-page .club-join-link{font-size:.72rem}.club-detail-page .topic-composer>summary{font-size:.88rem}.club-detail-page .topic-title span{font-size:.65rem}.club-detail-page .topic-title h2{font-size:1.5rem}.club-detail-page .topic-title small{font-size:.68rem}.club-detail-page .topic-card-title>a.topic-card-title-link{font-size:1rem}.club-detail-page .topic-card-title>a.topic-card-author-link,.club-detail-page .topic-card-title>b.topic-card-author-link{font-size:.68rem}.club-detail-page .topic-card-title time{font-size:.62rem}.club-detail-page .topic-views b{font-size:.82rem}.club-detail-page .topic-views span{font-size:.56rem}.club-detail-page .topic-card-excerpt.rich-content{font-size:.9rem;line-height:1.75}.club-detail-page .topic-read-more{font-size:.7rem}.club-detail-page .topic-card-actions summary,.club-detail-page .topic-replies{font-size:.7rem}.club-detail-page .community-widget>header span{font-size:.6rem}.club-detail-page .community-widget>header h3{font-size:.9rem}.club-detail-page .knowledge-widget>header h3{font-size:.78rem}.club-detail-page .knowledge-word{font-size:1.25rem}.club-detail-page .knowledge-meta{font-size:.66rem}.club-detail-page .knowledge-meaning{font-size:.76rem}.club-detail-page .knowledge-example{font-size:.68rem}.club-detail-page .knowledge-topic{font-size:.88rem}.club-detail-page .knowledge-notes{font-size:.74rem}.club-detail-page .active-ranking li>a>span:last-child,.club-detail-page .new-member-list>a>span:last-child{font-size:.7rem}.club-detail-page .active-ranking small,.club-detail-page .new-member-list small{font-size:.6rem}.club-detail-page .teammate-list article b{font-size:.7rem}.club-detail-page .teammate-list article p{font-size:.7rem}.club-detail-page .teammate-list article time{font-size:.58rem}.club-detail-page .teammate-widget textarea,.club-detail-page .teammate-widget input,.club-detail-page .teammate-widget button{font-size:.7rem}
.club-topic-page .topic-back{font-size:.72rem}.club-topic-page .topic-detail-title span{font-size:.65rem}.club-topic-page .topic-detail-title h1{font-size:clamp(1.8rem,3vw,2.5rem)}.club-topic-page .detail-post-bubble>header b,.club-topic-page .detail-reply-card header b{font-size:.78rem}.club-topic-page .detail-post-bubble>header small{font-size:.62rem}.club-topic-page .detail-post-bubble>header time,.club-topic-page .detail-reply-card header time{font-size:.66rem}.club-topic-page .detail-post-bubble>.rich-content{font-size:.95rem;line-height:1.8}.club-topic-page .detail-reply-card .rich-content{font-size:.88rem;line-height:1.75}.club-topic-page .positive-point span{font-size:.68rem}.club-topic-page .positive-point span small{font-size:.56rem}.club-topic-page .detail-post-bubble .reaction-picker>summary{font-size:.68rem}.club-topic-page .detail-replies>header span{font-size:.62rem}.club-topic-page .detail-replies>header h2{font-size:1.3rem}.club-topic-page .detail-replies>header>b{font-size:.65rem}.club-topic-page .reply-load-sentinel{font-size:.68rem}.club-topic-page .compact-reply>summary{font-size:.8rem}.club-topic-page .compact-reply .club-editor{font-size:.88rem}
@media(max-width:620px){.club-detail-page .club-detail-head p{font-size:.8rem}.club-detail-page .topic-card-title>a.topic-card-title-link{font-size:.82rem}.club-detail-page .topic-card-title>a.topic-card-author-link,.club-detail-page .topic-card-title>b.topic-card-author-link,.club-detail-page .topic-card-title time{font-size:.58rem}.club-detail-page .topic-card-excerpt.rich-content{font-size:.84rem}.club-detail-page .topic-card-actions summary span,.club-detail-page .topic-replies b{font-size:.64rem}.club-topic-page .topic-detail-title h1{font-size:1.55rem}.club-topic-page .detail-post-bubble>header b,.club-topic-page .detail-reply-card header b{font-size:.72rem}.club-topic-page .detail-post-bubble>header time,.club-topic-page .detail-reply-card header time{font-size:.6rem}.club-topic-page .detail-post-bubble>.rich-content{font-size:.88rem}.club-topic-page .detail-reply-card .rich-content{font-size:.82rem}}

/* Clubs landing hero — teen interest-community visual */
.clubs-index-page .clubs-hero{position:relative;display:grid;min-height:430px;padding:56px max(5vw,32px) 42px;overflow:hidden;isolation:isolate;grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);align-items:center;background:radial-gradient(circle at 83% 15%,rgba(255,255,255,.85) 0 5%,transparent 5.4%),radial-gradient(circle at 7% 85%,rgba(190,237,220,.72),transparent 30%),linear-gradient(125deg,#e9fff6 0%,#c9f4e3 47%,#ffe7ef 100%)!important;color:#173e33}
.clubs-index-page .clubs-hero:before{position:absolute;z-index:-1;right:-9%;bottom:-50%;width:58%;height:112%;border:2px dashed rgba(22,125,94,.22);border-radius:50%;content:'';animation:clubsOrbit 24s linear infinite}
.clubs-index-page .clubs-hero:after{position:absolute;z-index:-1;left:2.5%;top:22px;width:92px;height:92px;background-image:radial-gradient(#39a883 1.5px,transparent 1.5px);background-size:13px 13px;content:'';opacity:.28;transform:rotate(-8deg)}
.clubs-index-page .clubs-hero-copy{position:relative;z-index:3;max-width:670px;animation:clubsCopyReveal .8s .48s both cubic-bezier(.2,.8,.2,1)}
.clubs-index-page .clubs-hero-kicker{display:inline-flex;padding:7px 12px;border:1px solid rgba(23,112,84,.18);border-radius:999px;background:rgba(255,255,255,.62);box-shadow:0 7px 22px rgba(32,105,81,.08);color:#147458;font-size:.67rem;font-weight:800;letter-spacing:.08em;backdrop-filter:blur(10px)}
.clubs-index-page .clubs-hero h1{margin:15px 0 13px;color:#173f34;font-size:clamp(2.4rem,5vw,4.75rem);font-weight:800;line-height:.99;letter-spacing:-3px}
.clubs-index-page .clubs-hero h1 em{position:relative;color:#ef657f;font-family:'Patrick Hand',cursive;font-weight:400;letter-spacing:-1px}
.clubs-index-page .clubs-hero h1 em:after{position:absolute;right:0;bottom:-7px;left:0;height:10px;border-top:4px solid #f2ad48;border-radius:50%;content:'';transform:rotate(-1deg)}
.clubs-index-page .clubs-hero p{max-width:610px;margin:0;color:#4e6f64;font-size:.94rem;line-height:1.75}
.clubs-index-page .clubs-hero-cta{display:inline-flex;margin-top:20px;padding:12px 17px;border-radius:13px;background:linear-gradient(135deg,#188963,#08704f);box-shadow:0 11px 22px rgba(10,112,79,.2);color:#fff;font-size:.75rem;font-weight:800;text-decoration:none;transition:transform .2s,box-shadow .2s}
.clubs-index-page .clubs-hero-cta:hover{box-shadow:0 15px 28px rgba(10,112,79,.26);transform:translateY(-3px) rotate(-1deg)}
.clubs-hero-visual{position:relative;z-index:2;width:min(100%,600px);height:360px;justify-self:center;animation:clubsVisualReveal 1s .08s both cubic-bezier(.18,.89,.32,1.22)}
.clubs-hero-photo{position:absolute;right:-5%;bottom:-45px;width:108%;height:430px}
.clubs-hero-photo img{position:absolute!important;right:0;bottom:0;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;object-position:right bottom;filter:drop-shadow(5px 0 0 #fff) drop-shadow(-5px 0 0 #fff) drop-shadow(0 5px 0 #fff) drop-shadow(0 -5px 0 #fff) drop-shadow(0 22px 27px rgba(33,70,59,.22));animation:clubsFriendsFloat 5s 1.1s ease-in-out infinite}
.clubs-hero-orbit{position:absolute;inset:42px 5px 7px 60px;border:2px dashed rgba(235,101,127,.42);border-radius:48% 52% 50% 47%;animation:clubsOrbit 16s linear infinite}
.clubs-hero-orbit:before,.clubs-hero-orbit:after{position:absolute;border-radius:50%;content:''}.clubs-hero-orbit:before{right:3%;top:9%;width:13px;height:13px;background:#f2ad48;box-shadow:0 0 0 7px rgba(242,173,72,.19)}.clubs-hero-orbit:after{left:3%;bottom:18%;width:10px;height:10px;background:#ef657f;box-shadow:0 0 0 6px rgba(239,101,127,.16)}
.clubs-interest-pill{position:absolute;z-index:5;padding:9px 13px;border:2px solid #fff;border-radius:999px;background:rgba(255,255,255,.89);box-shadow:0 9px 23px rgba(36,91,73,.14);color:#28594a;font-size:.68rem;font-weight:800;white-space:nowrap;backdrop-filter:blur(8px)}
.clubs-interest-pill-photo{left:2%;top:18%;transform:rotate(-7deg);animation:clubsPillFloat 3.9s .4s ease-in-out infinite}.clubs-interest-pill-music{right:-3%;top:8%;transform:rotate(7deg);animation:clubsPillFloat 4.4s .9s ease-in-out infinite reverse}.clubs-interest-pill-study{right:-2%;bottom:14%;transform:rotate(-4deg);animation:clubsPillFloat 4.1s .2s ease-in-out infinite}
.clubs-hero-sticker{position:absolute;z-index:6;left:9%;bottom:26px;padding:10px 13px;border:3px solid #fff;border-radius:15px 15px 15px 4px;background:#f3b349;box-shadow:3px 5px 0 rgba(69,61,32,.16);color:#563d11;font-family:'Patrick Hand',cursive;font-size:.85rem;line-height:1.05;text-align:center;transform:rotate(-7deg);animation:clubsStickerWiggle 3.6s 1.2s ease-in-out infinite}.clubs-hero-sticker b{font-size:1.08rem}
.clubs-hero-spark{position:absolute;z-index:4;color:#ef657f;font-size:1.8rem;text-shadow:0 4px 10px rgba(239,101,127,.18);animation:clubsSpark 2.5s ease-in-out infinite}.clubs-hero-spark-one{left:15%;top:2%}.clubs-hero-spark-two{right:10%;bottom:6%;color:#16906a;animation-delay:.65s}
@keyframes clubsVisualReveal{from{opacity:0;transform:translateX(80px) scale(.86) rotate(3deg)}to{opacity:1;transform:none}}@keyframes clubsCopyReveal{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}@keyframes clubsFriendsFloat{0%,100%{transform:translateY(0) rotate(.15deg)}50%{transform:translateY(-8px) rotate(-.3deg)}}@keyframes clubsPillFloat{0%,100%{margin-top:0}50%{margin-top:-9px}}@keyframes clubsStickerWiggle{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(-3deg) translateY(-4px)}}@keyframes clubsSpark{0%,100%{opacity:.55;transform:scale(.75) rotate(0)}50%{opacity:1;transform:scale(1.18) rotate(20deg)}}@keyframes clubsOrbit{to{transform:rotate(360deg)}}
@media(max-width:900px){.clubs-index-page .clubs-hero{min-height:670px;padding:42px 24px 0;grid-template-columns:1fr;align-content:start;text-align:center}.clubs-index-page .clubs-hero-copy{max-width:700px;margin:auto}.clubs-index-page .clubs-hero h1{font-size:clamp(2.5rem,9vw,4.2rem)}.clubs-index-page .clubs-hero p{margin-inline:auto}.clubs-hero-visual{width:min(92vw,580px);height:340px;margin-top:8px}.clubs-hero-photo{right:0;bottom:-40px;width:100%;height:390px}.clubs-interest-pill-photo{left:4%}.clubs-interest-pill-music{right:2%}.clubs-interest-pill-study{right:3%}}
@media(max-width:560px){.clubs-index-page .clubs-hero{min-height:610px;padding:31px 15px 0}.clubs-index-page .clubs-hero-kicker{font-size:.55rem}.clubs-index-page .clubs-hero h1{margin-top:12px;font-size:2.45rem;letter-spacing:-1.8px}.clubs-index-page .clubs-hero p{font-size:.78rem;line-height:1.65}.clubs-index-page .clubs-hero-cta{margin-top:14px}.clubs-hero-visual{width:100%;height:300px;margin-top:4px}.clubs-hero-photo{bottom:-30px;height:337px}.clubs-interest-pill{padding:7px 9px;font-size:.53rem}.clubs-interest-pill-photo{left:0;top:21%}.clubs-interest-pill-music{right:0;top:10%}.clubs-interest-pill-study{right:0;bottom:12%}.clubs-hero-sticker{left:3%;bottom:18px;font-size:.68rem}.clubs-hero-orbit{inset:42px 7px 12px 35px}}
@media(prefers-reduced-motion:reduce){.clubs-index-page .clubs-hero:before,.clubs-hero-copy,.clubs-hero-visual,.clubs-hero-photo img,.clubs-hero-orbit,.clubs-interest-pill,.clubs-hero-sticker,.clubs-hero-spark{animation:none!important}}
.club-detail-page .teammate-list article{padding:12px;border:1px solid #dfe6f7;background:#f7f9ff;box-shadow:0 5px 14px rgba(55,78,128,.08);transition:opacity .25s ease,transform .25s ease}
.club-detail-page .teammate-note-head{display:flex;margin-bottom:9px;align-items:center;justify-content:space-between;gap:8px}
.club-detail-page .teammate-author{display:flex;min-width:0;align-items:center;gap:8px;color:#344f86;text-decoration:none}
.club-detail-page .teammate-author b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.club-detail-page .teammate-avatar{display:grid;width:32px;height:32px;flex:0 0 32px;overflow:hidden;border:2px solid #fff;border-radius:50%;place-items:center;background:#6078ad;box-shadow:0 2px 7px rgba(50,73,125,.2);color:#fff;font-size:.65rem;font-weight:800}
.club-detail-page .teammate-avatar img{width:100%;height:100%;object-fit:cover}
.club-detail-page .teammate-note-head time{flex:0 0 auto;padding:4px 7px;border-radius:7px;background:#e7edfb;color:#576b96;font-weight:700;white-space:nowrap}
.club-detail-page .teammate-list article p{margin:0;padding:10px 11px;border-left:3px solid #6b82b8;border-radius:2px 8px 8px 2px;background:#fff;color:#26364f;font-weight:600;line-height:1.65}
.club-detail-page .teammate-list article.is-expiring{opacity:0;transform:translateY(-5px)}
@media(max-width:420px){.club-detail-page .teammate-note-head{align-items:flex-start;flex-direction:column}.club-detail-page .teammate-note-head time{margin-left:40px}}
