.rules-page { color:var(--ink); background:var(--paper); }
.rules-layout { margin-left:258px; padding:36px 38px; }
.rules-wrap { width:100%; max-width:880px; margin:0; }
.rules-mast { background:transparent; }
.rules-mast .rules-wrap,.rules-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.rules-mast .rules-wrap { min-height:36px; justify-content:space-between; }
.rules-brand { display:none; }
.rules-brand img { display:block; width:174px; height:auto; }
.rules-lang { display:flex; gap:3px; padding:4px; border:1px solid var(--line); border-radius:12px; background:#e9eef5; }
.rules-lang a { padding:7px 10px; border-radius:8px; color:#6f8199; font-weight:600; font-size:.75rem; text-decoration:none; }
.rules-lang a[aria-current] { background:white; color:var(--blue); box-shadow:0 2px 4px #1027440b; }
main.rules-content { padding:0 0 36px; }
.rules-back,.rules-content p a { color:var(--blue); text-underline-offset:3px; }
.rules-back { display:inline-flex; gap:7px; align-items:center; padding:11px 14px; border:1px solid var(--line); border-radius:12px; background:#e9eef5; color:var(--blue); font-size:.75rem; font-weight:600; line-height:1.5; text-decoration:none; }
.rules-back:hover { background:#dfe7f1; }
.rules-heading { margin:20px 0 24px; }
.rules-content h1,.rules-content h2,.rules-content h3 { line-height:1.18; letter-spacing:-.025em; }
.rules-heading h1 { font-size:clamp(1.8rem,4.2vw,2.85rem); margin:7px 0 16px; }
.rules-title-main { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; }
.rules-pro-logo { display:block; width:140px; height:auto; flex:none; }
.rules-title-season { display:block; margin-top:14px; font-size:1rem; font-weight:500; letter-spacing:0; color:#52667d; }
.rules-heading .rules-season { color:#71523a; font-size:.815rem; font-weight:600; margin:0; }
.rules-season::before,.region-name::before { content:""; display:inline-block; width:8px; height:8px; border-radius:100%; margin-right:7px; background:#f57f26; }
.rules-content p,.rules-note { max-width:78ch; line-height:1.58; margin:.65em 0; }
.rules-heading ol,.rules-heading ul { max-width:78ch; padding-left:1.5em; line-height:1.58; margin:14px 0 22px; }
.rules-heading li { padding-left:4px; margin:9px 0; }
.rules-intro-block ol,.rules-intro-block ul { margin-bottom:0; }
.rules-intro-block li::marker { color:#eb6608; font-weight:600; }
.rules-intro-block h2 em { font-style:normal; }
.rules-heading > .rules-note { max-width:none; margin:18px 0 24px; padding:18px 22px; border-left:0; border-radius:20px; }
.rules-heading > .rules-note p { margin:0; }
.rules-panel { margin:14px 0; padding:clamp(17px,3vw,28px); border:1px solid var(--line); border-radius:20px; background:white; }
.rules-panel h2 { margin:0 0 15px; font-size:clamp(1.28rem,2.5vw,1.65rem); }
.rules-panel h3 { margin:19px 0 2px; font-size:1.02rem; }
.rules-panel h3+p { margin-top:.3em; }
.rules-panel p:last-child { margin-bottom:0; }
.rules-panel table { width:100%; border-collapse:collapse; font-size:.925rem; text-align:left; line-height:1.4; }
.rules-panel th,.rules-panel td { padding:11px 10px; vertical-align:top; border-bottom:1px solid var(--line); }
.rules-panel thead th { background:#edf2f8; color:#385473; font-size:.82rem; }
.rules-panel table { border-collapse:separate; border-spacing:0; border-radius:12px; overflow:hidden; }
.rules-panel thead th:first-child { border-top-left-radius:12px; }
.rules-panel thead th:last-child { border-top-right-radius:12px; }
.rules-panel tbody:last-child tr:last-child > :first-child,.rules-panel tfoot tr:last-child > :first-child { border-bottom-left-radius:12px; }
.rules-panel tbody:last-child tr:last-child > :last-child,.rules-panel tfoot tr:last-child > :last-child { border-bottom-right-radius:12px; }
.rules-panel th { font-weight:600; }
.rules-comparison { table-layout:fixed; }
.rules-comparison th:first-child { width:29%; }
.rules-note { border-left:3px solid #ef8b3c; padding:9px 14px; background:#fff6ee; border-radius:0 10px 10px 0; font-size:.9rem; margin:16px 0 0; }
.rules-note strong { display:block; margin-bottom:3px; }
.rules-places caption,.rules-footnote { color:#52667d; font-size:.82rem; }
.rules-places caption { text-align:left; padding:3px 0 9px; }
.rules-places td,.rules-places th:not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; }
.rules-places tfoot { background:#edf2f8; font-weight:700; }
.region-name::before { background:var(--region); }
.rules-footer { padding:10px 0; }
.rules-footer small { color:#657891; }
.rules-action { display:inline-flex; align-items:center; gap:12px; padding:12px 17px; border:1px solid var(--pro); border-radius:13px; background:#fff0e5; color:#a64400; text-decoration:none; font-weight:600; }
.rules-action:hover { background:#ffe2ca; border-color:#bd570e; }
@media(min-width:1600px) {
  .rules-layout { padding:45px 55px; }
}
@media(max-width:1250px) {
  .rules-layout { margin-left:220px; padding:30px 25px; }
}
@media(max-width:1050px) {
  .rules-layout { margin-left:192px; padding:27px 22px; }
}
@media(max-width:900px) {
  .rules-sidebar { display:none; }
  .rules-layout { margin:0; padding:0; }
  .rules-wrap { width:calc(100% - 40px); margin-inline:auto; }
  .rules-mast { background:#0d2d5b; }
  .rules-mast .rules-wrap { min-height:70px; justify-content:space-between; flex-wrap:wrap; padding-block:14px; gap:12px; }
  .rules-brand { display:block; flex-basis:100%; }
  .rules-lang { background:#ffffff1a; border-color:transparent; }
  .rules-lang a { color:white; }
  .rules-lang a[aria-current] { color:var(--blue); }
  main.rules-content { padding:20px 0 36px; }
}
@media(max-width:600px) {
  .rules-wrap { width:calc(100% - 24px); }
  .rules-mast .rules-wrap { min-height:60px; }
  .rules-brand img { width:147px; }
  .rules-heading { margin:10px 2px 20px; }
  .rules-title-main { gap:12px; }
  .rules-pro-logo { width:112px; }
  .rules-panel { padding:16px 12px; border-radius:16px; }
  .rules-panel td,.rules-panel th { padding:8px 4px; }
  .rules-panel table { font-size:.825rem; }
  .rules-panel thead th { font-size:.755rem; }
  .rules-comparison td,.rules-comparison th,.rules-places th { overflow-wrap:anywhere; hyphens:auto; }
  .rules-places { table-layout:fixed; }
  .rules-places th:first-child { width:32%; }
  .region-name::before { width:6px; height:6px; margin-right:4px; }
  .rules-note { padding:9px 10px; }
  .rules-heading > .rules-note { padding:16px; border-radius:16px; }
}
