/* 악보 업로드 요청 (/ko/requests/), shown where the score list is: requested songs as bubbles sized by how many
   asked, or as a ranked list. Colours and type come from theme.css. */
#library-view.requests-mode{grid-template-rows:auto minmax(0,1fr)}
#library-view.requests-mode>:is(.toolbar,.list-caption,#score-list,.pagination),#library-view.requests-mode .score-language-filter,#library-view.requests-mode .home-intro{display:none!important}
.request-board{min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 4px 40px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
.request-board>*{max-width:980px;margin-inline:auto}
.request-board .primary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 18px;border:0;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:14px;font-weight:700;white-space:nowrap}
.request-board .primary:hover:not(:disabled){background:var(--accent-hover)}
.rb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:6px auto 12px}
.rb-intro h2{margin:0 0 4px;font-family:var(--serif,Georgia,serif);font-size:24px;font-weight:600;color:var(--ink)}
.rb-intro p{margin:0;max-width:560px;font-size:13.5px;line-height:1.6;color:var(--muted)}
.rb-actions{display:flex;gap:8px;flex-wrap:wrap}
.rb-actions .button{min-height:38px;border-radius:999px;padding:7px 16px;font-weight:600}
.rb-bar{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin-bottom:10px}
.rb-seg{display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--green-tint)}
.rb-seg button{min-height:32px;padding:4px 14px;border:0;border-radius:999px;background:none;color:var(--muted);font-size:13px;font-weight:600}
.rb-seg button[aria-pressed=true]{background:var(--surface);color:var(--green);box-shadow:0 1px 3px rgb(0 0 0/10%)}
.rb-seg button:disabled{opacity:.45}
.rb-sort{min-height:34px;border:1px solid var(--line-strong);border-radius:999px;padding:4px 12px;background:var(--surface);color:var(--ink);font-size:13px}
.rb-admin{margin-left:auto;border-radius:999px}
.rb-stage{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:14px;min-height:220px}
.rb-note{margin:6px 0;font-size:13px;color:var(--muted)}
.rb-empty{display:grid;place-items:center;min-height:200px;text-align:center;color:var(--muted);font-size:14px}
/* Bubbles */
.rb-bubbles{display:block;width:100%;height:auto;max-height:min(68vh,640px);margin:0 auto}
.rb-bubble{cursor:pointer;outline:none}
.rb-bubble circle:first-child{transition:transform .15s,filter .15s;stroke:#ffffff;stroke-width:0}
.rb-bubble:hover circle:first-child,.rb-bubble:focus-visible circle:first-child{filter:brightness(1.08);transform:scale(1.03)}
.rb-bubble.picked circle:first-child{stroke:var(--gold);stroke-width:4}
.rb-bubble.mine circle:first-child{stroke:#ffffffcc;stroke-width:3}
.rb-bubble .rb-ring{fill:none;stroke:#ffffff8c;stroke-width:1.5;stroke-dasharray:4 4;pointer-events:none}
.rb-bubble text{fill:#fff;text-anchor:middle;dominant-baseline:middle;font-weight:700;pointer-events:none;font-family:inherit}
.rb-bubble .rb-bubble-count{font-weight:600;fill:#ffffffd9}
.rb-legend{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;margin:10px 4px 0;font-size:12.5px;color:var(--muted)}
/* A dot and its label stay together when the legend wraps. */
.rb-key{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.rb-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:-6px;vertical-align:-1px}
.rb-dot.score{background:var(--accent)}.rb-dot.original{background:var(--violet)}.rb-dot.reviewing{background:var(--amber)}.rb-dot.fulfilled{background:var(--faint)}.rb-dot.mine{background:none;box-shadow:inset 0 0 0 2px var(--ink)}
/* List */
.rb-list{list-style:none;margin:0;padding:0;display:grid}
.rb-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 6px;border-bottom:1px solid var(--line)}
.rb-row:last-child{border-bottom:0}
.rb-row.picked{background:var(--green-tint);border-radius:12px}
.rb-rank{font-family:var(--serif,Georgia,serif);font-size:17px;color:var(--muted);text-align:center}
.rb-row-main{display:grid;gap:2px;min-width:0;border:0;background:none;padding:0;text-align:left;color:var(--ink);cursor:pointer}
.rb-row-main:hover{background:none}
.rb-row-main strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb-row-main small{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb-status,.rb-type{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700;background:var(--green-soft);color:var(--green);white-space:nowrap}
.rb-status.reviewing{background:var(--gold-soft);color:var(--gold)}
.rb-status.fulfilled{background:var(--line);color:var(--muted)}
.rb-type.original{background:var(--violet-soft);color:var(--violet-text)}
.rb-plus{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:4px 12px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none;cursor:pointer}
.rb-plus:hover{border-color:var(--green);color:var(--green)}
.rb-plus[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--on-accent,#fff)}
.rb-plus.mine{cursor:default;color:var(--muted)}
.rb-plus.mine:hover{border-color:var(--line-strong);color:var(--muted)}
/* The picked song */
.rb-detail{margin-top:12px}
.rb-card{position:relative;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-1)}
.rb-card h3{margin:8px 0 2px;font-family:var(--serif,Georgia,serif);font-size:21px;font-weight:600;color:var(--ink)}
.rb-card-tags{display:flex;gap:6px}
.rb-artist{margin:0;color:var(--muted);font-size:13.5px}
.rb-count-line{margin:8px 0 12px;font-size:13.5px;color:var(--muted)}
.rb-count-line strong{color:var(--ink);font-size:15px}
.rb-card-actions{display:flex;gap:8px;flex-wrap:wrap}
.rb-card-actions .button{border-radius:999px}
.rb-close{position:absolute;right:10px;top:10px;width:32px;height:32px;min-height:32px;border:0;border-radius:50%;background:none;color:var(--muted)}
/* The administrator's list of score comments */
@media(max-width:560px){
 .rb-head{align-items:flex-start}
 .rb-intro h2{font-size:21px}
 .rb-row{grid-template-columns:26px minmax(0,1fr) auto;gap:8px}
 .rb-row .rb-status{display:none}
 .rb-stage{padding:8px;border-radius:16px}
 .rb-admin{margin-left:0}
}
