:root{--gold:#efa04f;--orange:#f28b2d;--red:#df312f;--ink:#171622;--cream:#fff4d9;--line:#ead8bd;--max:1080px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,"Open Sans",sans-serif;color:#222;background:#fff}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}.container{width:min(var(--max),calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:#ddd9d9}.nav-shell{width:min(1110px,calc(100% - 36px));height:88px;margin:auto;display:flex;align-items:center;gap:32px}.brand{width:150px;flex:none}.main-menu{display:flex;gap:34px;margin-left:auto;font-size:18px}.main-menu a:hover,.main-menu a.active{color:var(--red);font-weight:700}.account-actions{display:flex;gap:14px;margin-left:15px}.pill{padding:13px 22px;border-radius:28px;color:#fff;font-size:13px;font-weight:700}.pill:first-child{background:linear-gradient(135deg,#f8a23e,#ee722d)}.pill:last-child{background:linear-gradient(135deg,#e65049,#d42d29)}.menu-toggle{display:none;margin-left:auto;border:0;background:none;padding:8px}.menu-toggle span{display:block;width:28px;height:3px;margin:5px;background:#222}.page-hero{padding:58px 0 42px;background:url("assets/hero-bg.webp") center/cover no-repeat;text-align:center}.page-hero h1{margin:0;color:#e30613;font-size:42px;text-transform:uppercase}.page-hero p{max-width:760px;margin:15px auto 0;font-size:18px;line-height:1.6}.subnav{background:#1b1b23;color:#fff}.subnav .container{display:flex;justify-content:center;gap:10px;overflow:auto;padding:14px 0}.subnav a,.subnav button{flex:none;border:0;border-radius:22px;padding:10px 18px;background:#2d2d36;color:#fff;font-weight:700;cursor:pointer}.subnav a:hover,.subnav a.active,.subnav button.active{background:linear-gradient(#ffbd49,#ef8f32)}.page-section{padding:48px 0}.section-title{margin:0 0 30px;color:var(--gold);font-size:28px;text-align:center}.guide-tabs{display:flex;gap:10px;overflow:auto;margin-bottom:28px;padding-bottom:6px}.guide-tabs button{flex:none;padding:12px 18px;border:1px solid var(--line);border-radius:24px;background:#fff;font-weight:700;cursor:pointer}.guide-tabs button.active{border-color:transparent;background:linear-gradient(#ffbd49,#ef8f32);color:#fff}.tab-panel{display:none}.tab-panel.active{display:block}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.guide-card{overflow:hidden;border:1px solid #eee;border-radius:15px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.08)}.guide-card img{width:100%;height:250px;object-fit:cover;background:#f4f4f4}.guide-card .card-copy{padding:20px}.guide-card h2,.guide-card h3{margin:0 0 10px;color:#e98c31;font-size:20px}.guide-card p{margin:0;line-height:1.6}.step-list{display:grid;gap:22px;max-width:900px;margin:auto}.step{overflow:hidden;border:1px solid #eee;border-radius:15px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.07)}.step summary{cursor:pointer;list-style:none;padding:18px 58px 18px 22px;background:linear-gradient(#ffd938,#ffaf36);font-weight:700;position:relative}.step summary::-webkit-details-marker{display:none}.step summary:after{content:"+";position:absolute;right:24px;top:10px;font-size:30px}.step[open] summary:after{content:"−"}.step-body{padding:24px;line-height:1.65}.step-body img{max-height:680px;margin:18px auto 0;object-fit:contain}.rule-layout{display:grid;grid-template-columns:260px 1fr;gap:30px;align-items:start}.rule-nav{position:sticky;top:110px;display:grid;gap:10px;padding:18px;border-radius:14px;background:#171622}.rule-nav a{padding:11px 14px;border-radius:8px;color:#fff}.rule-nav a:hover,.rule-nav a.active{background:linear-gradient(#ffbd49,#ef8f32)}.rule-content{display:grid;gap:16px}.rule-card{border:1px solid #eee;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.06)}.rule-card summary{cursor:pointer;list-style:none;padding:20px 58px 20px 22px;color:#fff;background:#181525;border-radius:12px;font-weight:700;position:relative}.rule-card summary:after{content:"+";position:absolute;right:24px;top:13px;font-size:28px}.rule-card[open] summary:after{content:"−"}.rule-card[open] summary{border-radius:12px 12px 0 0}.rule-card div{padding:22px;line-height:1.72}.rule-card ul,.rule-card ol{padding-left:22px}.store-panel{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:820px;margin:0 auto 35px}.store-button{display:flex;align-items:center;justify-content:center;gap:16px;min-height:96px;padding:18px;border-radius:16px;background:#070707;color:#fff}.store-button .store-icon{font-size:44px}.store-button small{display:block;font-size:11px}.store-button strong{font-size:27px}.app-showcase{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;padding:30px;border-radius:22px;background:linear-gradient(135deg,#fff7e1,#fbd9a7)}.app-showcase img{max-height:390px;margin:auto}.notice{padding:16px 20px;border-left:5px solid var(--orange);background:#fff7e8;line-height:1.6}.site-footer{padding:34px 0 12px;background:#252525;color:#fff}.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:55px}.footer-grid h2{font-size:18px}.footer-grid p{line-height:1.55}.partner{text-align:center}.partner img{height:145px;margin:auto;object-fit:contain}.licenses{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.licenses img{width:100px;height:65px;margin:auto;object-fit:contain}.copyright{text-align:center;border-top:1px solid #444;margin:20px auto 0;padding-top:12px;font-size:12px}.reveal{opacity:0;transform:translateY(24px);transition:.55s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:900px){.nav-shell{height:74px}.brand{width:122px}.menu-toggle{display:block}.main-menu{display:none;position:fixed;top:74px;left:0;right:0;margin:0;padding:24px;background:#ddd9d9;flex-direction:column;align-items:center;box-shadow:0 8px 16px rgba(0,0,0,.15)}.main-menu.open{display:flex}.account-actions{display:none}.page-hero h1{font-size:34px}.guide-grid{grid-template-columns:1fr}.rule-layout{grid-template-columns:1fr}.rule-nav{position:static;display:flex;overflow:auto}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid section:last-child{grid-column:1/-1}}
@media(max-width:600px){.container{width:min(var(--max),calc(100% - 24px))}.page-hero{padding:38px 0 30px}.page-hero h1{font-size:27px}.page-hero p{font-size:16px}.section-title{font-size:22px}.guide-card img{height:auto}.store-panel,.app-showcase{grid-template-columns:1fr}.store-button strong{font-size:22px}.footer-grid{grid-template-columns:1fr}.footer-grid section:last-child{grid-column:auto}.step-body{padding:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}}

/* Guide image repair: preserve the source aspect ratio without cropping or stretching. */
.guide-grid{align-items:start}
.guide-card{align-self:start}
.guide-card img{width:100%;height:auto;object-fit:contain;object-position:center top}

/* Rules layout repair: keep every accordion visible and align tablet behavior with the shared header. */
.rule-card{scroll-margin-top:96px}
.rule-card.reveal{opacity:1;transform:none}
@media(max-width:1050px){
  .rule-layout{grid-template-columns:1fr;gap:20px}
  .rule-nav{position:static;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .rule-nav::-webkit-scrollbar{display:none}
  .rule-nav a{flex:0 0 auto;min-height:42px;display:flex;align-items:center;white-space:nowrap}
  .rule-card{scroll-margin-top:82px}
}

/* Complete rule pages: long-form copy and responsive data tables. */
.rules-summary{display:flex;align-items:center;gap:14px;margin:0 0 24px;padding:16px 18px;border:1px solid #eadada;border-radius:14px;background:#fff8f8;box-shadow:0 8px 22px rgba(116,12,20,.06)}
.rules-summary strong{color:#c61724;white-space:nowrap}.rules-summary span{color:#62595b;line-height:1.45}.expand-rules{margin-left:auto;flex:0 0 auto;padding:10px 16px;border:0;border-radius:22px;background:linear-gradient(135deg,#e92929,#b91522);color:#fff;font-weight:700;cursor:pointer;box-shadow:0 6px 14px rgba(185,21,34,.2)}
.rule-card summary{display:flex;align-items:center;gap:12px}.rule-card summary>span{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:50%;background:#fff0f0;color:#c61724;font-size:13px}.rule-card[open] summary>span{background:rgba(255,255,255,.2);color:#fff}
.rule-body{padding:24px!important;color:#342e30;line-height:1.72}.rule-body>h3{margin:24px 0 10px;color:#bd1624;font-size:18px}.rule-body>h3:first-child{margin-top:0}.rule-body>p{margin:0 0 14px}.rule-body>ul,.rule-body>ol{margin:10px 0 18px;padding-left:24px}.rule-body li{margin:6px 0}
.rule-table-wrap{width:100%;margin:16px 0 24px;overflow-x:auto;border:1px solid #eadada;border-radius:12px;background:#fff;box-shadow:0 5px 15px rgba(116,12,20,.05);-webkit-overflow-scrolling:touch}.table-caption{margin:0!important;padding:12px 16px;background:#fff3f3;color:#8f0d18;font-size:13px;font-weight:700}.rule-table{width:100%;min-width:560px;border-collapse:collapse;font-size:14px;line-height:1.45}.rule-table th,.rule-table td{padding:12px 14px;border-right:1px solid #efdede;border-bottom:1px solid #efdede;text-align:left;vertical-align:top}.rule-table th:last-child,.rule-table td:last-child{border-right:0}.rule-table tbody tr:last-child td{border-bottom:0}.rule-table th{background:linear-gradient(135deg,#e92929,#bd1624);color:#fff;font-weight:700}.rule-table tbody tr:nth-child(even){background:#fff7f7}.rule-table tbody tr:hover{background:#fff0f0}
@media(max-width:900px){.rules-summary{align-items:flex-start;flex-wrap:wrap}.rules-summary span{flex:1 1 55%}.expand-rules{margin-left:0}}
@media(max-width:600px){.rules-page{padding-top:28px}.rules-summary{gap:8px;padding:14px}.rules-summary strong,.rules-summary span{flex:1 1 100%}.expand-rules{width:100%}.rule-card summary{padding:16px 48px 16px 14px;line-height:1.35}.rule-card summary:after{right:17px;top:10px}.rule-body{padding:17px!important}.rule-table{min-width:520px;font-size:12.5px}.rule-table th,.rule-table td{padding:10px}.rule-body>h3{font-size:17px}}

/* Complete App download and installation guide. */
.app-page{background:linear-gradient(#fff,#fff7f7)}.app-hero-panel{display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:46px;align-items:center;margin-bottom:26px;padding:34px;border:1px solid #eadada;border-radius:24px;background:linear-gradient(135deg,#fff,#fff1f1);box-shadow:0 16px 40px rgba(116,12,20,.1)}
.app-visual{display:grid;place-items:center;min-height:360px}.app-visual img{width:100%;height:auto;object-fit:contain}.app-kicker{display:inline-block;margin-bottom:8px;color:#c61724;font-size:13px;font-weight:800;letter-spacing:1.6px}.app-intro h2{margin:0 0 12px;color:#b91522;font-size:clamp(25px,3.2vw,36px);line-height:1.18}.app-intro>p{margin:0 0 20px;color:#554d4f;line-height:1.68}
.app-download-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.app-download-card{display:grid;grid-template-columns:108px 1fr;align-items:center;gap:14px;min-height:92px;padding:12px 15px;border:1px solid #e7cdd1;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(116,12,20,.07);transition:transform .2s,box-shadow .2s,border-color .2s}.app-download-card:hover{transform:translateY(-3px);border-color:#e92929;box-shadow:0 13px 26px rgba(116,12,20,.14)}.app-download-card img{width:108px;height:auto}.app-download-card span{display:grid;gap:4px}.app-download-card strong{color:#b91522;font-size:16px}.app-download-card small{color:#706769}
.app-quick-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.app-quick-links a{padding:9px 13px;border:1px solid #eadada;border-radius:20px;background:#fff;color:#9b1320;font-size:13px;font-weight:700}.app-quick-links a:hover{border-color:#e92929;background:#fff1f1}.app-security-note{margin:0 0 34px;border-radius:0 12px 12px 0}
.app-guide-section{scroll-margin-top:92px;margin:0 0 42px;overflow:hidden;border:1px solid #eadada;border-radius:22px;background:#fff;box-shadow:0 14px 36px rgba(116,12,20,.09)}.app-guide-heading{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:15px;padding:20px 24px;background:linear-gradient(135deg,#fff3f3,#ffe5e5)}.app-guide-heading>span{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#e92929,#b91522);color:#fff;font-size:22px;font-weight:800;box-shadow:0 7px 16px rgba(185,21,34,.23)}.app-guide-heading p{margin:0 0 3px;color:#9b1320;font-size:11px;font-weight:800;letter-spacing:1.3px}.app-guide-heading h2{margin:0;color:#b91522;font-size:clamp(21px,3vw,29px)}.app-guide-heading>a{padding:11px 17px;border-radius:22px;background:linear-gradient(135deg,#e92929,#b91522);color:#fff;font-size:13px;font-weight:800;box-shadow:0 7px 16px rgba(185,21,34,.2)}
.app-guide-copy{padding:24px 28px 4px}.app-guide-copy ol{display:grid;grid-template-columns:1fr 1fr;gap:10px 34px;margin:0;padding:0;counter-reset:appstep;list-style:none}.app-guide-copy li{position:relative;min-height:46px;padding:9px 10px 9px 42px;border-radius:11px;background:#fff8f8;color:#4e4648;line-height:1.55;counter-increment:appstep}.app-guide-copy li:before{content:counter(appstep);position:absolute;left:10px;top:9px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e92929;color:#fff;font-size:12px;font-weight:800}.app-guide-image{margin:20px auto 0;padding:0 28px 28px}.app-guide-image img{width:min(700px,100%);height:auto;margin:auto;border:1px solid #eee2d6;border-radius:16px;background:#fffdf8;box-shadow:0 10px 25px rgba(78,47,12,.08)}.app-guide-image figcaption{max-width:700px;margin:12px auto 0;color:#766d6f;font-size:13px;text-align:center}
@media(max-width:900px){.app-hero-panel{grid-template-columns:1fr;gap:20px;padding:25px}.app-visual{min-height:0}.app-visual img{max-width:360px}.app-download-grid{max-width:650px}.app-guide-copy ol{grid-template-columns:1fr}.app-guide-section{scroll-margin-top:82px}}
@media(max-width:600px){.app-hero-panel{padding:18px;border-radius:18px}.app-visual img{max-width:300px}.app-download-grid{grid-template-columns:1fr}.app-download-card{grid-template-columns:96px 1fr;min-height:82px}.app-download-card img{width:96px}.app-quick-links{display:grid;grid-template-columns:1fr 1fr}.app-quick-links a{text-align:center}.app-quick-links a:last-child{grid-column:1/-1}.app-guide-heading{grid-template-columns:42px 1fr;gap:10px;padding:16px}.app-guide-heading>span{width:40px;height:40px;font-size:18px}.app-guide-heading>a{grid-column:1/-1;text-align:center}.app-guide-copy{padding:16px 16px 2px}.app-guide-copy li{font-size:14px}.app-guide-image{padding:0 10px 18px}.app-guide-image img{border-radius:10px}.app-security-note{margin-bottom:24px}}

/* Mobile structural fixes: keep every content column inside the viewport. */
.rule-layout,.rule-content,.rule-card,.rule-body,.rules-page .container{min-width:0;max-width:100%}
@media(max-width:1050px){
  .rule-layout{width:100%;grid-template-columns:minmax(0,1fr)}
  .rule-nav{width:100%;max-width:100%}
  .rule-content{width:100%}
  .rule-card{width:100%;overflow:hidden}
  .rule-body{width:100%;overflow:hidden}
  .rule-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
}
@media(max-width:600px){
  .rules-page .container{width:calc(100% - 20px)}
  .rule-layout{gap:14px}
  .rule-nav{padding:8px}
  .rule-nav a{min-height:40px;padding:9px 12px;font-size:14px}
  .rule-card summary{min-width:0;padding:14px 44px 14px 12px;font-size:15px}
  .rule-card summary>span{width:28px;height:28px;flex-basis:28px}
  .rule-body{padding:15px!important;font-size:14px;line-height:1.62}
  .rule-body>h3{margin-top:20px;font-size:16px;line-height:1.35}
  .rule-body p,.rule-body li{overflow-wrap:anywhere}
  .rule-table-wrap{margin:13px 0 19px;border-radius:10px}
  .rule-table{width:100%;min-width:0;table-layout:fixed;font-size:12px;line-height:1.4}
  .rule-table th,.rule-table td{padding:9px 8px;overflow-wrap:anywhere;word-break:normal}
  .table-caption{padding:10px 12px;font-size:12px;line-height:1.4}
  .guide-tabs{margin-left:-2px;margin-right:-2px;padding:2px 2px 8px}
  .guide-tabs button{padding:10px 14px;font-size:13px}
  .guide-card .card-copy{padding:16px}
  .guide-card h2,.guide-card h3{font-size:18px;line-height:1.35}
  .guide-card p{font-size:14px;line-height:1.55}
  .step{border-radius:12px}
  .step summary{padding:15px 46px 15px 16px;font-size:15px;line-height:1.35}
  .step summary:after{right:16px;top:8px}
  .step-body{padding:15px;font-size:14px;overflow:hidden}
  .step-body img{width:100%;height:auto;max-height:none;object-fit:contain}
  .app-page{padding-top:28px}
  .app-hero-panel{gap:14px;margin-bottom:18px}
  .app-intro h2{font-size:23px}
  .app-intro>p{font-size:14px;line-height:1.55}
  .app-download-card{min-width:0;padding:10px}
  .app-download-card span{min-width:0}
  .app-download-card strong{font-size:14px;overflow-wrap:anywhere}
  .app-guide-section{margin-bottom:24px;border-radius:15px}
  .app-guide-heading h2{font-size:19px;line-height:1.25}
  .app-guide-copy li{min-width:0;overflow-wrap:anywhere}
  .app-guide-image{margin-top:14px}
  .app-guide-image img{width:100%;max-width:100%;height:auto}
}
