/* DAREBEE Clubs - /clubs/clubs.css (used inside the club iframes). Edit here, then bump CL_VER in club.php. */
html,body{margin:0;padding:0;background:transparent}
body{font:16px/1.6 Roboto,-apple-system,'Segoe UI',Arial,sans-serif;color:#141414;-webkit-text-size-adjust:100%}
.cl-embed--profile{font-size:15px}
.cl-loading{padding:30px 16px;color:#6e6e6e;font-size:15px;text-align:center}
.cl-page{position:relative}
.cl-page.cl-busy{opacity:.6;pointer-events:none}
.cl-page a{color:#141414;text-decoration:none}
.cl-page a:hover{color:#141414;text-decoration:none}
.cl-page h1,.cl-page h2,.cl-page p,.cl-page ul{margin:0}
.cl-page button{font-family:Roboto,Arial,sans-serif;border-radius:0}

/* hero */
.cl-hero{background:#fff;border:1px solid #e2e2e2;overflow:hidden}
.cl-banner{display:block;width:100%;height:auto;aspect-ratio:2.5/1;object-fit:cover}
.cl-head{display:flex;align-items:flex-start;gap:14px;padding:16px 10px}
.cl-emblem{flex:0 0 84px;width:84px;height:84px;border:0;background:transparent}
.cl-id{min-width:0}
.cl-id h1{font-size:24px;font-weight:700;line-height:1.15;margin:0 0 2px}
.cl-page .cl-motto{color:#6e6e6e;font-style:italic;font-size:15px;margin:0 0 8px}
.cl-meta{font-size:14px;color:#6e6e6e}.cl-meta b{color:#141414;font-weight:500}.cl-meta span+span::before{content:"\00b7";margin:0 8px}
.cl-since{font-size:14px;color:#6e6e6e;margin-top:8px}
.cl-since::before{content:"";display:inline-block;width:8px;height:8px;background:#e62d2d;margin-right:8px;vertical-align:middle}
.cl-since--join::before{display:none}
.cl-dot{margin:0 8px}.cl-dim{color:#6e6e6e}
.cl-leave{background:none;border:0;border-bottom:1px solid #cccccc;padding:0;color:#6e6e6e;font-size:14px;cursor:pointer}
.cl-leave:hover{color:#141414;border-color:#141414}
.cl-join{background:none;border:0;padding:0;color:#e62d2d;font-weight:700;font-size:16px;cursor:pointer}
.cl-join:hover{border-bottom:1px solid #e62d2d;color:#e62d2d}

/* grid and boxes */
.cl-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px;padding:0 10px 10px}
.cl-box{background:#fff;border:1px solid #e2e2e2;margin:0}
.cl-box summary{list-style:none;cursor:pointer}
.cl-box summary::-webkit-details-marker{display:none}
.cl-box h2{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#6e6e6e;margin:0;padding:12px 16px;display:flex;align-items:center;gap:10px;font-weight:500}
.cl-box[open] summary h2{border-bottom:1px solid #e2e2e2}
.cl-box h2 .cl-r{margin-left:auto;font-weight:400;letter-spacing:0;text-transform:none;font-size:13px;text-align:right}
.cl-box h2::after{content:"+";margin-left:10px;color:#6e6e6e;font-weight:400;font-size:16px;line-height:1}
.cl-box[open] h2::after{content:"\2212"}
.cl-in{padding:16px}

/* buttons: red solid or white with grey border, never black */
.cl-btn{display:inline-block;padding:9px 18px;border:1px solid #cccccc;background:#fff;color:#141414;font-size:15px;line-height:1.3;cursor:pointer;text-align:center}
.cl-btn:hover{border-color:#141414;color:#141414}
.cl-btn--solid{background:#e62d2d;color:#fff;border-color:#e62d2d}.cl-btn--solid:hover{background:#d12626;border-color:#d12626;color:#fff}
.cl-btn--small{padding:6px 12px;font-size:14px}
.cl-btn--done{background:#f4f4f4;border-color:#e2e2e2;color:#6e6e6e;cursor:default}
.cl-btn--on{border-color:#e62d2d;color:#e62d2d}
.cl-more{display:block;width:100%;text-align:center;font-size:14px;color:#6e6e6e;padding:12px 0 0;margin-top:6px;border:0;border-top:1px solid #eeeeee;background:none;cursor:pointer}
.cl-more:hover{color:#141414}
.cl-s{color:#e62d2d}

/* call: the one thing the club does together this week, so it gets room and a centre line */
.cl-call .cl-in{display:flex;flex-direction:column;align-items:center;gap:0;padding:36px 20px 28px;text-align:center}
.cl-call .cl-text{max-width:560px;margin:0 auto;width:100%}
.cl-page .cl-call .cl-title{font-size:26px;font-weight:700;line-height:1.2;margin:0 0 12px}
.cl-call .cl-text>p{font-size:17px;line-height:1.55;color:#141414}
.cl-poster{display:block;width:300px;max-width:100%;margin:0 auto 10px;padding:12px;border:1px solid #cccccc;background:#fff}
.cl-poster:hover{border-color:#141414}
.cl-poster img{display:block;width:100%;height:auto}
.cl-act{text-align:center;padding-top:22px}
.cl-act .cl-btn{padding:13px 36px;font-size:16px;min-width:160px}
.cl-act small{display:block;color:#6e6e6e;font-size:13px;margin-top:10px}
.cl-page .cl-call .cl-when{font-size:14px;color:#6e6e6e;text-align:center;margin-top:14px}
.cl-done-row{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid #eeeeee;font-size:14px;color:#6e6e6e;flex-wrap:wrap;width:100%;max-width:560px}
.cl-faces{display:flex}
.cl-face{width:28px;height:28px;flex-basis:28px;border:2px solid #fff;margin-left:0}.cl-faces .cl-avl{margin-left:-8px}.cl-faces .cl-avl:first-child{margin-left:0}

/* avatars: square, never round */
.cl-av{display:block;flex:0 0 36px;width:36px;height:36px;background:#cfcfcf no-repeat center/cover;border-radius:0;color:#fff;font-size:15px;line-height:36px;text-align:center;font-style:normal}
.cl-av--txt{background:#9a9a9a}
.cl-av--xs{flex-basis:16px;width:16px;height:16px;font-size:9px;line-height:16px}

/* check-in */
.cl-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cl-row input[type=text]{flex:1 1 180px;padding:9px 12px;border:1px solid #cccccc;font:16px Roboto,Arial,sans-serif;border-radius:0;color:#141414;background:#fff;min-width:0}
.cl-row input[type=text]:focus{border-color:#141414;outline:none}
.cl-num{display:inline-flex;border:1px solid #cccccc;background:#fff}
.cl-num button{width:34px;border:0;background:none;color:#6e6e6e;font-size:18px;cursor:pointer;line-height:36px}
.cl-num button:hover{color:#141414}
.cl-num input{width:72px;text-align:center;border:0;border-left:1px solid #cccccc;border-right:1px solid #cccccc;font:16px Roboto,Arial,sans-serif;line-height:36px;height:36px;padding:0;color:#141414;background:#fff;-moz-appearance:textfield;border-radius:0}
.cl-num input::-webkit-outer-spin-button,.cl-num input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.cl-unit{color:#6e6e6e;font-size:14px}
.cl-page .cl-hint{font-size:14px;color:#6e6e6e;margin:20px 0 0}
.cl-did{margin-top:12px;padding:10px 12px;background:#f4f4f4;font-size:15px}.cl-did b{font-weight:500}
.cl-pick{position:relative;flex:1 1 220px}
.cl-pick input[type=text]{width:100%}
.cl-pick-list{position:absolute;left:0;right:0;top:100%;z-index:20;background:#fff;border:1px solid #cccccc;border-top:0;max-height:260px;overflow:auto}
.cl-pick-list button{display:block;width:100%;text-align:left;padding:8px 12px;border:0;background:none;font-size:15px;cursor:pointer;color:#141414}
.cl-pick-list button:hover{background:#f4f4f4}

/* club total */
.cl-units{margin-top:12px;display:flex;gap:0}
.cl-unit-btn{padding:5px 12px;border:1px solid #cccccc;background:#fff;color:#6e6e6e;font:13px Roboto,Arial,sans-serif;cursor:pointer;margin-left:-1px}
.cl-unit-btn:first-child{margin-left:0}
.cl-unit-btn.on{color:#e62d2d;border-color:#e62d2d;position:relative;z-index:1}
.cl-unit-btn:hover{color:#141414}
.cl-big{font-size:32px;font-weight:700;line-height:1.1}
.cl-unit-l{color:#6e6e6e;font-size:15px}
.cl-total small{display:block;font-size:14px;color:#6e6e6e;margin-top:10px}

/* feed */
.cl-feed{list-style:none;margin:0;padding:0}
.cl-feed li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid #eeeeee}
.cl-feed li:first-child{border-top:0;padding-top:0}
.cl-feed li>div{min-width:0}
.cl-who{font-weight:500;font-size:15px}.cl-who span{font-weight:400;color:#6e6e6e;font-size:13px;margin-left:8px}
.cl-what{font-size:16px;margin:2px 0 0;overflow-wrap:anywhere}
.cl-react{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:13px;color:#6e6e6e;align-items:center}
.cl-rx{display:inline-flex;align-items:center;gap:5px;border:0;background:none;padding:0;font-size:13px;color:#6e6e6e;cursor:pointer;font-family:Roboto,Arial,sans-serif;line-height:20px}
.cl-rx img{width:22px;height:22px;display:block;filter:grayscale(1);opacity:.5}
.cl-rx.has img,.cl-rx:hover img{filter:none;opacity:1}
.cl-rx b{font-weight:500;color:#141414}
.cl-rx.has{color:#141414}
.cl-rx.on{color:#e62d2d}
.cl-rx.on img{outline:2px solid #e62d2d;outline-offset:1px}
button.cl-rx:hover{color:#141414}
span.cl-rx{cursor:default}
.cl-rm{border:0;background:none;padding:0;font-size:13px;color:#6e6e6e;cursor:pointer;font-family:Roboto,Arial,sans-serif;margin-top:4px;border-bottom:1px solid #cccccc}
.cl-rm:hover{color:#e62d2d;border-color:#e62d2d}
.cl-avl{display:block;flex:0 0 auto;line-height:0}
.cl-m .cl-avl{margin:0 auto 5px;width:44px}
.cl-m .cl-avl .cl-av{margin:0}
.cl-mn{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6e6e6e}
.cl-mn:hover{color:#141414}
.cl-who a:hover,.cl-pc-from a:hover{color:#e62d2d}
.cl-hid{display:none!important}

/* postcards: the reason people post, so each one is a small object */
.cl-pc-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.cl-pc{background:#fff;border:1px solid #e2e2e2;padding:22px 22px 16px;font-size:17px;line-height:1.5;min-height:210px;display:flex;flex-direction:column;position:relative;
  background-image:repeating-linear-gradient(0deg,transparent 0,transparent 27px,#f0f0f0 27px,#f0f0f0 28px);background-origin:content-box;background-clip:content-box;background-position:0 4px}
.cl-pc.mine{border-color:#e62d2d}
.cl-pc-corner{position:absolute;top:14px;right:14px;display:flex;flex-direction:column;align-items:center;gap:6px}
.cl-stamp{width:44px;height:52px;object-fit:contain;display:block}
.cl-stamp--none{visibility:hidden}
.cl-pc-title{font-size:18px;font-weight:700;line-height:1.3;margin:0 0 6px;padding-right:64px}
.cl-pc-txt{flex:1;overflow-wrap:anywhere;padding-right:64px;margin-bottom:18px;font-style:italic;color:#141414}
.cl-pc-from{display:flex;align-items:center;gap:10px;padding-top:12px;border-top:1px solid #eeeeee;background:#fff;position:relative}
.cl-av--sm{flex-basis:28px;width:28px;height:28px;font-size:12px;line-height:28px}
.cl-pc-who{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.cl-pc-who a{font-size:14px;font-weight:500;color:#141414;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl-pc-who span{font-size:12px;color:#6e6e6e}
.cl-pc .cl-rm{margin:0;flex:0 0 auto}
.cl-pc .cl-react{margin-top:10px;background:#fff;position:relative}
.cl-wall-more{margin-top:12px}
.cl-wall-months{padding-top:10px;display:flex;gap:6px;flex-wrap:wrap}

/* your record */
.cl-k{display:flex;justify-content:space-between;padding:8px 0;border-top:1px solid #eeeeee;font-size:15px}
.cl-k:first-child{border-top:0;padding-top:0}.cl-k b{font-weight:500}

/* rules */
.cl-rules{margin:0;padding:0 0 0 18px;font-size:15px}.cl-rules li{margin:0 0 6px}

/* latest in the forum */
.cl-tr{display:flex;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #eeeeee}
.cl-tr:first-child{border-top:0;padding-top:0}
.cl-t{flex:1 1 200px;min-width:0}.cl-t b{display:block;font-weight:500}.cl-t span{font-size:14px;color:#6e6e6e}

/* members wall */
.cl-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:14px 8px}
.cl-m{text-align:center;font-size:12px;color:#6e6e6e;line-height:1.2;min-width:0}
.cl-m .cl-av{width:44px;height:44px;flex-basis:44px;margin:0 auto 5px;line-height:44px;font-size:16px}
.cl-m span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl-m .cl-s{font-size:10px;letter-spacing:-1px;display:block;margin-top:2px;min-height:12px}
.cl-m.me .cl-av{outline:2px solid #e62d2d;outline-offset:2px}

/* squat o'clock */
.cl-clock{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.cl-clock .cl-big{font-size:28px}
.cl-sub{font-size:14px;color:#6e6e6e}
.cl-live{color:#e62d2d;font-weight:500;font-size:14px}
.cl-oc-row{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:14px;color:#6e6e6e;flex-wrap:wrap}

/* messages */
.cl-msg{position:sticky;bottom:12px;margin:12px auto 0;max-width:420px;background:#fff;border:1px solid #e62d2d;color:#141414;padding:10px 14px;font-size:15px;text-align:center}

/* clubs overview (page node, ?page=index) */
.cl-index{display:grid;grid-template-columns:1fr;gap:16px}
.cl-card{display:block;background:#fff;border:1px solid #e2e2e2;color:#141414;text-decoration:none;overflow:hidden}
.cl-card:hover{border-color:#141414;color:#141414;text-decoration:none}
.cl-card.in{border-color:#e62d2d}
.cl-card-banner{display:block;width:100%;height:auto;aspect-ratio:2.5/1;object-fit:cover}
.cl-card-body{display:flex;align-items:center;gap:14px;padding:14px 16px}
.cl-card-emblem{width:64px;height:64px;flex:0 0 64px}
.cl-card-txt{flex:1;min-width:0;line-height:1.3}
.cl-card-txt b{display:block;font-size:20px;font-weight:700}
.cl-card-txt i{display:block;color:#6e6e6e;font-size:14px;margin:2px 0 6px}
.cl-card-txt span{display:block;font-size:14px;color:#6e6e6e}
.cl-card-go{flex:0 0 auto;padding:9px 18px;border:1px solid #cccccc;font-size:14px;color:#141414}
.cl-card:hover .cl-card-go{border-color:#141414}
.cl-card.in .cl-card-go{color:#6e6e6e}
.cl-card:not(.in) .cl-card-go{color:#e62d2d;font-weight:700;border-color:#e62d2d}
@media (min-width:700px){.cl-index{grid-template-columns:1fr 1fr;gap:20px}}

/* profile sidebar card (member_view, .dbp-clubs) */
.cl-pf-grid{display:grid;grid-template-columns:1fr;gap:0}
.cl-pf{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #eeeeee;color:#141414;text-decoration:none}
.cl-pf:first-child{border-top:0;padding-top:0}
.cl-pf:last-child{padding-bottom:0}
.cl-pf:hover{color:#141414;text-decoration:none}
.cl-pf:hover b{color:#e62d2d}
.cl-pf-emblem{width:52px;height:52px;flex:0 0 52px}
.cl-pf-txt{flex:1;min-width:0;font-size:13px;color:#6e6e6e;line-height:1.35}
.cl-pf-txt b{display:block;color:#141414;font-weight:500;font-size:15px}
.cl-pf-txt>span{display:block}.cl-pf-txt .cl-s{display:inline}
.cl-pf-since{font-size:12px}
.cl-pf-badge{width:36px;height:36px;flex:0 0 36px;border:1px solid #e2e2e2}

/* desktop */
@media (min-width:700px){
  .cl-head{gap:20px;padding:22px 20px}
  .cl-emblem{flex-basis:110px;width:110px;height:110px}
  .cl-id h1{font-size:30px}
  .cl-in{padding:18px 20px}
  .cl-box h2{padding:14px 20px}
  .cl-grid{gap:16px;margin-top:16px;padding:0 20px 20px}
  .cl-big{font-size:34px}
}
@media (min-width:760px){
  .cl-grid{grid-template-columns:3fr 2fr}
  .cl-span2{grid-column:1/-1}
}
