.rules-page{max-width:900px;line-height:1.65}.rules-page h1{margin:4px 0}.rules-page h2{color:var(--gold)}.rules-page section{margin:24px 0;padding:18px 24px;border:1px solid #71543b;border-radius:16px;background:#2a2019}.rules-page a{color:#ffe3a6}.rules-nav{display:flex;gap:16px;flex-wrap:wrap}.rules-table-wrap{overflow-x:auto}.rules-page table{width:100%;border-collapse:collapse;text-align:left}.rules-page td,.rules-page th{padding:10px;border-bottom:1px solid #71543b}.rules-page .small-btn{white-space:nowrap}.rules-page .huge{display:inline-block;text-decoration:none}.rules-page .primary{color:#24180c}
@media(max-width:760px){.rules-page section{padding:12px 16px}.rules-page h1{font-size:26px}.rules-page table{font-size:13px}}
.tutorial-page h1{font:700 36px Georgia,serif;margin:4px 0}.tutorial-intro{color:var(--muted);line-height:1.5;max-width:800px}
.lesson-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:18px 0}
.lesson-nav button{min-height:44px;padding:8px;border:1px solid #71543b;border-radius:9px;background:#2a2019;color:var(--ink);font:inherit;cursor:pointer}
.lesson-nav button[aria-current="step"]{border-color:var(--gold);background:#534026}
.tutorial-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.tutorial-table-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px}.tutorial-table-heading h2{font-size:21px;margin:0}.tutorial-table-heading>span{color:var(--muted);font-size:12px;white-space:nowrap}
.tutorial-table{height:550px;border-width:6px}.tutorial-table .seat{min-width:70px}.tutorial-table .west{left:6px}.tutorial-table .east{right:6px}.tutorial-table .action-bubble{font-size:15px}.tutorial-table .partner-label{display:block;color:var(--gold);font-size:11px}
.tutorial-table .card-backs.vertical{height:110px}.tutorial-table .card-back{width:32px;height:46px}.tutorial-table .card-backs.vertical .card-back{margin-top:-33px}.tutorial-table .card-backs.vertical .card-back:first-child{margin-top:0}
.tutorial-table .hand-card{width:78px;flex-basis:78px;height:112px;margin-left:-25px}.tutorial-table .hand-card:first-child{margin-left:0}.tutorial-table .hand{height:150px}.tutorial-table .you{bottom:158px}
.tutorial-table .trick-area{width:240px;top:42%}.tutorial-table .trick-cards{width:210px;height:174px}.tutorial-table .played-card{width:58px;height:80px;font-size:20px;padding:5px}.tutorial-table .pos-north{left:76px;top:0}.tutorial-table .pos-you{left:76px;top:88px}.tutorial-table .pos-west{left:9px;top:44px}.tutorial-table .pos-east{left:143px;top:44px}
.tutorial-score{text-align:center;color:var(--muted);font-size:13px;line-height:1.5}
.tutorial-table .north{display:grid;grid-template-columns:auto auto;column-gap:10px;align-items:center}
.tutorial-table .north .seat-name{grid-column:1/-1}
.tutorial-table .north .action-bubble:not(:empty){margin:0;grid-column:2;grid-row:2}
.tutorial-table .north .card-backs{grid-column:1;grid-row:2}
.coach{position:sticky;top:12px;margin-top:60px;padding:20px;background:#2a2019;border:1px solid #866337;border-radius:16px;line-height:1.55}.coach h2{font:700 25px Georgia,serif}.coach p{margin:12px 0}.coach-detail{color:#eed6a9;border-top:1px solid #71543b;padding-top:12px}.tutorial-controls{display:flex;flex-direction:column;gap:8px}.tutorial-controls button{background:#e7bd69;color:#24180c;min-height:48px}.coach-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}.coach a{color:#ffe3a6}.coach .tutorial-disclaimer{font-size:12px;color:var(--muted)}#feedback:not(:empty){padding:8px;border-left:3px solid var(--gold);background:#413021}
@media(max-width:1000px){.tutorial-layout{grid-template-columns:1fr}.coach{position:static;margin-top:0}.tutorial-table{height:500px}.tutorial-table-heading{min-height:48px}}
@media(max-width:760px){.tutorial-page h1{font-size:28px}.tutorial-intro{font-size:14px}.lesson-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-nav button{font-size:13px}.tutorial-table{height:410px;min-height:410px}.tutorial-table .seat{font-size:12px}.tutorial-table .action-bubble{font-size:14px}.tutorial-table .card-backs.vertical{height:90px}.tutorial-table .card-back{width:27px;height:38px}.tutorial-table .card-backs.vertical .card-back{margin-top:-28px}.tutorial-table .hand{height:120px}.tutorial-table .you{bottom:124px}.tutorial-table .hand-card{width:64px;flex-basis:64px;height:96px;margin-left:-25px}.tutorial-table .trick-area{top:39%}.tutorial-table .trick-cards{width:164px;height:136px}.tutorial-table .played-card{width:44px;height:62px;font-size:16px}.tutorial-table .pos-north{left:60px;top:0}.tutorial-table .pos-you{left:60px;top:68px}.tutorial-table .pos-west{left:9px;top:34px}.tutorial-table .pos-east{left:111px;top:34px}.tutorial-table-heading h2{font-size:18px}.coach{padding:16px}.coach h2{font-size:23px}.tutorial-score{font-size:12px}}
@media(prefers-reduced-motion:no-preference){.tutorial-table .played-card{animation:tutorial-arrive .25s ease-out}@keyframes tutorial-arrive{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}}
