.score-intro{display:flex;align-items:end;justify-content:space-between;gap:24px}.score-intro .intro{max-width:510px}.score-note{padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:#f5e9dc;color:var(--muted);font-size:11px}.boards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:34px}.board{position:relative;overflow:hidden;padding:23px;border:1px solid var(--line);border-radius:22px;background:#fffdf9}.board:nth-child(2){background:#f4e8db}.board:nth-child(3){background:#f8f0e6}.board:nth-child(4){background:#efe0cf}.board-head{display:flex;align-items:center;gap:13px;padding-bottom:17px;border-bottom:1px solid var(--line)}.board-icon{width:47px;height:47px;display:grid;place-items:center;border-radius:15px;background:rgba(107,59,35,.1);font-size:22px}.board-head h2{margin:0;font-size:19px;letter-spacing:-.045em}.board-head p{margin:2px 0 0;color:var(--muted);font-size:10px}.board-top{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;margin-top:16px;padding:14px;border-radius:16px;background:linear-gradient(110deg,#6b3b23,#8c5433);color:#fffaf3}.rank{width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.35);border-radius:12px;font-size:15px;font-weight:900}.top-name{font-size:13px;font-weight:850}.top-caption{display:block;margin-top:2px;color:rgba(255,250,243,.73);font-size:9px}.title-badge{padding:7px 9px;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:#ffe0bc;font-size:9px;font-weight:850;white-space:nowrap}.board-empty{display:grid;place-items:center;min-height:94px;margin-top:10px;border:1px dashed rgba(107,59,35,.22);border-radius:15px;color:var(--muted);font-size:10px;text-align:center}.board-empty b{display:block;margin-bottom:2px;color:var(--coffee);font-size:11px}.score-footer{margin-top:20px;padding:15px 17px;border-radius:15px;background:#fff7ec;color:var(--muted);font-size:10px}
@media(max-width:700px){.score-intro{display:block}.score-note{display:inline-block;margin-top:16px}.boards{grid-template-columns:1fr}.board{padding:18px}}
.abuy-board{width:min(100%,510px);margin:18px auto 0;border:1px solid rgba(107,59,35,.16);border-radius:16px;background:rgba(255,253,249,.72);color:var(--coffee);font-size:11px}.abuy-board summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;cursor:pointer;list-style:none;font-weight:850}.abuy-board summary::-webkit-details-marker{display:none}.abuy-board summary:after{content:'＋';font-size:15px;color:var(--muted)}.abuy-board[open] summary:after{content:'−'}.abuy-board summary span{margin-left:auto;color:var(--muted);font-size:9px;font-weight:600}.abuy-board-content{padding:0 14px 13px}.abuy-ranks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.abuy-rank{padding:9px;border-radius:12px;background:#f6ecdf;text-align:center}.abuy-rank b{display:block;font-size:10px}.abuy-rank span{display:block;margin-top:3px;color:var(--muted);font-size:9px}.abuy-rank:nth-child(1){background:#efe0c6}.abuy-rank:nth-child(2){background:#f3ebe3}.abuy-rank:nth-child(3){background:#f4e5d7}.abuy-rank em{font-style:normal;font-size:13px;margin-right:3px}.abuy-name-form{display:flex;gap:7px;margin-top:10px}.abuy-name-form input{min-width:0;flex:1;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fffdf9;color:var(--coffee);font:inherit}.abuy-name-form button{padding:8px 11px;border:0;border-radius:10px;background:var(--coffee);color:#fffaf3;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.abuy-help{margin:7px 1px 0;color:var(--muted);font-size:9px;line-height:1.45}

/* Abuy fan medal icons. */
.rank-medal {
  display: inline-flex;
  vertical-align: -.16em;
  margin-right: 4px;
  font-size: 14px;
}
.rank-medal .cn-icon { stroke-width: 1.6; }
.medal-gold { color: #b0812f; }
.medal-silver { color: #8a8378; }
.medal-bronze { color: #a4653a; }

.title-badge .cn-icon { width: 11px; height: 11px; stroke-width: 2; }

/* Live board content (diisi oleh bot dari aktivitas server Discord). */
.board-body { min-width: 0; }
.board-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.board-person-text { display: flex; flex-direction: column; min-width: 0; }
.board-person-text .top-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-avatar { flex: none; width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: rgba(107, 59, 35, .12); color: var(--coffee); font-size: 11px; font-weight: 800; }
.board-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.board-top .board-avatar { width: 38px; height: 38px; background: rgba(255, 250, 243, .2); color: #fffaf3; }
.board-list { display: grid; gap: 7px; margin-top: 10px; }
.board-row { display: grid; grid-template-columns: 26px 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 13px; background: rgba(107, 59, 35, .06); }
.board-rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: rgba(107, 59, 35, .1); color: var(--coffee); font-size: 11px; font-weight: 900; }
.board-name { font-size: 12px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-meta { color: var(--muted); font-size: 9.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-score { color: var(--coffee); font-size: 11px; font-weight: 850; white-space: nowrap; }
@media (max-width: 420px) {
  .board-row { grid-template-columns: 24px 32px minmax(0, 1fr) auto; gap: 9px; }
  .board-row .board-avatar { width: 32px; height: 32px; }
  .board-score { font-size: 10px; }
}

/* Profil member: avatar + dekorasi, banner papan, dan modal profil. */
.board-top { grid-template-columns: 42px 44px minmax(0, 1fr) auto; gap: 12px; }
.board-top.has-banner { background-size: cover; background-position: center; }
.board-row { grid-template-columns: 26px 36px minmax(0, 1fr) auto; gap: 11px; }
.rank,
.board-rank { position: relative; z-index: 1; }
.board-person-text .top-caption,
.board-person-text .board-meta,
.board-person-text .board-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-avatar { position: relative; overflow: visible; }
.board-avatar > img:not(.lb-avatar-deco) { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.board-row .board-avatar { width: 36px; height: 36px; }
.board-top .board-avatar { width: 44px; height: 44px; }
img.lb-avatar-deco {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132%;
  height: 132%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}
.is-clickable { cursor: pointer; }
.board-row.is-clickable:hover { background: rgba(107, 59, 35, .12); }
.board-top.is-clickable:hover { filter: brightness(1.06); }
.is-clickable:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.lb-modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(28, 18, 12, .58); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lb-modal-backdrop[hidden] { display: none; }
.lb-modal { position: relative; width: min(100%, 460px); max-height: 88vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 22px; background: #fffaf3; box-shadow: 0 30px 70px rgba(41, 24, 15, .42); }
.lb-modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 250, 243, .4); border-radius: 12px; background: rgba(28, 18, 12, .45); color: #fffaf3; cursor: pointer; }
.lb-modal-close:hover { background: rgba(28, 18, 12, .7); }
.lb-modal-close .cn-icon { width: 17px; height: 17px; stroke-width: 2; }
.lb-modal-body { min-height: 120px; }
.lb-modal-loading { display: grid; place-items: center; min-height: 170px; padding: 24px; color: var(--muted); font-size: 13px; text-align: center; }
.lb-profile-head { position: relative; padding: 22px 20px 18px; border-radius: 21px 21px 0 0; background: linear-gradient(150deg, #6b3b23, #3a2114); background-size: cover; background-position: center; color: #fffaf3; }
.lb-profile-head::after { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(20,12,8,.12), rgba(20,12,8,.58)); content: ""; }
.lb-profile-identity { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.lb-profile-avatar { position: relative; flex: none; width: 72px; height: 72px; display: grid; place-items: center; }
.lb-profile-avatar > img:not(.lb-avatar-deco) { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255, 250, 243, .4); }
.lb-profile-names { min-width: 0; padding-right: 42px; }
.lb-profile-names h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.lb-profile-handle { margin: 3px 0 0; color: rgba(255, 250, 243, .78); font-size: 12px; }
.lb-profile-nick { margin: 4px 0 0; color: rgba(255, 250, 243, .62); font-size: 11px; }
.lb-profile-roles { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 20px 0; }
.lb-role { padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: #f4e8db; color: var(--coffee); font-size: 10.5px; font-weight: 700; }
.lb-profile-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px 20px 0; }
.lb-profile-facts .is-wide { grid-column: 1 / -1; }
.lb-profile-facts small { display: block; color: var(--muted); font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; }
.lb-profile-facts strong { display: block; margin-top: 2px; font-size: 12px; word-break: break-all; }
.lb-profile-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 20px 0; }
.lb-stat { position: relative; padding: 12px 13px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf9; }
.lb-stat strong { display: block; font-size: 14px; color: var(--ink); }
.lb-stat span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.lb-stat em { position: absolute; top: 10px; right: 11px; padding: 2px 7px; border-radius: 999px; background: #efe0cf; color: var(--coffee); font-size: 9.5px; font-style: normal; font-weight: 800; }
.lb-profile-bio { margin: 14px 20px 0; color: var(--muted); font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.lb-profile-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 0; }
.lb-profile-links a { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #f4e8db; color: var(--coffee); font-size: 11px; font-weight: 700; }
.lb-profile-actions { padding: 16px 20px 20px; }
.lb-profile-discord { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border-radius: 13px; background: var(--cocoa); color: #fffaf3; font-size: 12.5px; font-weight: 800; }
.lb-profile-discord:hover { background: var(--coffee); }
@media (max-width: 520px) {
  .board-top { grid-template-columns: 36px 40px minmax(0, 1fr); gap: 13px; row-gap: 10px; }
  .board-top .board-avatar { width: 40px; height: 40px; }
  .board-top .title-badge { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 420px) {
  .lb-profile-facts { grid-template-columns: 1fr 1fr; }
  .lb-profile-avatar { width: 66px; height: 66px; }
}
