/* 페이지 추가 및 페이지 간 이동용 스타일. 기존 common.css 규칙은 보존합니다. */
.site-member-nav { border-top: 1px solid #49382a; background: #1b1510; color: var(--muted,#caad8d); font: 12px/1.5 'Noto Sans KR','Malgun Gothic',sans-serif; }
.site-member-nav > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; max-width: 1660px; margin: auto; padding: 0 18px; }
.site-member-nav a { display: flex; align-items: center; min-height: 38px; white-space: nowrap; }
.site-member-nav a:hover,.site-member-nav a[aria-current=page] { color: var(--accent,#e3b467); }
.linked-page-heading { margin: 0 0 12px; color: var(--accent,#e3b467); font: 700 20px/1.5 'Noto Sans KR','Malgun Gothic',sans-serif; }
.page-family-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; font: 700 13px/1.5 'Noto Sans KR','Malgun Gothic',sans-serif; }
.page-family-tabs a { padding: 9px 14px; border: 1px solid #49382a; border-radius: 5px; background: #2c2119; color: var(--text,#f9ebd1); }
.page-family-tabs a:hover,.page-family-tabs a[aria-current=page] { border-color: var(--accent,#e3b467); color: var(--accent,#e3b467); }
.linked-reply { margin-top: 18px; padding: 22px; border: 1px solid #49382a; background: #1b1510; }
.linked-reply h2 { font-size: 16px; color: var(--accent,#e3b467); }
.linked-reply p { margin: 0; color: var(--muted,#caad8d); }
.linked-meta { margin-bottom: 18px !important; color: var(--muted,#caad8d); font-size: 12px; }
.linked-event-body { min-height: 280px; }
.linked-event-body p + p { margin-top: 18px; }
.extra-event-card a { display: block; }
.extra-event-card a:hover { color: var(--accent,#e3b467); text-decoration: underline; }
.linked-record-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.linked-record-tabs button { padding: 10px 24px; border: 1px solid #49382a; border-radius: 4px; background: #2c2119; color: var(--text,#f9ebd1); font: 700 14px/1.5 'Malgun Gothic',sans-serif; cursor: pointer; }
.linked-record-tabs button[aria-pressed=true] { background: var(--accent,#e3b467); color: #1a1512; }
.linked-record-panel .event-panel { width: 100%; }
.linked-record-panel .match-card { margin-bottom: 10px; }
.linked-record-panel .panel-heading-actions { display: none; }
.linked-record-panel .virtual-history-panel { margin-top: 24px; }
.linked-record-summary { margin: 12px 0 24px; padding: 16px; border: 1px solid #49382a; background: #2c2119; color: var(--accent,#e3b467); font-size: 13px; }
.linked-record-panel[hidden] { display: none !important; }
.linked-record-panel .virtual-history-table-wrap { overflow-x: auto; }
.linked-record-panel .virtual-history-table { min-width: 610px; }
.lucky-roulette { max-width: 756px; margin: auto; padding: 28px 24px 36px; background: radial-gradient(ellipse at 50% 38%,#8f213b33,transparent 62%),linear-gradient(155deg,#2c2119,#1b1510 70%); }
.lucky-roulette > h1 { margin: 0 0 18px; text-align: center; color: #fff; font: 900 34px/1.2 Impact,'Arial Narrow',sans-serif; }
.lucky-roulette > h1 > span { color: var(--accent,#e3b467); }
.roulette-wheel { position: relative; width: 620px; max-width: 100%; margin: auto; filter: drop-shadow(0 0 16px #ee2e5b33); }
.roulette-wheel svg { display: block; width: 100%; height: auto; }
.roulette-spin { position: absolute; top: 50%; left: 50%; width: 110px; height: 110px; padding: 0; transform: translate(-50%,-50%); border: 0; border-radius: 50%; background: transparent; color: #fff; font: 900 34px/1 Impact,'Arial Narrow',sans-serif; cursor: pointer; }
.roulette-spin:hover { color: var(--accent,#e3b467); }
.roulette-spin:focus-visible { outline: 2px solid var(--accent,#e3b467); outline-offset: 2px; }
.roulette-balance { width: 330px; max-width: 100%; margin: 42px auto 58px; padding: 10px; border: 1px solid #66482e; border-inline: 2px solid var(--accent,#e3b467); background: linear-gradient(140deg,#211b10,#070a0c 35%,#070a0c 65%,#382c18); box-shadow: inset 0 -2px #ff3d6a22; text-align: center; }
.roulette-balance p { margin: 0; font-size: 13px; }
.roulette-balance small { display: block; color: #a68973; font-size: 11px; }
.roulette-balance strong { display: block; margin-top: 5px; font-size: 24px; }
.roulette-history h2 { margin: 0 0 10px; font-size: 15px; }
.roulette-history .community-table-frame { border: 0; border-radius: 0; }
.roulette-history .community-table { min-width: 0; }
.roulette-history .community-table td { background: #070a0c99; }
.lucky-roulette .roulette-spin { font: 900 34px/1 Impact,'Arial Narrow',sans-serif; }
.linked-record-tabs button { font-family: 'Noto Sans KR','Malgun Gothic',sans-serif; }
.linked-record-panel.sports-page.virtual-sports-page { width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0; font-family: 'Noto Sans KR','Malgun Gothic',sans-serif; }
.linked-record-panel .event-panel { max-height: none; }
@media(max-width:1000px) {
  .site-member-nav > div { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding: 0 12px; }
  .site-member-nav a { flex: none; }
}
@media(max-width:760px) {
  .lucky-roulette { padding: 24px 8px; }
  .lucky-roulette > h1 { font-size: 29px; }
  .lucky-roulette .roulette-spin { width: 60px; height: 60px; font-size: 22px; }
  .roulette-balance { margin-top: 24px; margin-bottom: 36px; width: 270px; }
  .page-family-tabs { gap: 5px; }
  .page-family-tabs a { padding: 8px 10px; font-size: 12px; }
  .linked-record-panel .event-panel { overflow-x: auto; }
  .linked-record-panel .event-row { min-width: 500px; }
}
