.player-top{max-width:1120px;margin:24px auto;padding:0 20px;color:var(--text-primary,#e4e7ec)}
.player-top header,.top-heading,.top-actions,.top-pager{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.player-top h1{font-size:2.2rem;margin:0 0 12px}.player-top h2{font-size:1.3rem;margin:0 0 16px}
.top-eyebrow{color:var(--link,#eac46c);letter-spacing:.08em;text-transform:uppercase;font-size:.8rem}
.top-muted,.player-top header p{color:var(--text-secondary,#a8b2c5);line-height:1.6}
.top-panel{margin:24px 0;padding:24px;background:var(--surface,#202635);border:1px solid var(--border,#525e7544);border-radius:14px}
.top-notice{padding:14px 18px;border-left:3px solid #eac46c;background:#d6b56112;line-height:1.5}
.player-top label{display:flex;flex-direction:column;gap:7px;font-size:.9rem}.player-top select,.player-top input[type=number]{padding:10px;border:1px solid var(--border,#65718a70);background:var(--background,#151b28);color:inherit;border-radius:6px;min-width:0;width:100%;box-sizing:border-box}
.player-top button{padding:10px 16px;border:1px solid var(--primary,#8a7652);background:color-mix(in srgb,var(--primary,#eac46c) 14%,var(--surface,#202635));color:var(--text-primary,#ffe5af);border-radius:6px;cursor:pointer}.player-top button:disabled{opacity:.45;cursor:default}.player-top :focus-visible{outline:2px solid var(--primary,#eac46c);outline-offset:3px}
.top-scroll{overflow-x:auto}.player-top table{border-collapse:collapse;width:100%;min-width:500px;text-align:left}.player-top th,.player-top td{padding:12px 10px;border-bottom:1px solid var(--border,#5b678444)}.player-top th{font-size:.8rem;color:var(--text-secondary,#a8b2c5)}.player-top a{color:var(--link,#eac46c);word-break:break-word}
.top-rule{padding:12px 0;border-bottom:1px solid #5b678444;line-height:1.6}.top-rule:last-child{border:0}.top-pager{justify-content:flex-end;margin-top:16px}
.top-edit-rule{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:14px;padding:20px 0;border-bottom:1px solid #5b678444}.player-top .top-check{flex-direction:row;align-items:center;gap:10px}.top-edit-rule .top-check{grid-column:1/4}.top-edit-rule button{grid-column:4/6;justify-self:end}.top-actions{margin-top:20px;justify-content:flex-start}.player-top [hidden]{display:none!important}
@media(max-width:650px){.player-top{padding:0 12px}.top-panel{padding:16px}.top-edit-rule{grid-template-columns:1fr 1fr}.top-edit-rule .top-check,.top-edit-rule button{grid-column:1/-1}.player-top header>label{width:100%}.player-top th,.player-top td{padding:10px 7px}}
