/* Alliance Wars - clan events tab (client/panels/clanevents.js) and the Thornback sheet (client/clanevents.js) */
.ce-tab .ce-card { margin-bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.ce-tab .sec-title { margin-top: 6px; }
.ce-hp { position: relative; height: 18px; border-radius: 9px; background: rgba(0,0,0,.35); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.ce-hp i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #b83a30, #e0574d); }
.ce-hp span { position: relative; display: block; text-align: center; font-size: 12px; font-weight: 800; line-height: 18px; }
.ce-acts { gap: 6px; }
.ce-acts .btn, .ce-card .btn { min-height: 40px; }
.ce-board { margin: 0; padding: 0 0 0 22px; font-size: 13px; }
.ce-board li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.ce-board li.me { color: #ffd34d; }
.ce-board li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ce-rules summary { cursor: pointer; font-size: 13px; font-weight: 800; opacity: .85; min-height: 40px; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.ce-rules summary::-webkit-details-marker { display: none; }
.ce-rules summary::after { content: '▾'; font-size: 12px; opacity: .8; transition: transform .15s; }
.ce-rules[open] summary::after { transform: rotate(180deg); }
.ce-rules ul { margin: 4px 0 0; padding-left: 18px; font-size: 12px; opacity: .9; }
.ce-hour select { min-height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.25); color: inherit; font: inherit; }
.ce-tg, .ce-day { gap: 8px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.ce-day.cur { background: rgba(255,211,77,.08); border-radius: 6px; }
.ce-dot { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.1); }
.ce-dot.w { background: #3f9a4a; } .ce-dot.l { background: #a8403a; }
.ce-vs { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 15px; flex-wrap: wrap; text-align: center; }
.ce-vs span { opacity: .7; }
.ce-md .ce-hp { margin: 8px 0; }
