/* Statistics V3 styles kept outside all article HTML. */
.orstats3{margin:1.5rem 0;color:inherit}.orstats3-head h2{margin:0 0 .4rem}.orstats3-head p,.orstats3-sample,.orstats3-meta{color:#667085;font-size:.91rem}.orstats3-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.orstats3-kpis>div{border:1px solid #d9e0e7;border-radius:12px;padding:16px;background:#f8fafc}.orstats3-kpis span,.orstats3-kpis small{display:block;font-size:.8rem}.orstats3-kpis strong{display:block;font-size:1.3rem;margin:6px 0;overflow-wrap:anywhere}.orstats3-negative{color:#b42318}.orstats3-positive{color:#067647}.orstats3-toolbar{margin-top:24px}.orstats3-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:12px 0}.orstats3-form label{display:flex;flex-direction:column;gap:4px;font-size:.86rem}.orstats3-form input,.orstats3-form select{max-width:100%;min-height:40px;border:1px solid #b8c4d2;border-radius:6px;padding:6px 8px;background:#fff;color:#182230}.orstats3-form button{min-height:40px;padding:6px 18px;border:0;border-radius:7px;background:#123d57;color:#fff;cursor:pointer}.orstats3-table-scroll{overflow-x:auto}.orstats3 table{width:100%;border-collapse:collapse;min-width:650px}.orstats3 th,.orstats3 td{padding:10px;text-align:left;border-bottom:1px solid #e4e7ec;font-size:.9rem}.orstats3 thead{background:#f2f5f9}.orstats3 tbody th{font-weight:600}.orstats3 tbody th small{display:block;color:#667085;font-weight:400}.orstats3-pagination{display:flex;align-items:center;justify-content:center;gap:24px;margin:18px 0}.orstats3-disclosure{margin-top:20px;padding:12px 16px;border-left:3px solid #8595a7;background:#f8fafc}.orstats3-disclosure h3{font-size:1rem;margin:0 0 6px}.orstats3-disclosure p{font-size:.84rem;line-height:1.7}.orstats3-notice{padding:12px;border:1px solid #dfd9b2}@media(max-width:800px){.orstats3-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.orstats3-kpis{grid-template-columns:1fr}}

/* ORIENTALRACING_V34_MOBILE_FIX_BEGIN
   V3-only mobile repair. No changes to existing Statistics V2, Hero or global CSS.
   Mobile: true inner margins, readable search filters, horizontally scrollable table.
*/
@media (max-width: 767px) {
  .orstats3,
  .orstats3 *,
  .orstats3 *::before,
  .orstats3 *::after {
    box-sizing: border-box;
  }

  .orstats3 {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 18px 0 26px;
    padding: 20px 16px 24px;
    border: 1px solid #e7d3ae;
    border-radius: 15px;
    background: #fffaf3;
    color: #142b37;
    overflow: hidden;
  }

  .orstats3 .orstats3-head,
  .orstats3 .orstats3-meta,
  .orstats3 .orstats3-toolbar,
  .orstats3 .orstats3-sample,
  .orstats3 .orstats3-disclosure {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .orstats3 .orstats3-head h2 {
    margin: 0 0 8px;
    color: #102f3b;
    font-size: 21px;
    line-height: 1.35;
  }
  .orstats3 .orstats3-head p,
  .orstats3 .orstats3-meta,
  .orstats3 .orstats3-sample {
    color: #526475;
    font-size: 13px;
    line-height: 1.75;
  }

  .orstats3 .orstats3-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 15px 0 12px;
    min-width: 0;
  }
  .orstats3 .orstats3-kpis > div {
    min-width: 0;
    padding: 13px 11px;
    border: 1px solid #d9e2e9;
    border-radius: 11px;
    background: #fff;
  }
  .orstats3 .orstats3-kpis span,
  .orstats3 .orstats3-kpis small {
    line-height: 1.5;
  }
  .orstats3 .orstats3-kpis strong {
    display: block;
    font-size: clamp(15px, 4vw, 20px);
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .orstats3 .orstats3-toolbar {
    margin-top: 20px;
  }
  .orstats3 .orstats3-toolbar h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.4;
    color: #102f3b;
  }
  .orstats3 .orstats3-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px 10px;
    margin: 0 0 15px;
  }
  .orstats3 .orstats3-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #243b4b;
    font-size: 14px;
    line-height: 1.5;
  }
  .orstats3 .orstats3-form label:nth-of-type(3),
  .orstats3 .orstats3-form label:nth-of-type(4) {
    grid-column: 1 / -1;
  }
  .orstats3 .orstats3-form input,
  .orstats3 .orstats3-form select {
    display: block;
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #b7c5d0;
    border-radius: 8px;
    background: #fff;
    color: #153345;
    font-size: 16px;
    line-height: 1.4;
  }
  .orstats3 .orstats3-form button {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: #113d4e;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
  }

  .orstats3 .orstats3-sample {
    margin: 8px 0 14px;
  }
  .orstats3 .orstats3-table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dce4e9;
    border-radius: 10px;
    background: #fff;
    scrollbar-width: thin;
  }
  .orstats3 .orstats3-table-scroll::before {
    display: block;
    width: 100%;
    padding: 8px 10px;
    background: #fff1ce;
    color: #624e1d;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    content: "← 左右滑動表格查看完整盈虧及回報率 →";
  }
  .orstats3 .orstats3-table-scroll table {
    width: 100%;
    min-width: 740px;
    max-width: none;
    margin: 0;
    border-collapse: collapse;
    table-layout: auto;
  }
  .orstats3 .orstats3-table-scroll th,
  .orstats3 .orstats3-table-scroll td {
    padding: 10px 11px;
    color: #23394a;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
  }
  .orstats3 .orstats3-table-scroll tbody th small {
    white-space: normal;
    max-width: 128px;
  }
  .orstats3 .orstats3-table-scroll .orstats3-positive { color: #067647; }
  .orstats3 .orstats3-table-scroll .orstats3-negative { color: #b42318; }
  .orstats3 .orstats3-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    font-size: 14px;
  }
  .orstats3 .orstats3-disclosure {
    margin-top: 18px;
    padding: 14px;
    border-left: 3px solid #d3a332;
    border-radius: 4px 8px 8px 4px;
    background: #f7f9fb;
    color: #284052;
  }
  .orstats3 .orstats3-disclosure p { color: #3a5363; line-height: 1.8; }
}
@media (max-width: 359px) {
  .orstats3 { padding: 18px 14px 22px; }
  .orstats3 .orstats3-kpis { grid-template-columns: 1fr; }
}
/* ORIENTALRACING_V34_MOBILE_FIX_END */