:root{--canvas:#f5f7f8;--ink:#1e3441;--muted:#667b86;--line:#e0e8eb;--accent:#147d73;--accent-soft:#e7f4f0;--radius:16px;font-size:14px;color-scheme:light}body{background:var(--canvas);padding-bottom:92px}button,input,select,textarea{border-radius:10px;min-height:40px}button:focus-visible{outline-color:#42b4a4}.brand{height:76px;background:#fff;color:#213a44;border-bottom:1px solid var(--line);padding:12px 20px;gap:12px}.brand img{border-radius:12px;width:44px;height:44px;object-fit:contain}.brand b{font-size:17px;letter-spacing:1px}.brand small{color:#83939a;letter-spacing:1.6px;font-size:8px}.brand button{color:#46616b;background:#f5f8f8;border:1px solid var(--line);min-width:34px;padding:6px}.brand #import,.brand #oracleHelp{display:none}#edition{background:#edf5f2;color:#216b5d;font-size:10px}.production-time{display:none}.connection-status{border-radius:0;background:#fff!important;border-bottom:1px solid var(--line);color:#55747c!important}.next-intro{margin:18px 16px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.next-intro small{letter-spacing:2px;font-size:9px;font-weight:700;color:#699087}.next-intro h1{font-size:27px;letter-spacing:-1px;font-weight:650;margin:4px 0}.next-intro p{font-size:11px;color:var(--muted)}.next-mark{width:52px;height:52px;border-radius:17px;background:#e5f1eb;display:grid;place-items:center;color:#177e6b;font-size:28px;flex-shrink:0}.next-nav{display:flex;gap:8px;overflow-x:auto;padding:0 16px 14px;scrollbar-width:none}.next-nav button{flex:none;background:#fff;border:1px solid var(--line);padding:9px 12px;font-size:11px}.next-nav button:first-child{background:#e7f4f0;border-color:#cbe6dc;color:#146a59}.top-controls{background:transparent;border:0;padding:4px 16px}.day-row{gap:8px}.day-row select{background:#fff;border:1px solid var(--line);font-weight:650}.tabs button{border-radius:9px;font-size:11px}.tabs button.active{background:#1d7c70;color:#fff}.races{padding:12px 16px;gap:8px}.races button{border:1px solid var(--line);border-radius:12px;min-width:49px;background:#fff}.races button.active{background:var(--race-tone);color:#fff;box-shadow:0 3px 12px #173d2517}.panel-tabs{margin:8px 16px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:13px}.panel-tabs button{font-size:10px;min-height:33px}.race-summary{border-radius:14px}.desk-filters{background:#fff;border-radius:12px;border:1px solid var(--line)}.desk-filters summary{font-size:12px;padding:12px;color:#42616a}#body{padding:0 16px 18px}#tools{padding-left:16px;padding-right:16px}.official-program{background:transparent}.official-race{border-radius:14px;margin-bottom:10px}.program-horse,.program-horse:nth-child(odd){margin:9px 0;border:1px solid var(--line);border-radius:15px;background:#fff;padding:14px;box-shadow:0 3px 12px #253c4405}.program-name button b{color:#243d49;font-size:14px;letter-spacing:.15px}.program-facts>span{background:#f5f8f9;border-color:#eaf0f2;border-radius:8px}.program-facts{gap:6px;margin-top:11px}.program-jockey{color:#48616b}.last-six{letter-spacing:3px}.analysis-overview{border-radius:14px;background:#eaf4f0}.analysis-panel,.panel-card,.result-card{border-radius:15px;border:1px solid var(--line);box-shadow:0 3px 12px #253c4404}.analysis-panel header{padding:14px;background:#fff;border-radius:15px 15px 0 0}.table-scroll{border-radius:12px}th{background:#f0f5f5;color:#526d77}.table-caption{font-size:10px;padding:12px}.atlas-title{padding:14px!important}.atlas-card{overflow:hidden}.atlas-matrix{background:#fff}.bottom{background:#fffffff5;border:1px solid #dfe9e5;box-shadow:0 -5px 24px #25484009;padding:8px 6px max(8px,env(safe-area-inset-bottom));height:auto;min-height:70px;backdrop-filter:blur(16px)}.bottom button{border-radius:12px;min-height:47px;color:#7b8c94}.bottom button.active{background:#e7f3ed;color:#137761}.bottom span{font-size:9px;letter-spacing:.4px}.bottom button.active:before{display:none}dialog{border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 90px #17383c30;max-width:900px;width:calc(100% - 24px);max-height:90dvh;padding:0}dialog::backdrop{background:#1b3c4955;backdrop-filter:blur(4px)}.social-head{padding:22px 20px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#f5faf7}.social-head h2{font-size:22px}.social-head small{color:#548479;font-size:9px;letter-spacing:2px}.social-tabs{display:flex;gap:7px;padding:14px 16px;overflow:auto;background:#fff}.social-tabs button{font-size:11px;flex:none}.social-content{padding:0 16px 20px}.social-card{padding:18px;border:1px solid var(--line);border-radius:14px;margin:10px 0;background:#fff}.social-card .meta{font-size:10px;color:#7a8e96;display:flex;justify-content:space-between;margin-bottom:10px}.social-card p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px}.social-card.announcement{border-left:3px solid #c49a52;background:#fffdf8}.social-form{display:grid;gap:10px;padding:16px;border-radius:14px;background:#eff6f3;margin:12px 0}.social-form textarea{width:100%;min-height:90px;background:#fff}.social-primary{background:#177d6b;color:#fff;border:0}.social-empty{padding:35px 20px;text-align:center;color:#738991}.social-status{font-size:12px;padding:10px;color:#a74d3a}.package-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.package-grid button{text-align:left;padding:17px;background:#fff;border:1px solid var(--line)}.package-grid strong{display:block;font-size:19px;margin-bottom:5px}.package-grid small{color:var(--muted)}.social-identity{background:#edf6f1;border-radius:13px;padding:16px;word-break:break-all}.social-identity code{display:block;font-size:11px;margin-top:6px}.winner-pill{display:inline-block;background:#d6f1df;color:#146236;border:1px solid #8acb9f;padding:4px 7px;border-radius:6px;font-weight:700}.coupon-result{padding:12px;background:#f7faf8;border-radius:12px;margin:10px 0;line-height:2}.social-contacts{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.social-contacts button{flex:1;background:#fff}body #toast{background:#24584c;color:white;border-radius:12px}@media(min-width:850px){.next-intro,.next-nav{max-width:1400px;margin-left:auto;margin-right:auto}.next-intro{padding:4px 22px}.next-intro h1{font-size:34px}.brand{padding-left:28px}.program-name button b{font-size:16px}.bottom{left:50%;transform:translateX(-50%);width:min(720px,100%);border-radius:18px 18px 0 0}.top-controls,#body,#tools,#raceSummary,#panels,#races,#status{max-width:1400px;margin-left:auto;margin-right:auto}.program-horse{padding:17px}}@media(max-width:400px){.brand{padding:10px 12px;gap:8px}.brand b{font-size:14px}.brand small{font-size:7px}.brand img{width:36px;height:36px}.brand button{font-size:10px}.next-intro h1{font-size:25px}}

@media(max-width:600px){.brand{height:60px}.next-intro{margin:12px 16px 10px}.next-intro h1{font-size:23px}.next-intro p{display:none}.next-mark{width:40px;height:40px;border-radius:12px;font-size:23px}.next-nav{padding-bottom:8px}.next-nav button{min-height:35px;padding:7px 10px}.races{padding:7px 16px}.races button{min-height:40px}.race-summary{padding:10px 12px}.panel-tabs{margin-top:6px;margin-bottom:6px}.desk-filters summary{padding:9px}.official-race{margin-bottom:6px}}
