/* 抽選・ランダムの各ページで共通の配置（色や見た目はサイト全体の base.css に任せる） */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.subnav a {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--text); font-size: 14px; background: var(--surface);
}
.subnav a[aria-current=page] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.bigresult { font-size: clamp(28px, 7vw, 56px); font-weight: 700; line-height: 1.3; word-break: break-word; text-align: center; min-height: 1.3em; }
.center { text-align: center; }
.hist { max-height: 240px; overflow: auto; margin: 8px 0 0; padding-left: 1.6em; font-size: 14px; }
.stage:fullscreen { background: var(--bg); padding: 24px; overflow: auto; display: flex; flex-direction: column; justify-content: center; }
.stage:fullscreen .bigresult { font-size: clamp(40px, 10vw, 120px); }
.btn.large { font-size: 18px; padding: 12px 28px; }
.wrapall { word-break: break-all; }
@media print { .subnav { display: none !important; } }
details.box { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; margin: 12px 0 0; }
details.box > summary { padding: 4px 0; }
/* ルーレットの画像の項目 */
.imglist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.imglist li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.imglist img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.imglist .nm { flex: 1 1 8em; word-break: break-all; }
#resultImg img { width: min(200px, 50vw); height: min(200px, 50vw); object-fit: cover; border-radius: 50%; }
