:root {
  --w: 600px;
  --gut: 10px;
  --bg: #000;
  --bar: #1e1e1e;
  --bar-hi: #2e2e2e;
  --line: #2a2a2a;
  --box: #404040;
  --box-line: #565656;
  --text: #b4b4b4;
  --head: #d6d6d6;
  --bright: #ececec;
  --live: #4aed05;
  --hover: #ffa200;
  --font: tahoma, verdana, arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 12px/1.5 var(--font); }
a { color: var(--head); text-decoration: none; }
a:hover { color: var(--hover); }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; }

.top { padding: 6px 0; }
.top .wrap { display: flex; justify-content: center; }
.top .logo { display: block; max-width: 100%; height: auto; }
.mark { font: bold 24px/1 var(--font); letter-spacing: 4px; color: var(--bright); }
.mark small { font-size: 11px; letter-spacing: 1px; color: var(--text); font-weight: normal; }

.nav { background: linear-gradient(var(--bar-hi), var(--bar)); border-top: 1px solid #3a3a3a; border-bottom: 1px solid #0a0a0a; }
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.nav img { display: block; }
.nav a { font: bold 11px/1 var(--font); color: #b4b4b4; padding: 6px 48px; border-right: 1px solid #444; }
.nav a:last-child { border-right: 0; }
.nav a:hover { color: #fff; background: #343434; }

.tune a { color: #dedede; text-decoration: underline; padding: 0 3px; }
.tune a:hover { color: var(--hover); }

.deck { background: #000; border-bottom: 1px solid var(--line); }
.deck img { display: block; width: 600px; max-width: 100%; height: 88px; object-fit: cover; object-position: right; margin: 0 auto; }

main.wrap { display: grid; grid-template-columns: 170px 1px 1fr; gap: 0 var(--gut); padding-block: 20px; }
.rule { background: var(--line); }
h1, h2 { margin: 0 0 7px; font: bold 13px/1.2 var(--font); color: var(--head); display: flex; align-items: center; gap: 6px; }
h1 img, h2 img { width: 9px; height: 9px; }
.side section + section, .main-col p + h2 { margin-top: 20px; }
.st { list-style: none; margin: 0; padding: 0; }
.st li { display: grid; grid-template-columns: 19px 1fr; gap: 0 7px; padding: 4px 0; align-items: center; }
.st .ico { grid-row: span 2; width: 19px; height: 17px; background: url(img/icon_bb.gif) no-repeat center; }
.st .soon .ico { opacity: .35; }
.st a.name:hover { color: var(--hover); }
.st .name { color: var(--head); font-size: 11px; }
.st .hint { font-size: 11px; color: #a8a8a8; }
.st li.on .name { color: var(--bright); font-weight: bold; }
.plain { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.plain li { padding: 2px 0; }
.main-col p { margin: 0 0 10px; text-align: justify; }
.hist li { display: grid; grid-template-columns: 62px 1fr; gap: 7px; }
.hist li span:first-child { color: #a8a8a8; }

.ec { margin-top: 20px; }
.ec + h2 { margin-top: 20px; }
.main-col .ec p { text-align: left; }
.ec-frame { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--box-line); background: #000; }
.ec-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ec-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 11px; }
.ec-row img { display: block; }

.discord p { margin: 0 0 7px; font-size: 12px; }
.discord a { font-weight: bold; }

.stn { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.stn-intro { margin: 0; }
.stn-top { display: flex; align-items: center; gap: 7px; }
.stn-top b { font-size: 13px; color: var(--bright); }
.tag { margin-left: auto; font-size: 11px; font-weight: bold; padding: 1px 4px; border: 1px solid var(--box-line); }
.tag.go { background: var(--live); border-color: var(--live); color: #000; }
.stn .hint { font-size: 11px; margin: 2px 0 7px; }
.stn .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; flex-wrap: wrap; }
.stn .row img { display: block; }

.player { border: 1px solid var(--box-line); background: #000; margin-bottom: 7px; }
.rt-embed { display: block; width: 100%; border: 0; margin-bottom: 7px; }
.p-head { display: flex; align-items: center; gap: 7px; padding: 4px 7px; background: linear-gradient(var(--bar-hi), var(--bar)); border-bottom: 1px solid #0a0a0a; font-size: 11px; color: #b4b4b4; }
.p-head img { width: 13px; height: 13px; }
.p-head b { font-size: 11px; color: var(--bright); }
.p-dj { border: 1px solid #444; padding: 0 4px; }
.is-live .p-dj { background: var(--live); border-color: var(--live); color: #000; font-weight: bold; }
.p-head .lis { margin-left: auto; }
.p-body { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 7px; }
.p-art { width: 64px; height: 64px; object-fit: cover; object-position: top; border: 1px solid var(--line); background: #0b0c24; display: block; }
.p-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.p-label, .p-meta { font-size: 11px; }
.p-title { font-size: 13px; font-weight: bold; color: var(--bright); }
.p-artist { font-size: 11px; color: var(--head); }
.one-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-foot { display: flex; align-items: center; gap: 10px; padding: 7px; border-top: 1px solid var(--line); font-size: 11px; }
.p-play { font: bold 12px/1 var(--font); color: var(--bright); background: linear-gradient(#3a3a3a, #262626); border: 1px solid var(--box-line); padding: 7px 18px; }
.p-play:hover { color: var(--hover); }
.p-play[aria-pressed="true"] { color: var(--live); }
.p-play:disabled { color: #858585; cursor: default; }
.p-play:focus-visible, .p-foot input:focus-visible { outline: 2px solid var(--bright); outline-offset: 2px; }
.p-foot label { display: flex; align-items: center; gap: 4px; }
.p-foot input { width: 80px; accent-color: #9e9e9e; }
.p-foot .state { margin-left: auto; }

footer .badge a { margin-left: 10px; }
footer .badge img { vertical-align: top; }

footer { text-align: center; font-size: 11px; }
footer .links { border-top: 1px solid var(--line); }
footer .links { padding-block: 7px; border-bottom: 1px solid var(--line); }
footer .links a { font-size: 11px; padding: 0 16px; }
footer .links span { color: #555; }
footer .badge { padding: 42px; }
footer .copy { padding-top: 10px; color: #a8a8a8; }

@media (max-width: 620px) {
  .wrap { padding: 0 10px; }
  .top { padding: 4px 0; }
  .mark { font-size: 20px; }
  .nav .wrap { padding: 0; }
  .nav img { display: none; }
  .nav a { flex: 1 1 0; padding: 8px 0; text-align: center; border-bottom: 1px solid #444; }
  .np .wrap { flex-wrap: wrap; }
  .tune { margin-left: auto; }
  main.wrap { grid-template-columns: 1fr; padding-top: 10px; }
  .ec-row { flex-wrap: wrap; }
  .main-col p { text-align: left; }
  .deck img { height: auto; }
  .rule { display: none; }
  .side { margin-bottom: 20px; }
  .stations-page .side { order: 2; margin: 20px 0 0; }
}
