/* An image and two duration panels within the site's shared rounded card. */
#rules .card-wrap { background: #fff; }
#rules .card-wrap::before, #rules .card-wrap::after { content: none; }
#rules .duration-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
#rules .rl-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; margin: 0; border-radius: 50%; background: #f3eaf9; color: #7a3f9a; }
body #rules .h-left { margin: 0; padding-bottom: 8px !important; background: linear-gradient(90deg, #7a3f9a, #d8b6e0) left bottom / 80px 2px no-repeat; }
#rules .duration-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); align-items: stretch; gap: clamp(24px, 3vw, 44px); }
#rules .duration-art { position: relative; margin: 0; border: 1px solid #f2deec; border-radius: 28px; overflow: hidden; background: #fceff5; }
#rules .duration-art img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% center; border-radius: inherit; }
#rules .duration-art figcaption { position: absolute; right: 16px; bottom: 20px; max-width: calc(100% - 32px); padding: 0; background: none; color: #413141; text-shadow: 0 1px 6px #fff, 0 0 12px rgba(255,255,255,.8); font-family: 'Yuji Boku', cursive; font-weight: 400; font-size: clamp(23px, 2.4vw, 36px); line-height: 1.5; letter-spacing: .02em; transform: rotate(-1deg); transform-origin: right bottom; }
#rules .duration-intro { margin: 0 0 20px; font-size: 16px; line-height: 1.9; }
#rules .duration-intro strong { color: #7a3f9a; }
#rules .duration-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#rules .duration-panel { min-width: 0; padding: 0; border: 0; background: transparent; }
#rules .duration-panel h3 { display: grid; place-items: center; min-height: 54px; margin: 0 0 8px; padding: 10px 8px; border-radius: 999px; background: #efe8fb; font-size: 15px; line-height: 1.6; color: #66386f; text-align: center; }
#rules .duration-panel-bonus h3 { background: linear-gradient(95deg, #7e3fa8, #a846b4 55%, #d6479d); color: #fff; }
#rules .duration-panel-formula { margin: 0 0 8px; font-size: 12px; line-height: 1.7; color: #72567a; text-align: center; }
#rules .ct-table { table-layout: fixed; border-spacing: 0 8px; }
#rules .ct-table thead th { padding: 8px 4px; color: #72567a; font-size: 12px; letter-spacing: 0; }
#rules .ct-pill, #rules .ct-pill:hover { display: inline; background: none; color: inherit; padding: 0; font-size: inherit; box-shadow: none; transform: none; }
#rules .ct-table tbody th, #rules .ct-table tbody td { width: auto; padding: 12px 10px; border: 0; border-top: 1px solid #f0eafb; border-bottom: 1px solid #f0eafb; background: #fff; box-shadow: 0 8px 14px -12px rgba(104,84,200,.35); font-size: 15px; color: #3b2350; white-space: nowrap; }
#rules .ct-table tbody th { border-left: 1px solid #f0eafb; border-radius: 14px 0 0 14px; }
#rules .ct-table tbody td { border-right: 1px solid #f0eafb; border-radius: 0 14px 14px 0; }
#rules .duration-panel-bonus .ct-table tbody th, #rules .duration-panel-bonus .ct-table tbody td { background: #fff0f8; }
#rules .ct-table tbody td { text-align: right; font-variant-numeric: tabular-nums; }
#rules .ct-table thead th:last-child { text-align: right; }
#rules .ct-table tbody th small { margin-left: 3px; font-size: 11px; color: #72567a; }
#rules .ct-table tbody tr:last-child th, #rules .ct-table tbody tr:last-child td { color: #7a3f9a; font-weight: 700; }
#rules .duration-note { margin: 18px 0 22px; font-size: 12px; line-height: 1.9; color: #725f79; }
#rules .duration-details .btn { display: flex; width: fit-content; max-width: 100%; min-width: 0; margin: 0 auto; }
@media (max-width: 1100px) {
  #rules .duration-layout { grid-template-columns: 1fr; }
  #rules .duration-art { width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 1; }
  #rules .duration-art img { position: static; height: auto; }
  #rules .duration-art figcaption { font-size: clamp(25px, 5vw, 40px); }
}
@media (max-width: 480px) {
  body #rules .card-wrap { padding-left: 18px; padding-right: 18px; }
  #rules .duration-heading { gap: 10px; }
  body #rules .h-left { font-size: clamp(21px, 5.8vw, 27px) !important; }
  #rules .rl-ico { width: 38px; height: 38px; }
  #rules .rl-ico svg { width: 25px; height: 25px; }
  #rules .duration-art { border-radius: 22px; }
  #rules .duration-panels { gap: 10px; }
  #rules .duration-panel h3 { min-height: 64px; font-size: 13px; }
  #rules .duration-panel-formula { min-height: 3.4em; font-size: 11px; }
  #rules .ct-table tbody th, #rules .ct-table tbody td { font-size: 13px; }
}
@media (max-width: 350px) { #rules .duration-panels { grid-template-columns: 1fr; } #rules .duration-panel h3, #rules .duration-panel-formula { min-height: 0; } }
