/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: Pretendard, Noto Sans KR, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden] {
  display: none;
}
  html {
  scroll-behavior: auto;
}
  body {
  margin: 0px;
  font-family: Pretendard, Noto Sans KR, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink); background:var(--canvas);
}
  button,input,select,textarea { font:inherit; }
  button:disabled {
  cursor: default;
  opacity: 0.6;
}
  :focus-visible { outline:2px solid var(--brand);outline-offset:2px; }
  a,button { -webkit-tap-highlight-color:transparent; }
  .skip-link:not(:focus) { clip-path: inset(50%); }
  [id] { scroll-margin-top:76px; }

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}
.shell {
  margin-left: auto;
  margin-right: auto;
  width: min(1200px,calc(100% - 48px));
}
@media (max-width: 920px) {

  .shell {
    width: min(1200px,calc(100% - 28px));
  }
}
.page-shell {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  margin-top: 3rem;
  width: min(1200px,calc(100% - 48px));
}
@media (max-width: 920px) {

  .page-shell {
    margin-bottom: 38px;
    margin-top: 30px;
    width: min(640px,calc(100% - 28px));
  }
}
.card {
  overflow: hidden;
  border-radius: 14px;
  border-width: 1px;
  border-color: var(--line);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: var(--line);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-left: 18px;
  padding-right: 18px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-primary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: var(--brand);
  background-color: var(--brand);
  padding-left: 18px;
  padding-right: 18px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.btn-primary:hover {
  background-color: var(--brandHover);
}
.input,.field input {
  height: 50px;
  width: 100%;
  border-radius: 10px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(216 222 231 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-left: 14px;
  padding-right: 14px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.input:focus,.field input:focus {
  border-color: var(--brand);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.field {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}
.tab {
  border-bottom-width: 2px;
  border-color: transparent;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--muted);
}
.tab:hover {
  color: var(--brand);
}
@media (max-width: 500px) {

  .tab {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.tab.active {
  border-color: var(--brand);
  color: var(--brand);
}
.tab.\!active {
  border-color: var(--brand);
  color: var(--brand);
}
.page-button {
  display: inline-flex;
  height: 1.75rem;
  min-width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(223 229 236 / var(--tw-border-opacity));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(78 89 104 / var(--tw-text-opacity));
}
.page-button:disabled {
  --tw-text-opacity: 1;
  color: rgb(196 201 208 / var(--tw-text-opacity));
}
.table-cell {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}
@media (max-width: 600px) {

  .table-cell {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.content-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.content-table th,.content-table td {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(237 241 245 / var(--tw-border-opacity));
  padding-left: 18px;
  padding-right: 18px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  --tw-text-opacity: 1;
  color: rgb(63 75 88 / var(--tw-text-opacity));
}
.content-table th {
  background-color: var(--canvas);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.content-table th:nth-child(2),.content-table td:nth-child(2),.content-table th:nth-child(3),.content-table td:nth-child(3) {
  width: 150px;
  text-align: center;
}
.content-table tbody tr:last-child td {
  border-bottom-width: 0px;
}
.content-card {
  scroll-margin-top: 5rem;
  border-radius: 14px;
  border-width: 1px;
  border-color: var(--line);
  padding: 1.5rem;
}
@media (max-width: 920px) {

  .content-card {
    padding: 18px;
  }
}
.content-card h2 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}
.content-card p {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.8;
  --tw-text-opacity: 1;
  color: rgb(78 89 104 / var(--tw-text-opacity));
}
.orders-shell {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
  margin-top: 34px;
  width: min(1180px,calc(100% - 40px));
}
@media (max-width: 760px) {

  .orders-shell {
    margin-bottom: 92px;
    margin-top: 0.75rem;
    width: calc(100% - 16px);
  }
}
.orders-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 310px;
  align-items: flex-start;
  gap: 1.25rem;
}
@media (max-width: 760px) {

  .orders-layout {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.mentor-shell {
  margin-top: 2.25rem;
}
@media (max-width: 760px) {

  .mentor-shell {
    margin-top: 0.75rem;
  }
}
.mentor-shell .orders-layout {
  grid-template-columns: minmax(0,830px) 310px;
}
@media (max-width: 760px) {

  .mentor-shell .orders-layout {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.proto-shell {
  width: min(1180px,calc(100% - 48px));
}
@media (max-width: 760px) {

  .proto-shell {
    width: min(560px,calc(100% - 28px));
  }
}
.proto-layout {
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 1rem;
}
@media (max-width: 1080px) {

  .proto-layout {
    grid-template-columns: minmax(0,1fr) 280px;
  }
}
@media (max-width: 760px) {

  .proto-layout {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.order-cart {
  position: sticky;
  top: 84px;
  overflow: hidden;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(214 224 234 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(35 51 73 / var(--tw-text-opacity));
}
@media (max-width: 760px) {

  .order-cart {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: auto;
    z-index: 70;
    max-height: min(78dvh,620px);
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
  }

  .order-cart:not(.is-open) {
    display: none;
  }
}
.order-cart>header {
  position: sticky;
  top: 0px;
  z-index: 10;
  display: flex;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom-width: 1px;
  border-color: var(--line);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
}
.order-cart>header h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
}
.order-cart>header button {
  height: 2.25rem;
  width: 2.25rem;
  font-size: 1.5rem;
  line-height: 2rem;
}
@media (min-width: 761px) {

  .order-cart>header button {
    display: none;
  }
}
.order-cart-body {
  padding: 14px;
}
.cart-item {
  position: relative;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(214 224 234 / var(--tw-border-opacity));
  background-color: var(--soft);
  padding: 0.75rem;
  padding-right: 1.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
}
.cart-item>button {
  position: absolute;
  right: 0.25rem;
  top: 0.25rem;
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted);
}
.cart-item>strong {
  display: block;
  padding-right: 0.25rem;
  line-height: 1.25rem;
}
.cart-item>p {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--brand);
}
.cart-quick {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.375rem;
}
@media (max-width: 760px) {

  .cart-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cart-quick button {
  height: 2.25rem;
  border-radius: 0.25rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(214 224 234 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.cart-quick button:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity));
}
.cart-quick button:disabled {
  opacity: 0.4;
}
.order-cart-fab {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 60;
  display: flex;
  height: 3rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--brand);
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
@media (min-width: 761px) {

  .order-cart-fab {
    display: none;
  }
}
.order-cart-fab span {
  margin-left: auto;
  font-weight: 700;
}
.selection-board {
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(214 224 234 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 0.75rem;
}
.selection-button {
  display: flex;
  min-height: 2.75rem;
  min-width: 0px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 0.25rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(190 213 239 / var(--tw-border-opacity));
  background-color: var(--soft);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 15px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(25 56 91 / var(--tw-text-opacity));
}
.selection-button:disabled {
  opacity: 0.4;
}
.selection-button span {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.selection-button.right-choice {
  --tw-border-opacity: 1;
  border-color: rgb(241 199 202 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 248 248 / var(--tw-bg-opacity));
}
.selection-button[aria-pressed=true] {
  --tw-border-opacity: 1;
  border-color: rgb(11 97 216 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(238 246 255 / var(--tw-bg-opacity));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(11 97 216 / var(--tw-ring-opacity));
}
.ladder-scene {
  position: relative;
  aspect-ratio: 830/699;
  overflow: hidden;
  --tw-bg-opacity: 1;
  background-color: rgb(120 201 52 / var(--tw-bg-opacity));
}
.ladder-scene>svg {
  margin-left: auto;
  margin-right: auto;
}
.order-history {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(214 224 234 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.order-history>header {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom-width: 1px;
  border-color: var(--line);
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.order-history h2 {
  font-weight: 600;
}
.order-history table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1rem;
}
.order-history th {
  background-color: var(--canvas);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}
.order-history td {
  min-height: 46px;
  border-top-width: 1px;
  border-color: var(--line);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.proto-board {
  min-height: 768px;
  border-radius: 14px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(223 231 240 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 14px;
}
@media (max-width: 760px) {

  .proto-board {
    min-height: 400px;
  }
}
.sport-tabs {
  display: flex;
  width: min(565px,100%);
  border-radius: 16px;
  border-width: 1px;
  border-color: var(--line);
  padding: 5px;
}
.sport-tabs button {
  height: 38px;
  min-width: 0px;
  flex: 1 1 0%;
  border-radius: 0.75rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--muted);
}
.sport-tabs button[aria-selected=true] {
  border-color: var(--brand);
  background-color: var(--brand);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.proto-match {
  margin: 0.5rem;
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(223 231 240 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 0.5rem;
}
.proto-group {
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border-width: 1px;
  border-color: var(--line);
  background-color: var(--canvas);
}
.proto-group>header {
  display: flex;
  height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom-width: 1px;
  border-color: var(--line);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-left: 14px;
  padding-right: 14px;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.proto-group>header time {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--muted);
}
.proto-columns {
  display: grid;
  height: 38px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-radius: 0.75rem;
  border-width: 1px;
  border-color: var(--line);
  background-color: var(--canvas);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.proto-match>header {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--canvas);
  padding: 0.5rem;
  font-size: 11px;
  color: var(--muted);
}
.proto-odds {
  display: flex;
  min-height: 38px;
  min-width: 0px;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  border-radius: 0.25rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(214 224 234 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 13px;
}
.proto-odds:disabled {
  opacity: 0.4;
}
@media (max-width: 760px) {

  .proto-odds {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    font-size: 11px;
  }
}
.proto-odds[data-option=DRAW]{flex:.5;}
.proto-odds b {
  --tw-text-opacity: 1;
  color: rgb(255 36 52 / var(--tw-text-opacity));
}
.proto-odds[aria-pressed=true] b {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.proto-odds[aria-pressed=true] {
  border-color: var(--brand);
  background-color: var(--brand);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.proto-more {
  width: 54px;
  flex-shrink: 0;
  border-radius: 0.25rem;
  border-width: 1px;
  border-color: var(--line);
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--brand);
}
@media (max-width: 760px) {

  .proto-more {
    width: 38px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.\!visible {
  visibility: visible !important;
}
.visible {
  visibility: visible;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.bottom-6 {
  bottom: 1.5rem;
}
.left-1\/2 {
  left: 50%;
}
.left-4 {
  left: 1rem;
}
.right-3 {
  right: 0.75rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-2 {
  top: 0.5rem;
}
.z-10 {
  z-index: 10;
}
.z-\[100\] {
  z-index: 100;
}
.z-\[200\] {
  z-index: 200;
}
.z-\[69\] {
  z-index: 69;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.my-5 {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-0 {
  margin-top: 0px;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.table {
  display: table;
}
.table-cell {
  display: table-cell;
}
.grid {
  display: grid;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.\!h-9 {
  height: 2.25rem !important;
}
.\!h-\[120px\] {
  height: 120px !important;
}
.h-11 {
  height: 2.75rem;
}
.h-7 {
  height: 1.75rem;
}
.h-\[30px\] {
  height: 30px;
}
.h-\[38px\] {
  height: 38px;
}
.h-full {
  height: 100%;
}
.min-h-10 {
  min-height: 2.5rem;
}
.min-h-11 {
  min-height: 2.75rem;
}
.min-h-16 {
  min-height: 4rem;
}
.min-h-9 {
  min-height: 2.25rem;
}
.min-h-\[100dvh\] {
  min-height: 100dvh;
}
.min-h-\[130px\] {
  min-height: 130px;
}
.min-h-\[220px\] {
  min-height: 220px;
}
.min-h-\[50px\] {
  min-height: 50px;
}
.min-h-\[78px\] {
  min-height: 78px;
}
.min-h-\[86px\] {
  min-height: 86px;
}
.\!w-auto {
  width: auto !important;
}
.w-11 {
  width: 2.75rem;
}
.w-7 {
  width: 1.75rem;
}
.w-\[38px\] {
  width: 38px;
}
.w-full {
  width: 100%;
}
.w-max {
  width: -moz-max-content;
  width: max-content;
}
.min-w-0 {
  min-width: 0px;
}
.max-w-40 {
  max-width: 10rem;
}
.max-w-\[1350px\] {
  max-width: 1350px;
}
.max-w-\[440px\] {
  max-width: 440px;
}
.max-w-\[50\%\] {
  max-width: 50%;
}
.max-w-\[calc\(100\%-28px\)\] {
  max-width: calc(100% - 28px);
}
.max-w-full {
  max-width: 100%;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.border-collapse {
  border-collapse: collapse;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-full {
  --tw-translate-y: -100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-pointer {
  cursor: pointer;
}
.touch-none {
  touch-action: none;
}
.columns-1 {
  -moz-columns: 1;
       columns: 1;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-\[minmax\(0\2c 1fr\)_310px\] {
  grid-template-columns: minmax(0,1fr) 310px;
}
.grid-cols-\[minmax\(0\2c 1fr\)_48px_minmax\(0\2c 1fr\)\] {
  grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr);
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.place-items-center {
  place-items: center;
}
.content-start {
  align-content: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-\[14px\] {
  gap: 14px;
}
.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}
.gap-y-1 {
  row-gap: 0.25rem;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.break-words {
  overflow-wrap: break-word;
}
.break-all {
  word-break: break-all;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-\[\#2c4559\] {
  --tw-border-opacity: 1;
  border-color: rgb(44 69 89 / var(--tw-border-opacity));
}
.border-\[\#36546b\] {
  --tw-border-opacity: 1;
  border-color: rgb(54 84 107 / var(--tw-border-opacity));
}
.border-\[\#d8dee7\] {
  --tw-border-opacity: 1;
  border-color: rgb(216 222 231 / var(--tw-border-opacity));
}
.border-\[\#dbe4ed\] {
  --tw-border-opacity: 1;
  border-color: rgb(219 228 237 / var(--tw-border-opacity));
}
.border-\[\#edf1f5\] {
  --tw-border-opacity: 1;
  border-color: rgb(237 241 245 / var(--tw-border-opacity));
}
.border-brand {
  border-color: var(--brand);
}
.border-line {
  border-color: var(--line);
}
.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity));
}
.border-slate-100 {
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity));
}
.border-teal-100 {
  --tw-border-opacity: 1;
  border-color: rgb(204 251 241 / var(--tw-border-opacity));
}
.\!bg-red-700 {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity)) !important;
}
.bg-\[\#0b746a\] {
  --tw-bg-opacity: 1;
  background-color: rgb(11 116 106 / var(--tw-bg-opacity));
}
.bg-\[\#132638\] {
  --tw-bg-opacity: 1;
  background-color: rgb(19 38 56 / var(--tw-bg-opacity));
}
.bg-\[\#172434\] {
  --tw-bg-opacity: 1;
  background-color: rgb(23 36 52 / var(--tw-bg-opacity));
}
.bg-\[\#203e54\] {
  --tw-bg-opacity: 1;
  background-color: rgb(32 62 84 / var(--tw-bg-opacity));
}
.bg-\[\#234558\] {
  --tw-bg-opacity: 1;
  background-color: rgb(35 69 88 / var(--tw-bg-opacity));
}
.bg-\[\#f1f3f5\] {
  --tw-bg-opacity: 1;
  background-color: rgb(241 243 245 / var(--tw-bg-opacity));
}
.bg-\[\#f2f5f9\] {
  --tw-bg-opacity: 1;
  background-color: rgb(242 245 249 / var(--tw-bg-opacity));
}
.bg-\[\#f4f7fb\] {
  --tw-bg-opacity: 1;
  background-color: rgb(244 247 251 / var(--tw-bg-opacity));
}
.bg-\[\#f8f9fa\] {
  --tw-bg-opacity: 1;
  background-color: rgb(248 249 250 / var(--tw-bg-opacity));
}
.bg-\[\#f8fafc\] {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
}
.bg-\[\#fdd835\] {
  --tw-bg-opacity: 1;
  background-color: rgb(253 216 53 / var(--tw-bg-opacity));
}
.bg-\[var\(--canvas\)\] {
  background-color: var(--canvas);
}
.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity));
}
.bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}
.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity));
}
.bg-brand {
  background-color: var(--brand);
}
.bg-green-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / var(--tw-bg-opacity));
}
.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity));
}
.bg-rose-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity));
}
.bg-sky {
  background-color: var(--soft);
}
.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
}
.bg-teal-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 250 / var(--tw-bg-opacity));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-white\/85 {
  background-color: rgb(255 255 255 / 0.85);
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.p-0 {
  padding: 0px;
}
.p-1 {
  padding: 0.25rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.\!py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-\[18px\] {
  padding-left: 18px;
  padding-right: 18px;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-\[10px\] {
  padding-top: 10px;
  padding-bottom: 10px;
}
.py-\[14px\] {
  padding-top: 14px;
  padding-bottom: 14px;
}
.\!pr-16 {
  padding-right: 4rem !important;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.text-left {
  text-align: left;
}
.\!text-center {
  text-align: center !important;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-\[13px\] {
  font-size: 13px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.leading-5 {
  line-height: 1.25rem;
}
.leading-6 {
  line-height: 1.5rem;
}
.leading-7 {
  line-height: 1.75rem;
}
.leading-\[1\.35\] {
  line-height: 1.35;
}
.leading-\[1\.8\] {
  line-height: 1.8;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.\!text-muted {
  color: var(--muted) !important;
}
.text-\[\#0b746a\] {
  --tw-text-opacity: 1;
  color: rgb(11 116 106 / var(--tw-text-opacity));
}
.text-\[\#18263a\] {
  --tw-text-opacity: 1;
  color: rgb(24 38 58 / var(--tw-text-opacity));
}
.text-\[\#222\] {
  --tw-text-opacity: 1;
  color: rgb(34 34 34 / var(--tw-text-opacity));
}
.text-\[\#435d78\] {
  --tw-text-opacity: 1;
  color: rgb(67 93 120 / var(--tw-text-opacity));
}
.text-\[\#879aae\] {
  --tw-text-opacity: 1;
  color: rgb(135 154 174 / var(--tw-text-opacity));
}
.text-\[\#a8bfd0\] {
  --tw-text-opacity: 1;
  color: rgb(168 191 208 / var(--tw-text-opacity));
}
.text-\[\#c0d1e1\] {
  --tw-text-opacity: 1;
  color: rgb(192 209 225 / var(--tw-text-opacity));
}
.text-amber-900 {
  --tw-text-opacity: 1;
  color: rgb(120 53 15 / var(--tw-text-opacity));
}
.text-brand {
  color: var(--brand);
}
.text-coral {
  color: var(--coral);
}
.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity));
}
.text-muted {
  color: var(--muted);
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity));
}
.text-rose-900 {
  --tw-text-opacity: 1;
  color: rgb(136 19 55 / var(--tw-text-opacity));
}
.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.underline {
  text-decoration-line: underline;
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.shadow-\[inset_3px_0_\#75d9cd\] {
  --tw-shadow: inset 3px 0 #75d9cd;
  --tw-shadow-colored: inset 3px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-slate-900\/5 {
  --tw-shadow-color: rgb(15 23 42 / 0.05);
  --tw-shadow: var(--tw-shadow-colored);
}
.outline {
  outline-style: solid;
}
.\!filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.order-history.mentor-bet-history{border-radius:10px;color:#102033}
.mentor-bet-history>header{min-height:50px;padding:0 18px}
.mentor-bet-history h2{font-size:17px;font-weight:600;color:#13263b}
.history-all{font-size:12px;color:#536579}
.mentor-bet-history table{width:100%;min-width:0;table-layout:fixed}
.mentor-bet-history th,.mentor-bet-history td{height:46px;padding:7px 10px;border-top:0;border-bottom:1px solid #e9eef4;font-size:13px;line-height:1.5;font-weight:500;color:#102033;overflow-wrap:anywhere}
.mentor-bet-history th{background:var(--canvas);color:#536579;font-weight:600}
.mentor-bet-history th:first-child,.mentor-bet-history td:first-child,.mentor-bet-history th:nth-child(n+5),.mentor-bet-history td:nth-child(n+5){text-align:center}
.mentor-bet-history th:nth-child(3),.mentor-bet-history td:nth-child(3),.mentor-bet-history th:nth-child(4),.mentor-bet-history td:nth-child(4){text-align:right;font-variant-numeric:tabular-nums}
.mentor-bet-history .round-col{width:16%}.mentor-bet-history .choice-col{width:22%}.mentor-bet-history .amount-col{width:20%}.mentor-bet-history .result-col,.mentor-bet-history .delete-col{width:11%}
.history-detail{min-height:32px;text-align:inherit}.history-detail:hover{color:var(--brand);text-decoration:underline}
.history-result{display:inline-block;padding:3px 6px;border-radius:999px;background:#f1f3f5;color:#536579;font-size:12px;white-space:nowrap}
.history-delete{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #d6e0ea;border-radius:50%;background:#fff;color:#8b95a1;font-size:22px;line-height:1}
.history-delete:hover:not(:disabled){border-color:#b65a64;color:#b65a64}.history-delete:disabled{opacity:.35}
.history-actions{display:flex;gap:8px;flex-wrap:wrap;color:var(--brand);font-size:11px}.history-actions button{min-height:28px;text-decoration:underline}
.history-pagination{display:flex;align-items:center;justify-content:center;gap:4px;min-height:50px;padding:8px}
.history-pagination button{min-width:28px;height:28px;padding:0 6px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--muted);font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}
.history-pagination button[aria-current=page]{border-color:#f1f3f5;background:#f1f3f5;color:#212529}.history-pagination button:disabled{color:#c4c9d0}
.history-error{padding:12px;color:#b23d4b;font-size:13px}
#app>.page-shell:has(>.mentor-bet-history){margin-bottom:110px}
@media(max-width:760px){.mentor-bet-history>header{min-height:46px;padding:0 12px}.mentor-bet-history th,.mentor-bet-history td{height:44px;padding:5px 4px;font-size:11px}.mentor-bet-history .round-col{width:16%}.mentor-bet-history .choice-col{width:20%}.mentor-bet-history .amount-col{width:20%}.mentor-bet-history .result-col,.mentor-bet-history .delete-col{width:12%}.history-result{font-size:10px;padding:3px 4px}.history-pagination{min-height:46px}}
@font-face{font-family:Pretendard;src:url('/vendor/pretendard/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@media(max-width:920px){
  .content-table thead{display:none}.content-table,.content-table tbody,.content-table tr,.content-table td{display:block;width:100%!important}.content-table tr{padding:12px 14px;border-bottom:1px solid var(--line)}.content-table tbody tr:last-child{border-bottom:0}.content-table td{padding:0;border:0;text-align:left!important}.content-table td:nth-child(2),.content-table td:nth-child(3){display:inline-flex;width:auto!important;margin-top:6px;margin-right:12px;color:#7b8490;font-size:12px}.content-table td:first-child{line-height:1.35}.content-table td:only-child{display:flex;align-items:center;justify-content:center}.event-table thead{display:none}.event-table tbody,.event-table tr{display:block}.event-table tr{padding:12px 14px;border-bottom:1px solid var(--line)}.event-table tr:last-child{border-bottom:0}.event-table td{border:0!important;height:auto!important;padding:0!important;text-align:left!important}.event-table td:first-child{display:block;margin-bottom:7px}.event-table td[data-label]{display:inline-block!important;font-size:12px!important;color:#89919a!important;margin-right:12px}.event-table td[data-label]::before{content:attr(data-label);margin-right:3px}
}
/* Original Game canvas host geometry, overlay and fullscreen only. Renderer modules stay unchanged. */
.scene-wrap {
  position:relative;
  aspect-ratio:1.75;
  overflow:hidden;
  color:#f5fff9;
  background:
    linear-gradient(180deg,transparent 64%,#d5ffec13 64.25%,#10261f29 64.65%,#091612 100%),
    repeating-linear-gradient(90deg,transparent 0 calc(12.5% - 1px),#d7ffeb0b calc(12.5% - 1px) 12.5%),
    radial-gradient(ellipse at 34% 46%,#346b58 0%,#234f41 29%,transparent 69%),
    radial-gradient(ellipse at 85% 45%,#30594a 0%,#102820 62%,#0e211b 100%);
}
.scene-wrap canvas { display:block; width:100%; height:100%; }
.scene-logo {
  position:absolute;
  top:20px;
  left:22px;
  padding:8px 10px;
  border-radius:9px;
  background:#f7fcf8;
  pointer-events:none;
}
.scene-logo img { display:block; width:118px; height:auto; }
.scene-caption { position:absolute; top:20px; right:22px; text-align:right; pointer-events:none; }
.scene-caption span { display:block; color:#def4e8; font-size:12px; }
.scene-caption strong { display:block; font-size:28px; line-height:1.3; font-variant-numeric:tabular-nums; }
.stage-bottom { position:absolute; right:16px; bottom:14px; }
.scene-button { height:32px; padding:0 10px; border:1px solid #ffffff38; border-radius:7px; background:#102821d9; color:#f5fff9; font-size:12px; }
.scene-button:hover { background:#225544; }
.live-draw-content:fullscreen { display:grid; grid-template-rows:minmax(0,1fr) auto; width:100vw; height:100dvh; background:#102821; }
.live-draw-content:fullscreen .scene-wrap { min-height:0; aspect-ratio:auto; }
.live-draw-content .scene-wrap > canvas { position:absolute; inset:0; }
@media (max-width:600px) {
  .scene-wrap { aspect-ratio:1.22; }
  .scene-logo { top:12px; left:12px; padding:6px 8px; border-radius:7px; }
  .scene-logo img { width:92px; }
  .scene-caption { top:12px; right:12px; }
  .scene-caption strong { font-size:23px; }
  .stage-bottom { right:10px; bottom:10px; }
}

/* Source canvas history: x585, y230, 126px rows + 20px local scrollbar. */
.ladder-history{height:360px;width:126px;overflow-y:auto;overflow-x:hidden;color:white;text-align:center;scrollbar-width:none;scrollbar-color:#313943 #2d343c;overscroll-behavior:contain;touch-action:pan-y;}
.ladder-history::-webkit-scrollbar{display:none;}
.ladder-history::-webkit-scrollbar-track{background:#2d343c73;border-radius:10px;}
.ladder-history::-webkit-scrollbar-thumb{background:#313943f5;border-radius:10px;min-height:42px;}
.ladder-history>svg{display:block;flex-shrink:0;}
.ladder-scene [role=button]:focus-visible{outline:3px solid #fff05a;outline-offset:3px;}
.mentor-shell .selection-board>h2{height:46px;padding:0 18px;display:flex;align-items:center;border-radius:7px;}
.mentor-shell .selection-button{gap:7px;border-radius:7px;padding:0 12px;color:#102033;}
.mentor-shell .selection-button span{color:#e7333f;}
.mentor-shell .selection-button[aria-pressed=true],.mentor-shell .selection-button[aria-pressed=true] span{color:var(--brand);}
.ladder-scene button:focus-visible{outline:3px solid #fff05a;outline-offset:-3px;}
@media(max-width:760px){
 .mentor-shell .orders-layout{gap:12px;}
 .ladder-scene{border-radius:8px;}
 .mentor-shell .selection-board>h2{height:42px;padding:0 12px;font-size:15px;margin-bottom:10px;}
 .mentor-shell .ladder-selections{gap:10px;}
 .mentor-shell [data-ladder-market]{gap:6px;}
 .mentor-shell [data-ladder-market]:not([data-ladder-market=combo]){grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);}
 .mentor-shell .selection-button{min-height:42px;font-size:14px;padding:0 8px;}
 .mentor-shell .selection-button span{font-size:12px;}
}

.cart-round {
  margin-left: auto;
  margin-right: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--brand);
}
.order-cart .input {
  height: 42px;
  width: 100%;
  min-width: 0px;
}
/* Source cart dimensions; retain point balance, actual stake and validation messages. */
.order-cart{border-radius:10px}.order-cart-body{padding:14px 16px}.cart-empty{height:86px;display:grid;place-items:center;border:1px dashed #cbd8e6;border-radius:8px;color:#778ca5;font-size:12px;font-weight:600}.order-cart input{background:white}.cart-quick button{font-size:13px;font-weight:700}
@media(max-width:760px){.order-cart{border-radius:16px 16px 0 0}}
@media (min-width:761px) {
  .order-cart, .order-cart-reopen {
    --cart-top:109px;
    position:sticky; top:var(--cart-top); align-self:start;
  }
  .order-cart { max-height:calc(100dvh - var(--cart-top) - 12px); overflow-y:auto; }
  .proto-layout > :has(> .order-cart) { align-self:stretch; }
}
@media (min-width:761px) and (max-width:920px) {
  .order-cart, .order-cart-reopen { --cart-top:81px; }
}
@media (max-width:760px) {
  .order-cart-fab { bottom:calc(12px + env(safe-area-inset-bottom, 0px)); }
  .order-cart { padding-bottom:env(safe-area-inset-bottom, 0px); overscroll-behavior-y:contain; }
  .service-page:has(.order-cart) { padding-bottom:calc(60px + env(safe-area-inset-bottom, 0px)); }
  html:has(.order-cart-fab) { scroll-padding-bottom:calc(72px + env(safe-area-inset-bottom, 0px)); }
  #root:has(.order-cart-fab) .dh-back-top { bottom:calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* Wallet geometry from the crawled deposit/withdraw pages; live policy and ledger data. */
.money-page{display:flow-root;line-height:normal;min-height:620px;color:var(--ink)}
.money-shell{width:min(1040px,calc(100% - 48px));margin:34px auto 60px}
.money-tabs{display:inline-flex;gap:5px;padding:5px;margin-bottom:18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.money-tabs a{display:inline-flex;align-items:center;justify-content:center;min-width:112px;height:38px;padding:0 24px;border-radius:8px;color:var(--muted);font-size:14px;font-weight:700}
.money-tabs a[aria-current]{background:var(--brand);color:#fff}
.money-content-grid{display:grid;grid-template-columns:minmax(0,480px) minmax(0,1fr);gap:16px;align-items:start}
.money-card{min-width:0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.money-form-card,.money-notice{padding:20px}
.money-form,.money-form fieldset{display:flex;flex-direction:column;gap:14px;min-width:0}
.money-form fieldset{border:0;margin:0;padding:0}
.money-balance-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:var(--canvas)}
.money-balance-row span{color:#5f6b7a;font-size:13px;font-weight:600}
.money-balance-row strong{color:var(--brand);font-size:15px;font-weight:700;overflow-wrap:anywhere}
.money-reservation{font-size:12px;line-height:1.6;color:#5f6b7a}
.money-registered-pending{padding:13px 14px;border:1px solid #f1d1aa;border-radius:8px;background:#fff8ef;color:#a34e0c}
.money-registered-pending>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;font-weight:700}
.money-registered-pending strong{font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.money-registered-pending small{display:block;margin-top:6px;font-size:11px;line-height:1.6}
.money-summary{margin-bottom:18px}
.money-summary dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0}
.money-summary dl>div{min-width:0;text-align:center;border-right:1px solid var(--line)}
.money-summary dl>div:last-child{border-right:0}
.money-summary dt{padding:12px 8px;background:var(--canvas);color:#5f6b7a;font-size:12px;font-weight:600}
.money-summary dd{margin:0;padding:16px 8px;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.money-summary p{margin:0;padding:10px 14px;border-top:1px solid var(--line);color:#6b7480;font-size:11px;line-height:1.6}
@media(max-width:600px){.money-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.money-summary dl>div:last-child{grid-column:1/-1}.money-summary dd{padding:12px 6px}}
.money-amount-group{display:grid;gap:7px}
.money-amount-group label,.money-account h2{font-size:13px;font-weight:700}
.money-amount{position:relative}
.money-amount input{width:100%;height:42px;padding:0 34px 0 76px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:13px;font-weight:600;text-align:right;outline:none;font-variant-numeric:tabular-nums}
.money-amount input:focus{border-color:var(--brand)}
.money-amount span{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#6b7480;font-size:13px;pointer-events:none}
.money-reset{position:absolute;left:8px;top:50%;transform:translateY(-50%);height:28px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--canvas);color:#6b7480;font-size:12px;font-weight:700}
.money-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.money-quick button{width:100%;height:36px;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#303d4b;font-size:12px;font-weight:700}
.money-quick button:hover:not(:disabled){border-color:var(--brand);color:var(--brand);background:#f8fbff}
.money-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.money-form .money-actions{margin-top:2px}
.money-actions-single{grid-template-columns:1fr}
.money-actions button{height:42px;min-height:42px;padding:0 12px;border:0;border-radius:8px;font-size:14px;font-weight:700}
.money-actions .btn{background:var(--soft);color:var(--ink)}
.money-actions .btn-primary{background:var(--brand);color:#fff}
.money-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.money-text-button{color:#6b7480;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.money-account{display:grid;gap:10px}
.money-account-info{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--canvas)}
.money-account-info>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:8px 14px;border-bottom:1px solid var(--line)}
.money-account-info>div:last-child{border-bottom:0}
.money-account-info dt{flex-shrink:0;color:#5f6b7a;font-size:13px;font-weight:600}
.money-account-info dd{min-width:0;color:var(--ink);font-size:13px;font-weight:700;text-align:right;overflow-wrap:anywhere}
.money-account-empty{padding:16px 14px;border:1px solid var(--line);border-radius:8px;background:var(--canvas);font-size:13px;color:#5f6b7a}
.money-notice h2,.money-history h2{color:var(--ink);font-size:15px;font-weight:700}
.money-notice h2{padding-bottom:12px;margin-bottom:13px;border-bottom:1px solid var(--line)}
.money-notice ul{display:flex;flex-direction:column;gap:8px}
.money-notice li{position:relative;padding-left:14px;color:var(--muted);font-size:13px;line-height:1.55;font-weight:500;word-break:keep-all;overflow-wrap:anywhere}
.money-notice li:before{content:'';position:absolute;top:8px;left:0;width:5px;height:5px;border-radius:50%;background:var(--brand)}
.money-notice a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.money-info,.money-success,.money-error{padding:12px 14px;border-radius:8px;margin:0 0 14px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.money-info,.money-success{background:#eef6ff;color:#24527a}.money-error{background:#fff1f2;color:#b12946}.money-form .money-info{margin:0}
.money-history{margin-top:18px;padding:0}
.money-history h2{padding:15px 18px 12px;border-bottom:1px solid var(--line)}
.money-table{max-width:100%;overflow-x:auto}
.money-table table{width:100%;border-collapse:collapse;table-layout:fixed;background:#fff}
.money-table th,.money-table td{height:44px;padding:10px 14px;border-bottom:1px solid var(--line);color:#303d4b;font-size:13px;line-height:1.35;font-weight:600;text-align:left;vertical-align:middle;overflow-wrap:anywhere}
.money-table th{background:var(--canvas);color:#6b7480;font-size:12px;font-weight:700;white-space:nowrap}
.money-table th:first-child,.money-table td:first-child,.money-table th:nth-child(3),.money-table td:nth-child(3),.money-table th:nth-child(5),.money-table td:nth-child(5),.money-table th:last-child,.money-table td:last-child{text-align:center}
.money-table th:nth-child(2),.money-table td:nth-child(2){text-align:center}
.money-table th:nth-child(4),.money-table td:nth-child(4){text-align:right}
.money-table tbody tr:last-child td{border-bottom:0}
.money-table small{display:block;margin-top:5px;color:#63778b;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.money-table .money-rejection{color:#ad2e48}
.money-empty{text-align:center!important;font-weight:500!important}
.money-detail-button{min-height:28px;padding:0 7px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px;background:#fff}
.money-status{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.money-status.PENDING{background:#fff4e6;color:#c05014}.money-status.APPROVED{background:#e4f4ed;color:#17694b}.money-status.REJECTED{background:#ffedef;color:#ad2e48}
.money-pagination{display:flex;gap:12px;align-items:center;justify-content:center;padding:14px;border-top:1px solid var(--line);font-size:12px}
.money-page dialog{width:min(460px,calc(100% - 28px));font-size:14px;line-height:1.7}
.money-page dialog .money-account-info{margin:14px 0}
.money-page button:disabled{cursor:not-allowed;opacity:.5}
@media(max-width:920px){
  .money-shell{width:min(640px,calc(100% - 24px));margin:22px auto 38px}
  .money-content-grid{grid-template-columns:1fr;gap:16px}
  .money-tabs{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .money-tabs a{min-width:0}
  .money-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .money-form .money-actions{grid-template-columns:1fr}
  .money-table colgroup{display:none}
  .money-table th,.money-table td{height:40px;padding:8px 4px;font-size:10.5px;line-height:1.3}
  .money-table th{height:36px;font-size:10px}
  .money-table th:first-child,.money-table td:first-child:not(.money-empty),.money-table th:nth-child(3),.money-table td:nth-child(3){display:none}
  .money-table th:nth-child(2),.money-table td:nth-child(2){width:38%;text-align:left}
  .money-table th:nth-child(4),.money-table td:nth-child(4){width:25%}
  .money-table th:nth-child(5),.money-table td:nth-child(5){width:24%}
  .money-table th:nth-child(6),.money-table td:nth-child(6){width:13%}
  .money-table .money-empty{height:92px}
  .money-status{min-height:20px;padding:0 6px;font-size:10px}
  .money-table small{font-size:10px}
  .money-detail-button{min-height:32px;padding:0 4px;font-size:10px}
}

/* Lotto 6/45: reference HTML structure, scoped to the existing user application. */
.lotto-page{color:#163451;font-size:14px;min-height:650px}
.lotto-shell{width:min(1040px,calc(100% - 48px));margin:40px auto 64px}
.lotto-game-header{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:0 4px 20px}
.lotto-header-main,.lotto-round-panel,.lotto-timer-panel{display:flex;align-items:center;gap:8px}
.lotto-header-main{gap:22px}.lotto-round-panel>span,.lotto-timer-panel>span,.lotto-latest-panel>span{font-size:13px;color:#536780}
.lotto-round-panel strong{color:var(--brand);font-size:30px;font-weight:500}.lotto-round-panel small{color:#163451;font-size:16px;margin:0 3px}
.lotto-timer-panel strong{font-size:24px;font-weight:400;color:var(--brand);white-space:nowrap}
.lotto-latest-panel{display:flex;gap:12px;align-items:center}.lotto-latest-panel small{display:block;font-size:11px;color:#8190a3;margin-top:3px}
.lotto-latest-numbers,.lotto-line-balls{display:flex;align-items:center;gap:4px}.lotto-latest-numbers i{font-style:normal}
.lotto-ball{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;font-size:13px;color:white;font-weight:600}
.lotto-ball.yellow{background:#f6b832}.lotto-ball.blue{background:#4a8edb}.lotto-ball.red{background:#f45c66}.lotto-ball.dark{background:#5b6571}.lotto-ball.green{background:#43b866}.lotto-ball.empty{background:#f0f4f9;border:1px solid #e5edf6}
.lotto-source{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:11px;color:#7b8a9e;padding:9px 4px 14px}.lotto-source a{text-decoration:underline}.lotto-source strong{color:#bd6817;font-weight:500}
.lotto-game-board{display:grid;grid-template-columns:186px 350px minmax(0,1fr);gap:16px;padding:0 6px;align-items:stretch}
.lotto-mode-panel{display:grid;gap:8px;grid-template-rows:repeat(4,1fr)}.lotto-mode-panel button{padding:16px 15px;border:1px solid var(--line);border-radius:11px;text-align:left;min-width:0;background:#fff}.lotto-mode-panel button.is-active{border-color:var(--brand);background:var(--soft)}.lotto-mode-panel strong{display:block;font-size:13px;margin-bottom:7px;font-weight:600}.lotto-mode-panel .is-active strong{color:var(--brand)}.lotto-mode-panel span{display:block;font-size:12px;line-height:1.6;color:#62758e}
.lotto-number-picker{border:1px solid var(--brand);border-radius:13px;overflow:hidden;display:flex;flex-direction:column}.lotto-price-badge{background:var(--brand);color:#fff;text-align:center;font-size:21px;font-weight:600;padding:6px}.lotto-number-stage{padding:21px 27px 8px;flex:1;min-height:268px}.lotto-number-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px 7px}.lotto-number-grid button{height:28px;display:flex;align-items:center;justify-content:center;color:var(--brand);font-size:14px;border:1px solid var(--line);background:white;border-radius:0;position:relative}.lotto-number-grid button:hover{background:var(--soft)}.lotto-number-grid button.is-selected{color:white;background:var(--brand);border-color:var(--brand)}.lotto-auto-hint{margin:8px 0 0;color:#7b8a9e;font-size:11px;text-align:center}
.lotto-picker-actions{display:flex;justify-content:center;gap:10px;margin:8px 0 3px}.lotto-picker-actions button{color:var(--brand);border:1px solid var(--line);padding:0 7px;font-size:12px;min-height:26px}.lotto-feature-note{font-size:10px;text-align:center;color:#8490a2;margin-bottom:7px}.lotto-apply-row{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 26px;padding:13px 0 14px;font-size:13px}.lotto-apply-row select{border:1px solid #cbd9ec;border-radius:6px;padding:7px 12px;width:72px;background:white;height:36px}.lotto-apply-row>button{background:#393f48;color:white;border-radius:7px;min-width:68px;height:36px;font-weight:600}
.lotto-selected-panel{min-width:0;border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column;overflow:hidden}.lotto-selected-head{display:flex;align-items:center;justify-content:space-between;padding:10px 18px 20px;min-height:60px}.lotto-selected-head strong{font-weight:500}.lotto-selected-head>button,.lotto-line-actions button{border:1px solid #d4e1f2;border-radius:6px;padding:5px 12px;font-size:12px;color:#5d718a;background:white}.lotto-selected-list{display:grid;gap:9px;padding:4px 16px 16px;flex:1;align-content:start}.lotto-selected-line{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e6edf6;border-radius:10px;padding:9px 10px;min-height:46px}.lotto-line-name{font-size:12px;white-space:nowrap;text-align:left;min-width:54px}.lotto-selected-line.is-editing .lotto-line-name{color:var(--brand)}.lotto-line-balls{gap:3px}.lotto-line-balls .lotto-ball{width:25px;height:25px;font-size:12px}.lotto-line-actions{display:flex;gap:4px;flex-shrink:0}.lotto-line-actions button{padding:3px 7px;font-size:11px;white-space:nowrap}
.lotto-purchase-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px 0;border-top:1px solid #e6edf6}.lotto-purchase-bar span{display:block;color:#8490a3;font-size:12px;margin-bottom:3px}.lotto-purchase-bar strong{font-size:18px;font-weight:500}.lotto-purchase-bar .is-price{color:var(--brand)}.lotto-purchase-bar>button:disabled{background:#b8c4d3;color:#fff;opacity:1;font-size:15px;font-weight:600;height:44px;min-width:112px;border-radius:8px;cursor:not-allowed}#lotto-purchase-status{font-size:12px;color:#687b92;text-align:right;margin:6px 18px 12px}.lotto-feedback{font-size:12px;color:#687b92;min-height:18px;margin:10px 6px}
.lotto-history-card{border:1px solid var(--line);border-radius:12px;overflow:hidden}.lotto-history-scroll{overflow:auto}.lotto-history-card table{width:100%;border-collapse:collapse;text-align:center;font-size:13px;min-width:670px}.lotto-history-card th{background:#fbfcfe;font-size:12px;color:#73869e;font-weight:400;padding:13px 8px}.lotto-history-card td{border-top:1px solid #eaf0f6;padding:13px 8px}.lotto-history-card tbody tr:only-child td[colspan]{padding:14px}.lotto-saved-list h2{font-weight:600;margin-bottom:12px}.lotto-saved-list p{font-size:12px;color:#73869e;line-height:1.7}.lotto-saved-list>button{display:grid;gap:7px;width:100%;text-align:left;border:1px solid var(--line);border-radius:7px;padding:10px;margin-top:8px;font-size:12px}.lotto-empty{text-align:center;padding:35px 8px;font-size:13px;color:#73869e}
@media(min-width:921px) and (max-width:1120px){.lotto-game-board{grid-template-columns:160px 300px minmax(0,1fr);gap:10px}.lotto-number-stage{padding-left:18px;padding-right:18px}.lotto-selected-line{flex-wrap:wrap}.lotto-line-actions{margin-left:auto}.lotto-line-balls{margin-left:auto}.lotto-game-header{flex-wrap:wrap}}
@media(max-width:920px){.lotto-shell{width:calc(100% - 28px);max-width:640px;margin:26px auto 38px}.lotto-game-header{flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}.lotto-header-main{flex-wrap:wrap;gap:6px 18px}.lotto-timer-panel strong{font-size:21px}.lotto-latest-panel{flex-wrap:wrap;gap:8px}.lotto-game-board{grid-template-columns:minmax(0,1fr);padding:0;gap:14px}.lotto-mode-panel{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.lotto-mode-panel button{padding:12px;min-height:93px}.lotto-number-stage{padding:20px 24px 10px;min-height:0}.lotto-number-grid{gap:8px}.lotto-number-grid button{height:36px}.lotto-selected-head{padding-bottom:10px}.lotto-selected-list{padding:4px 12px 16px}.lotto-selected-line{display:grid;grid-template-columns:auto 1fr;padding:10px;gap:8px}.lotto-line-balls{justify-content:flex-end}.lotto-line-balls .lotto-ball{width:28px;height:28px}.lotto-line-actions{grid-column:1 / -1;justify-content:flex-end}.lotto-line-actions button{min-height:30px;padding:3px 12px}.lotto-source{line-height:1.6}.lotto-purchase-bar{padding:12px 12px 0;gap:7px}.lotto-purchase-bar strong{font-size:16px}.lotto-purchase-bar>button:disabled{min-width:90px}.lotto-history-card td[colspan]{text-align:left;padding-left:16px!important}.lotto-saved-list{min-height:230px}}
@media(max-width:360px){.lotto-number-stage{padding-left:16px;padding-right:16px}.lotto-mode-panel button{padding:10px}.lotto-latest-numbers{gap:3px}.lotto-ball{width:26px;height:26px}.lotto-line-balls .lotto-ball{width:26px;height:26px}.lotto-line-actions button{padding:3px 9px}.lotto-purchase-bar strong{font-size:14px}}


/* Shared brand styles */
#root { display: flex; flex-direction: column; min-height: 100dvh; }
#app { min-width: 0; flex: 1; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.page-shell, .money-shell, .lotto-shell {
  width: min(1120px, calc(100% - 48px)); margin: 42px auto 68px;
}
.page-title {
  margin: 0 0 24px; color: var(--ink); font-size: clamp(27px, 4vw, 38px);
  font-weight: 810; letter-spacing: -.045em; line-height: 1.2; overflow-wrap: anywhere;
}
.card, .content-card, .money-card, .order-history, .lotto-history-card {
  border-color: var(--line); border-radius: 18px; background: var(--surface);
}
.card, .money-card, .order-history { box-shadow: 0 2px 4px #0d312605; }
.btn, .btn-primary { min-height: 44px; font-size: 14px; border-radius: 10px; font-weight: 700; text-align: center; }
.btn-primary:hover:not(:disabled) { background: var(--brandHover); }
.input, .field input, .field textarea, .field select {
  width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 2px var(--soft); }
.field > span { min-width: 0; }
.field textarea { padding: 12px; }
.page-button { min-height: 36px; background: var(--surface); }
.service-state {
  display: flex; min-height: 100px; flex-direction: column; justify-content: center; align-items: center;
  gap: 12px; padding: 20px; text-align: center; color: var(--muted); font-size: 14px; overflow-wrap: anywhere;
}
.service-state[role=alert] { color: var(--coral); }
.service-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; margin-bottom: 16px; }
.service-tabs .tab { flex: 1; text-align: center; border: 0; border-radius: 8px; font-weight: 650; }
.service-tabs .tab.active { background: var(--soft); color: var(--brand); }
.service-dialog {
  width: min(640px, calc(100% - 28px)); max-height: min(88dvh, 780px); margin: auto; padding: 0;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink);
  box-shadow: 0 24px 56px #08291f36; overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere;
}
.service-dialog::backdrop { background: #08261eb0; }
.dialog-heading {
  position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 16px 8px 20px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.dialog-heading h2 { font-size: 18px; line-height: 1.25; font-weight: 760; }
.dialog-heading button { flex: 0 0 42px; height: 42px; color: var(--brand); font-size: 25px; border-radius: 9px; background: var(--soft); }
.dialog-content { padding: 20px; }
.detail-facts > div { display: grid; grid-template-columns: minmax(92px, .58fr) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); }
.detail-facts dd { font-weight: 700; }

#site-header { position: relative; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.utility-bar { border-bottom: 1px solid var(--line); background: var(--canvas); }
.header-member-bar, .header-auth-links, .utility-links, .header-balances { display: flex; align-items: center; gap: 18px; }
.header-member-bar { min-height: 40px; color: var(--muted); font-size: 12px; font-weight: 640; }
.utility-links { margin-right: auto; }
.header-member-bar a:hover, .header-member-bar button:hover { color: var(--brand); text-decoration: underline; }
.header-balances a, .header-profile { display: inline-flex; align-items: center; gap: 6px; }
.header-balances strong { color: var(--brand); font-variant-numeric: tabular-nums; }
.header-container { position: relative; display: flex; gap: clamp(16px, 3vw, 50px); align-items: center; min-height: 76px; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 9px; color: var(--deep); font-size: 24px; font-weight: 900; letter-spacing: -.065em; line-height: 1; }
.site-brand small { display: block; margin-top: 3px; font-size: 9px; font-weight: 850; letter-spacing: .32em; }
.brand-emblem { display: grid; width: 41px; height: 41px; place-items: center; background: var(--dark); border-radius: 14px; }
.brand-emblem span { width: 28px; height: 28px; background: var(--accent); clip-path: path('M14 0Q16 12 28 14Q16 16 14 28Q12 16 0 14Q12 12 14 0Z'); }
#main-nav { flex: 1; min-width: 0; }
.header-links { display: flex; justify-content: space-between; gap: 8px; }
.header-links a { display: flex; align-items: center; min-height: 43px; padding: 0 3px; font-size: 15px; font-weight: 720; white-space: nowrap; }
.header-links a:hover, .header-links a[aria-current] { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-links svg, .mobile-extra, .mobile-member-panel, #menu-toggle, .header-backdrop { display: none; }
.header-cta { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 42px; padding: 0 13px; border-radius: 10px; background: var(--soft); color: var(--brand); font-size: 13px; font-weight: 780; }
.header-cta:hover { background: var(--accent); }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { padding-block: 28px 22px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 17px; font-size: 13px; font-weight: 700; }
.footer-links a:hover, .footer-company a:hover { text-decoration: underline; }
.footer-company { margin-top: 17px; font-style: normal; line-height: 1.8; overflow-wrap: anywhere; }
.footer-institutions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 17px; }
.footer-institutions img { width: 104px; height: 24px; -o-object-fit: contain; object-fit: contain; -o-object-position: left center; object-position: left center; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--line); }
.footer-bottom small { font-size: inherit; }

/* Home */
.home-dashboard { padding-block: 40px 56px; }
.home-lead { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 20px; }
.home-lead h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1; font-weight: 860; letter-spacing: -.055em; }
.home-top { display: grid; grid-template-columns: minmax(0, 2.24fr) minmax(280px, 1fr); gap: 18px; }
.draw-panel { position: relative; isolation: isolate; overflow: hidden; min-width: 0; padding: 29px 34px 25px; border-radius: 22px; color: var(--surface); background: linear-gradient(112deg, var(--deep), var(--dark)); }
.draw-orbits { position: absolute; z-index: -1; width: 455px; height: 455px; top: -157px; right: -142px; border-radius: 50%; border: 1px solid #e7fac12c; background: radial-gradient(circle, #a9cfa83b, transparent 70%); pointer-events: none; }
.draw-orbits span { position: absolute; inset: 25px; border-radius: 50%; border: 1px solid #e7fac12c; }
.draw-orbits span:nth-child(2) { inset: 52px; }
.draw-orbits span:nth-child(3) { inset: 79px; }
.draw-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; font-size: 13px; color: #e0ecd9; }
.draw-label { display: inline-flex; align-items: center; gap: 6px; background: #ffffff15; border: 1px solid #ffffff26; color: var(--accent); border-radius: 100px; padding: 5px 10px; font-size: 12px; font-weight: 740; }
.draw-panel h2 { margin-top: 18px; font-size: clamp(29px, 4vw, 51px); font-weight: 880; line-height: 1.18; letter-spacing: -.055em; }
.draw-panel h2 span { font-weight: 600; }
.home-lotto-numbers { display: flex; align-items: center; gap: clamp(4px, 1vw, 11px); margin-block: 16px 23px; max-width: 100%; }
.home-lotto-ball { display: grid; place-items: center; flex: 0 1 58px; min-width: 0; aspect-ratio: 1; border-radius: 50%; background: var(--surface); color: var(--deep); font-size: clamp(15px, 3vw, 26px); font-weight: 860; box-shadow: inset 0 -5px 0 #10362d17; }
.home-lotto-ball:nth-child(-n+2) { background: var(--accent); }
.home-lotto-ball.bonus { border: 1px solid #b9d7ba; background: #c4e6c5; }
.home-lotto-plus { flex: 0 0 auto; color: #d6e8d6; font-size: 23px; font-weight: 520; }
.draw-bottom { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 15px; padding-top: 16px; border-top: 1px solid #ffffff2d; }
.draw-bottom dl { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.draw-bottom dt { color: #d6e8d6; font-size: 12px; font-weight: 620; }
.draw-bottom dt small { margin-left: 3px; }
.draw-bottom dd { font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.draw-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.draw-actions button, .hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; min-height: 42px; border-radius: 9px; font-size: 13px; font-weight: 730; }
.draw-actions button { border: 1px solid #ffffff54; color: var(--surface); }
.draw-actions button:hover:not(:disabled) { background: #ffffff1f; }
.hero-cta { background: var(--accent); color: var(--deep); }
.hero-cta:hover { background: var(--surface); }
.draw-panel :focus-visible { outline-color: var(--accent); }
.draw-status { margin-bottom: 12px; color: var(--surface); font-size: 13px; }
.draw-status button { margin-left: 8px; text-decoration: underline; }
.member-panel { padding: 21px 22px; }
.member-panel-title { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 780; }
.tile-icon { display: inline-grid; flex: 0 0 auto; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: var(--soft); color: var(--brand); }
.member-prompt { font-size: 23px; font-weight: 815; letter-spacing: -.04em; margin-top: 19px; }
.member-panel p { color: var(--muted); font-size: 14px; word-break: keep-all; overflow-wrap: anywhere; }
.member-login { display: flex; justify-content: space-between; width: 100%; margin-top: 21px; }
.member-signup { display: flex; width: -moz-fit-content; width: fit-content; align-items: center; gap: 4px; min-height: 38px; margin: 3px auto 0; font-size: 13px; color: var(--brand); font-weight: 690; }
.member-greeting { display: flex; align-items: center; gap: 4px; margin: 10px 0; font-size: 19px; overflow-wrap: anywhere; }
.member-greeting svg { flex-shrink: 0; margin-left: auto; }
.member-balance { display: grid; gap: 7px; }
.member-balance > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; background: var(--canvas); }
.member-balance dt { color: var(--muted); font-size: 13px; font-weight: 660; }
.member-balance dd { text-align: right; color: var(--brand); font-size: 17px; font-weight: 810; overflow-wrap: anywhere; }
.member-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.home-shortcuts { margin-block: 27px; }
.home-shortcuts h2 { margin-bottom: 11px; font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.home-shortcuts nav { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; }
.home-shortcuts a { display: flex; align-items: center; gap: 9px; min-height: 70px; padding: 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); font-size: 14px; }
.home-shortcuts a:hover, .home-feed li a:hover { background: var(--soft); }
.shortcut-arrow { margin-left: auto; flex: 0 0 auto; color: var(--muted); }
.home-bottom { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); gap: 18px; }
.home-feed header { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.home-feed h2 { font-size: 17px; font-weight: 790; }
.home-feed header a { display: flex; align-items: center; gap: 4px; margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.home-feed ul { padding-inline: 8px; }
.home-feed li + li { border-top: 1px solid var(--line); }
.home-feed li a { display: flex; align-items: center; min-height: 45px; gap: 8px; padding: 8px; border-radius: 6px; font-size: 14px; }
.home-feed li strong { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.home-feed li time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.home-feed li svg { flex-shrink: 0; color: var(--muted); }
.notice-tag, .mentor-result-values > span { padding: 2px 7px; border-radius: 5px; background: var(--canvas); color: var(--brand); font-size: 11px; font-weight: 750; }
.notice-tag.pinned { background: var(--accent); color: var(--deep); }
.mentor-result-values { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.feed-note { padding: 9px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* Member and financial forms */
.auth-shell { width: min(480px, calc(100% - 32px)); margin: 50px auto 64px; }
.auth-shell.auth-expanded { width: min(640px, calc(100% - 32px)); }
.auth-card { padding: 30px; border-top: 5px solid var(--brand); }
.auth-form, .auth-fields { display: grid; gap: 14px; }
.auth-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-form legend { padding: 0 7px; font-weight: 750; }
.auth-profile { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.signup-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-bottom: 18px; }
.signup-progress li { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 42px; padding: 5px 4px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; word-break: keep-all; }
.signup-progress li[aria-current] { background: var(--soft); border-color: var(--brand); color: var(--brand); }
.signup-progress li[data-complete=true] span { background: var(--soft); color: var(--brand); }
.signup-progress li span { display: grid; flex: 0 0 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--canvas); font-weight: 700; }
.signup-progress li[aria-current] span { background: var(--brand); color: var(--surface); }
.verified-code { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px; padding: 9px 12px; background: var(--soft); border-radius: 8px; font-size: 13px; overflow-wrap: anywhere; }
.verified-code button { min-height: 33px; color: var(--brand); font-weight: 750; text-decoration: underline; }
.form-status { border: 1px solid transparent; border-radius: 9px; padding: 10px 12px; font-size: 13px; overflow-wrap: anywhere; }
.form-status.success { background: var(--soft); color: var(--brand); }
.form-status.warning { background: #fff5df; color: #72480b; border-color: #f0dfba; }
.form-status.failure { background: #fdf0ea; color: var(--coral); }
.auth-card > .form-status { margin-bottom: 13px; }
.auth-agreement { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.55; }
.auth-agreement input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 3px; accent-color: var(--brand); }
.auth-agreement a, .auth-alternate a { color: var(--brand); font-weight: 740; text-decoration: underline; text-underline-offset: 3px; }
.auth-submit { min-height: 49px; margin-top: 3px; }
.auth-alternate { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.account-overview, .purchase-overview { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 19px; margin-bottom: 16px; }
.account-overview h2 { font-size: 21px; overflow-wrap: anywhere; }
.account-overview p { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.account-overview dl, .purchase-overview dl { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.account-overview dt, .purchase-overview dt { font-size: 13px; color: var(--muted); }
.account-overview dd, .purchase-overview dd { font-size: 16px; color: var(--brand); font-weight: 800; overflow-wrap: anywhere; }
.account-overview nav { display: flex; flex-wrap: wrap; gap: 6px; }
.account-layout { display:grid; grid-template-columns:minmax(185px,224px) minmax(0,1fr); align-items:start; gap:22px; }
.account-sidebar { padding:12px; }
.account-identity { display:flex; align-items:center; gap:10px; padding:9px 7px 14px; margin-bottom:8px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.account-identity svg { flex:none; color:var(--brand); }
.account-identity span { display:block; color:var(--muted); font-size:12px; }
.account-sidebar nav { display:grid; gap:3px; }
.account-sidebar nav a { display:flex; align-items:center; gap:9px; min-height:42px; padding:7px 8px; border-radius:8px; font-size:14px; font-weight:650; }
.account-sidebar nav a:hover,.account-sidebar nav a[aria-current=page] { background:var(--soft); color:var(--brand); }
.account-sidebar nav a svg { flex:none; }
.account-sidebar nav a span { margin-left:auto; color:var(--brand); font-variant-numeric:tabular-nums; }
.account-sidebar-services { padding-top:7px; margin-top:6px; border-top:1px solid var(--line); }
.account-main { min-width:0; }
.account-profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.account-section-header { margin:0 0 12px; }
.account-section-header h2 { font-size:21px; font-weight:800; }
.account-section-header p { color:var(--muted); font-size:13px; }
.account-inquiries { display:grid; gap:14px; }
.account-inquiries .account-section-header { margin:0; }
.inquiry-compose { padding:18px; }
.inquiry-compose h3 { margin-bottom:12px; font-weight:750; }
.inquiry-compose-actions,.inquiry-card-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.inquiry-compose-actions p,.inquiry-card-head time,.inquiry-list time,.inquiry-reply time { font-size:12px; color:var(--muted); }
.inquiry-card-head { padding:14px 16px; border-bottom:1px solid var(--line); }
.inquiry-card-head h3,.inquiry-reply h3 { font-weight:750; overflow-wrap:anywhere; }
.inquiry-message,.inquiry-reply { padding:16px; white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px; }
.inquiry-reply { margin:0 16px 16px; background:#edf7f3; border:1px solid #c9e3d9; border-radius:10px; line-height:1.7; }
.inquiry-reply h3 { margin-bottom:8px; color:#135c4a; }
.inquiry-reply time { display:block; margin-top:8px; }
.inquiry-card-footer,.inquiry-pagination { display:flex; align-items:center; justify-content:flex-end; gap:8px; padding:10px 16px; border-top:1px solid var(--line); }
.inquiry-list a { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:10px; padding:13px 16px; font-size:14px; }
.inquiry-list a + a { border-top:1px solid var(--line); }
.inquiry-list a:hover { background:var(--canvas); }
.inquiry-list strong { overflow-wrap:anywhere; }
.inquiry-status { white-space:nowrap; border-radius:99px; padding:4px 8px; color:#73501c; background:#fff2d8; font-size:12px; }
.inquiry-status[data-answered=true] { color:#126455; background:#e6f5f0; }
@media(max-width:760px) {
  .account-layout,.account-profile-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .account-sidebar nav,.account-sidebar-services { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .account-sidebar-services { grid-column:1 / -1; }
  .inquiry-list a { grid-template-columns:minmax(0,1fr) auto; gap:4px 8px; }
  .inquiry-list time { grid-row:2; grid-column:1; }
  .inquiry-status { grid-column:2; }
}
.money-form-card, .money-notice { padding: 20px; }
.money-recovery { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.money-form .money-balance-row { background: var(--soft); }
.money-balance-row strong, .money-table td strong { font-variant-numeric: tabular-nums; }
.money-actions button { min-height: 44px; }
.money-detail-button { min-height: 36px; font-size: 12px; }
.money-success, .money-info { background: var(--soft); color: var(--brand); }
.order-history .scroll-table, .order-history .overflow-x-auto, .lotto-history-scroll { max-width: 100%; overscroll-behavior-inline: contain; }
.order-history td, .order-history th, .content-table td, .content-table th { overflow-wrap: anywhere; }
.order-history.mentor-bet-history { border-radius: 18px; color: var(--ink); }
.history-result.money-status { font-size: 11px; }

/* Lotto number selection */
.lotto-game-header { padding: 15px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); color: var(--ink); }
.lotto-source { color: var(--muted); }
.lotto-game-board { grid-template-columns: minmax(150px, .54fr) minmax(252px, 1fr) minmax(352px, 1.46fr); padding: 0; }
.lotto-mode-panel button, .lotto-number-picker, .lotto-selected-panel { background: var(--surface); border-color: var(--line); }
.lotto-mode-panel button.is-active { border-color: var(--brand); background: var(--soft); }
.lotto-price-badge { background: var(--dark); }
.lotto-number-grid button { height: 33px; border-radius: 6px; }
.lotto-picker-actions { flex-wrap: wrap; padding-inline: 8px; }
.lotto-picker-actions button { border-radius: 7px; min-height: 36px; }
.lotto-apply-row > button { background: var(--brand); min-height: 40px; }
.lotto-selected-line { flex-wrap: wrap; color: var(--ink); }
.lotto-selected-line.is-editing { background: var(--soft); }
.lotto-line-actions { margin-left: auto; }
.lotto-line-actions button { min-height: 34px; }
.lotto-purchase-bar > button:disabled { background: var(--soft); color: var(--muted); }
#lotto-purchase-status { color: var(--muted); }
.lotto-history-card td[colspan] { text-align: left; }
.lotto-history-card h2 { padding: 13px 16px; font-size: 16px; font-weight: 750; }

@media(max-width:1120px) {
  .header-container { gap: 16px; }
  .header-links a { font-size: 13px; }
  .home-shortcuts a { flex-direction: column; justify-content: center; gap: 5px; text-align: center; }
  .shortcut-arrow { display: none; }
  .draw-panel { padding-inline: 23px; }
}
@media(max-width:920px) {
  .shell, .page-shell, .money-shell, .lotto-shell { width: min(680px, calc(100% - 28px)); }
  .page-shell, .money-shell, .lotto-shell { margin-block: 25px 40px; }
  .page-title { margin-bottom: 17px; }
  #site-header { position: sticky; top: 0; }
  .utility-bar { display: none; }
  .header-container { min-height: 62px; gap: 8px; }
  .header-container > .site-brand { margin-right: auto; }
  .header-cta { min-height: 41px; padding-inline: 10px; }
  .header-cta svg:last-child { display: none; }
  #menu-toggle { display: grid; position: relative; z-index: 2; flex: 0 0 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
  .header-backdrop { display: block; position: fixed; inset: 63px 0 0; background: #08261e80; }
  #main-nav { display: none; position: fixed; z-index: 1; inset: 63px 0 0 auto; width: min(360px, 89vw); overflow-y: auto; overscroll-behavior: contain; padding: 15px 16px max(21px, env(safe-area-inset-bottom)); background: var(--surface); }
  #main-nav.is-open, .mobile-member-panel, .mobile-extra { display: block; }
  .header-links { display: block; margin-top: 10px; }
  .header-links a { justify-content: space-between; min-height: 44px; padding-inline: 5px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .header-links svg { display: block; }
  .mobile-auth, .mobile-member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .mobile-member-welcome { display: flex; align-items: center; gap: 7px; padding: 9px 8px; margin-bottom: 6px; color: var(--brand); border-radius: 8px; background: var(--soft); overflow-wrap: anywhere; }
  .mobile-member-welcome svg:last-child { margin-left: auto; }
  .mobile-member-grid > a, .mobile-member-grid > button { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 41px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; overflow-wrap: anywhere; }
  .mobile-member-grid strong { color: var(--brand); }
  .footer-institutions { display: none; }
  .home-dashboard { padding-block: 25px 36px; }
  .home-top, .home-bottom { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .home-shortcuts nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lotto-game-board { grid-template-columns: minmax(0, 1fr); }
  .money-table .money-empty { display: table-cell !important; }
}
@media(max-width:520px) {
  .home-lead { margin-bottom: 13px; }
  .draw-panel { padding: 17px 14px 14px; border-radius: 16px; }
  .draw-panel h2 { margin-top: 13px; }
  .draw-orbits { transform: scale(.67); transform-origin: top right; top: -76px; right: -110px; }
  .home-lotto-numbers { gap: 4px; margin-block: 12px 16px; }
  .home-lotto-ball { flex-basis: 41px; box-shadow: inset 0 -3px 0 #10362d17; }
  .home-lotto-plus { font-size: 15px; }
  .draw-bottom { display: grid; grid-template-columns: minmax(0,1fr); padding-top: 10px; gap: 9px; }
  .draw-bottom dl { gap: 6px 12px; }
  .draw-bottom dd { font-size: 16px; }
  .draw-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .draw-actions button, .hero-cta { padding-inline: 5px; font-size: 12px; gap: 4px; }
  .member-panel { padding: 15px; }
  .member-prompt { margin-top: 9px; }
  .member-login { margin-top: 10px; }
  .home-shortcuts { margin-block: 19px; }
  .home-shortcuts nav { gap: 6px; }
  .home-shortcuts a { min-height: 75px; font-size: 13px; }
  .auth-shell { margin-block: 25px 40px; }
  .auth-card { padding: 16px; }
  .auth-fields { grid-template-columns: minmax(0, 1fr); }
  .signup-progress li { flex-direction: column; font-size: 11px; }
  .signup-progress li span { flex: 0 0 20px; width: 20px; }
  .auth-profile { padding: 9px; }
  .dialog-content { padding: 14px; }
  .money-form-card, .money-notice { padding: 14px; }
  .lotto-selected-line { grid-template-columns: minmax(0, 1fr); }
  .lotto-line-balls { justify-content: flex-start; }
  .lotto-line-actions { margin-left: 0; }
  .history-pagination { flex-wrap: wrap; }
}
.lotto-readiness { margin-bottom: 14px; }
.lotto-retry { color: var(--brand); font-weight: 750; text-decoration: underline; }
.lotto-history-card:has(td[colspan]) table { min-width: 0; }
.lotto-history-card:has(td[colspan]) th { white-space: normal; overflow-wrap: anywhere; }
.money-table td small { color: var(--muted); }
@media(max-width:600px) {
  .responsive-table, .money-table table, .lotto-history-card table { display: block; width: 100%; min-width: 0 !important; }
  :is(.responsive-table,.money-table table,.lotto-history-card table) :is(thead,colgroup) { display: none; }
  :is(.responsive-table,.money-table table,.lotto-history-card table) tbody { display: grid; }
  :is(.responsive-table,.money-table table,.lotto-history-card table) tbody tr {
    display: grid; gap: 5px; padding: 11px 14px; border-bottom: 1px solid var(--line);
  }
  :is(.responsive-table,.money-table table,.lotto-history-card table) tbody tr:last-child { border-bottom: 0; }
  :is(.responsive-table,.money-table table,.lotto-history-card table) td[data-label] {
    display: grid !important; width: 100% !important; grid-template-columns: minmax(72px, .55fr) minmax(0, 1fr);
    gap: 5px 9px; align-items: center; height: auto; min-height: 27px; padding: 0; border: 0; text-align: left; font-size: 13px;
  }
  :is(.responsive-table,.money-table table,.lotto-history-card table) td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 650; }
  :is(.responsive-table,.money-table table,.lotto-history-card table) td[data-label] > * { grid-column: 2; justify-self: start; }
  .money-table td[data-label] > small { margin-top: 0; }
  .money-table .money-empty, .lotto-history-card td[colspan] { display: block !important; width: 100% !important; min-height: 48px; height: auto; padding: 9px 0 !important; text-align: center; }
  .money-table .money-status { font-size: 12px; min-height: 25px; }
  .money-table .money-detail-button { min-width: 68px; min-height: 38px; }
    .mentor-bet-history .responsive-table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
  .mentor-bet-history .responsive-table td[data-label] {
    display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 0 5px; padding: 0;
    min-width: 0; text-align: left; justify-content: flex-start;
  }
  .mentor-bet-history .responsive-table td[data-label]::before { flex-basis: 100%; }
  .mentor-bet-history .history-delete { width: 38px; height: 34px; }
  .mentor-bet-history .history-detail { min-height: 34px; }
}

/* Powerball home */
.powerball-home {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.powerball-home .shell {
  width: min(1360px,calc(100% - 64px));
}
@media (max-width: 920px) {

  .powerball-home .shell {
    width: min(680px,calc(100% - 28px));
  }
}
.powerball-lead {
  display: grid;
  grid-template-columns: minmax(0,2.5fr) minmax(260px,1fr);
  gap: 1.5rem;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}
@media (max-width: 920px) {

  .powerball-lead {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
.powerball-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 390px;
  align-items: center;
  overflow: hidden;
  border-radius: 26px;
  --tw-bg-opacity: 1;
  background-color: rgb(25 39 82 / var(--tw-bg-opacity));
  padding: clamp(24px,5vw,78px);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
@media (max-width: 620px) {

  .powerball-hero {
    min-height: 320px;
    align-items: flex-end;
    border-radius: 18px;
  }
}
.powerball-hero { background-image: radial-gradient(ellipse at 84% 40%, #3c62bc 0, transparent 63%), linear-gradient(140deg,#202e60,#13203b); }
.powerball-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0px;
}
.powerball-hero h1 {
  font-size: clamp(41px,5.6vw,86px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.07em;
}
.powerball-hero-copy > p {
  margin-top: 0.75rem;
  font-size: clamp(16px,2vw,25px);
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(214 230 255 / var(--tw-text-opacity));
}
.powerball-hero-art {
  pointer-events: none;
  position: absolute;
  right: 5%;
  top: 50%;
  display: grid;
  aspect-ratio: 1 / 1;
  width: min(45%,390px);
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  place-items: center;
  border-radius: 9999px;
  border-width: 1px;
  border-color: #8bbbf981;
}
@media (max-width: 620px) {

  .powerball-hero-art {
    right: 8%;
    top: 29%;
    width: 42%;
  }
}
.powerball-hero-art { box-shadow: 0 0 0 24px #7fabf025, 0 0 0 55px #7fabf01e; }
.powerball-hero-art span {
  display: grid;
  aspect-ratio: 1 / 1;
  width: 69%;
  place-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(211 248 248 / var(--tw-bg-opacity));
  font-size: clamp(42px,9vw,132px);
  font-weight: 900;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(40 65 115 / var(--tw-text-opacity)); background-image: radial-gradient(circle at 32% 28%, #fff, #bceff0 55%, #77a8d1); box-shadow: inset -12px -18px 26px #325b9b35, 0 18px 40px #14203e90;
}
.powerball-hero-art i {
  position: absolute;
  left: 4%;
  top: 18%;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(154 242 237 / var(--tw-bg-opacity));
}
.powerball-hero-art i:last-child {
  bottom: 7%;
  left: auto;
  right: 14%;
  top: auto;
  height: 1.25rem;
  width: 1.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(169 184 255 / var(--tw-bg-opacity));
}
.powerball-live-status {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(216 231 251 / var(--tw-text-opacity));
}
.powerball-live-status svg {
  --tw-text-opacity: 1;
  color: rgb(188 239 240 / var(--tw-text-opacity));
}
.powerball-live-status b {
  font-weight: 700;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.powerball-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.powerball-hero-actions .hero-cta, .hero-result-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
}
.hero-result-link {
  border-width: 1px;
  border-color: #ffffff70;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.hero-result-link:hover {
  background-color: #ffffff1f;
}
.powerball-sidebar {
  display: grid;
  align-content: flex-start;
  gap: 1rem;
}
@media (max-width: 920px) {

  .powerball-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {

  .powerball-sidebar {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
.home-wallet {
  padding: 1.5rem;
}
@media (max-width: 580px) {

  .home-wallet {
    padding: 1rem;
  }
}
.home-wallet .member-panel-title svg {
  color: var(--brand);
}
.powerball-shortcuts {
  padding: 0.75rem;
}
.powerball-shortcuts a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.powerball-shortcuts a:hover {
  background-color: var(--soft);
}
.powerball-shortcuts a + a {
  border-top-width: 1px;
  border-color: var(--line);
}
.powerball-shortcuts svg {
  flex-shrink: 0;
  color: var(--brand);
}
.powerball-shortcuts svg:last-child {
  margin-left: auto;
  color: var(--muted);
}
.powerball-draw-band {
  background-color: var(--canvas);
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 620px) {

  .powerball-draw-band {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
.powerball-section-header {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (max-width: 620px) {

  .powerball-section-header {
    margin-bottom: 1rem;
  }
}
.powerball-section-header h2 {
  font-size: clamp(24px,2.6vw,34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.045em;
}
.powerball-section-header p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted);
}
.powerball-section-header a {
  gap: 0.5rem;
}
.powerball-draw-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 1.5rem;
}
@media (max-width: 920px) {

  .powerball-draw-grid {
    gap: 0.75rem;
  }
}
@media (max-width: 620px) {

  .powerball-draw-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.powerball-result {
  text-align: center;
}
.powerball-result header {
  display: grid;
  gap: 0.25rem;
  border-bottom-width: 1px;
  border-color: var(--line);
  padding: 1.5rem;
}
.powerball-result h3 {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  color: var(--brand);
}
.powerball-result header p {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.powerball-result time, .powerball-recent time {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted);
}
.powerball-result-body {
  display: grid;
  min-height: 114px;
  align-content: center;
  gap: 1rem;
  padding: 1rem;
}
.powerball-result-body .ball, .powerball-recent .ball {
  border-width: 1px;
  border-color: var(--line);
}
.powerball-result-body .ball:last-child, .powerball-recent .ball:last-child { border-color: #cbd9ef; }
.powerball-result-actions {
  border-top-width: 1px;
  border-color: var(--line);
  --tw-bg-opacity: 1;
  background-color: rgb(238 243 251 / var(--tw-bg-opacity));
  padding: 1rem;
}
.powerball-recent {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 1rem;
  padding-top: 1.25rem;
}
@media (max-width: 420px) {

  .powerball-recent {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.powerball-recent h3 {
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.powerball-recent li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top-width: 1px;
  border-color: var(--line);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.powerball-recent li > div:first-child {
  display: grid;
  gap: 0.125rem;
}
.powerball-support {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 620px) {

  .powerball-support {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
.powerball-support-grid {
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 920px) {

  .powerball-support-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.5rem;
  }
}
.powerball-support-card {
  display: flex;
  min-height: 106px;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}
.powerball-support-card:hover {
  background-color: var(--soft);
}
@media (max-width: 620px) {

  .powerball-support-card {
    min-height: 78px;
    padding: 0.75rem;
  }
}
.powerball-support-card h3 {
  font-weight: 700;
}
.powerball-support-card p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted); word-break: keep-all;
}
.powerball-support-card > svg {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--brand);
}
.powerball-back-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  display: grid;
  height: 2.5rem;
  width: 2.5rem;
  place-items: center;
  border-radius: 9999px;
  border-width: 1px;
  border-color: var(--line);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  color: var(--brand);
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.powerball-back-top:hover {
  background-color: var(--soft);
}
@media (max-width: 620px) {

  .powerball-back-top {
    bottom: 0.75rem;
    right: 0.75rem;
  }
}
.powerball-footer {
  --tw-bg-opacity: 1;
  background-color: rgb(237 241 248 / var(--tw-bg-opacity));
}
.powerball-footer .footer-inner {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}
.powerball-footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) repeat(3,minmax(0,1fr));
  gap: 1.25rem;
}
@media (max-width: 680px) {

  .powerball-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.powerball-footer-grid nav h2 {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.powerball-footer-grid nav li + li {
  margin-top: 0.5rem;
}
.powerball-footer-grid nav a:hover {
  color: var(--brand);
  text-decoration-line: underline;
}
.powerball-order-history table {
  min-width: 0px;
}
.brand-emblem span { width: 21px; height: 21px; border-radius: 50%; border: 1px solid var(--accent); background: radial-gradient(circle, var(--accent) 0 26%, transparent 28%); clip-path: none; }
@media (min-width: 921px) {
  #site-header { position: sticky; top: 0; }
  #site-header .shell, .powerball-footer .footer-inner { width: min(1360px, calc(100% - 64px)); }
  [id] { scroll-margin-top: 125px; }
}
@media (max-width: 420px) {
  .powerball-hero-art { right: 8%; top: 26%; opacity: .62; }
  .powerball-recent li { align-items: flex-start; flex-direction: column; }
}

/* Approved Donghaeng Lottery shell.  Powerball is the sole game exposed here. */
#site-header.dh-header { position:sticky; top:0; z-index:40; border-bottom:1px solid #e3e8e5; background:var(--surface); color:#111; }
.dh-header .header-container { display:flex; width:min(1440px,calc(100% - 64px)); min-height:96px; align-items:center; gap:42px; }
.dh-header .dh-brand { display:block; flex:0 0 126px; line-height:0; }
.dh-header .dh-brand img { display:block; width:126px; height:auto; }
.dh-header .header-backdrop, .dh-header .mobile-member-panel, .dh-header #menu-toggle { display:none; }
.dh-header #main-nav { min-width:0; }
.dh-header .header-links { display:flex; align-items:center; gap:40px; }
.dh-header .header-links a { display:flex; align-items:center; min-height:96px; color:#111; font-size:18px; font-weight:800; letter-spacing:-.055em; white-space:nowrap; }
.dh-header .header-links a[aria-current=page], .dh-header .header-links a:hover { color:#058970; }
.dh-header .header-links svg { display:none; }
.dh-header .mobile-extra { display:none; }
.dh-header .dh-utility { display:flex; align-items:center; gap:11px; margin-left:auto; color:#686868; font-size:13px; white-space:nowrap; }
.dh-header .dh-utility > * { color:inherit; }
.dh-header .dh-utility > * + *::before { content:'|'; margin-right:11px; color:#d0d0d0; }
.dh-header .dh-utility button { padding:0; }
.dh-header .dh-utility .header-profile { display:inline-flex; align-items:center; gap:4px; }
.dh-header .dh-utility .header-profile svg { display:none; }

.dh-home { background:var(--canvas); color:#171d1a; }
.dh-home .shell { width:min(1440px,calc(100% - 64px)); }
.dh-main-wrap { display:grid; grid-template-columns:minmax(0,1fr) minmax(255px,23%); gap:32px; padding:18px 0 65px; }
.dh-main-hero { grid-column:1; position:relative; isolation:isolate; display:flex; align-items:center; min-height:405px; overflow:hidden; border-radius:18px; background:#092d23; }
.dh-hero-art { position:absolute; inset:0; width:100%; height:100%; -o-object-fit:cover; object-fit:cover; -o-object-position:center; object-position:center; }
.dh-main-hero::after { position:absolute; inset:0; content:''; background:linear-gradient(90deg,#061b17b3,transparent 62%); }
.dh-main-hero-copy { position:relative; z-index:1; padding:45px 52px; color:#fff; }
.dh-main-hero-copy h1 { font-size:clamp(48px,4.2vw,73px); font-weight:900; line-height:1; letter-spacing:-.08em; }
.dh-main-hero-copy > p:not(.dh-kicker) { margin-top:20px; font-size:22px; font-weight:700; line-height:1.5; letter-spacing:-.06em; }
.dh-kicker { margin-bottom:22px; font-size:17px; font-weight:750; letter-spacing:-.04em; opacity:.92; }
.dh-live-status { display:flex; flex-wrap:wrap; align-items:center; gap:7px 12px; margin-top:28px; font-size:15px; font-weight:650; }
.dh-live-status svg { color:#c8fb7b; }
.dh-live-status b { margin-left:3px; font-variant-numeric:tabular-nums; }
.dh-hero-cta { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:47px; margin-top:28px; padding:0 23px; border-radius:999px; background:#fff; color:#08736d; font-size:15px; font-weight:800; }
.dh-hero-cta:hover { background:#e5f6ee; }
.dh-main-side { grid-column:2; grid-row:1 / span 3; align-self:start; position:sticky; top:114px; display:grid; gap:16px; }
.dh-member-panel { min-height:218px; padding:26px; border:1px solid #d4dfe9; border-radius:18px; background:#e2ebf6; box-shadow:none; }
.dh-member-panel-title { display:flex; align-items:center; gap:8px; color:#111; }
.dh-member-panel-title svg { color:#0a957f; }
.dh-member-panel-title h2 { font-size:21px; font-weight:850; letter-spacing:-.05em; }
.dh-member-message { margin-top:25px; color:#333; font-size:15px; line-height:1.6; letter-spacing:-.035em; }
.dh-member-actions { display:flex; gap:8px; margin-top:22px; }
.dh-member-actions .btn, .dh-member-actions .btn-primary { min-height:42px; flex:1; padding:0 8px; border-radius:9px; }
.dh-member-greeting { display:flex; align-items:center; gap:5px; margin-top:25px; font-size:17px; }
.dh-member-greeting strong, .dh-member-balance dd { color:#008e77; }
.dh-member-balance { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
.dh-member-balance div { padding-top:12px; border-top:1px solid #b8c9e3; }
.dh-member-balance dt { color:#64748b; font-size:13px; }
.dh-member-balance dd { margin-top:5px; font-size:16px; font-weight:850; font-variant-numeric:tabular-nums; }
.dh-member-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:hidden; border:1px solid #d9e1dc; border-radius:17px; background:var(--surface); }
.dh-member-shortcuts a { display:grid; min-height:83px; place-items:center; align-content:center; gap:8px; padding:10px 3px; color:#222; font-size:14px; font-weight:750; text-align:center; }
.dh-member-shortcuts a + a { border-left:1px solid #ddd; }
.dh-member-shortcuts a > svg:first-child { color:#07957d; }
.dh-member-shortcuts a > svg:last-child { display:none; }

.dh-draw-section { grid-column:1; padding:18px 0 10px; min-width:0; }
.dh-section-heading { margin-bottom:31px; }
.dh-section-heading h2 { font-size:32px; font-weight:900; letter-spacing:-.065em; }
.dh-section-heading p { margin-top:20px; color:#747474; font-size:18px; letter-spacing:-.05em; }
.dh-draw-feature { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:stretch; }
.dh-lottery-illustration, .dh-result-card { min-width:0; overflow:hidden; border:1px solid #d9e1dc; border-radius:18px; }
.dh-lottery-illustration { display:grid; grid-template-rows:auto 1fr; gap:12px; padding:clamp(16px,2.3vw,32px); background:#e7ede9; }
.dh-lottery-illustration .dh-section-heading { margin:0; }
.dh-lottery-illustration .dh-section-heading p { margin-top:6px; }
.dh-lottery-illustration img { place-self:center; width:min(78%,300px); -o-object-fit:contain; object-fit:contain; }
.dh-result-card { container-type:inline-size; background:var(--surface); text-align:center; }
.dh-result-card > header { display:grid; justify-items:center; gap:4px; padding:16px 16px 12px; border-bottom:1px solid #e4e4e4; }
.dh-result-card > header img { width:128px; height:42px; -o-object-fit:contain; object-fit:contain; }
.dh-result-card h3 { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.dh-result-card > header strong { font-size:26px; font-weight:850; letter-spacing:-.06em; }
.dh-result-card > header time { color:#777; font-size:14px; }
.dh-result-body { display:grid; justify-items:center; gap:11px; padding:14px 8px 15px; }
.dh-official-balls { display:flex; align-items:center; justify-content:center; gap:clamp(5px,2cqw,9px); }
.dh-official-balls span { display:grid; width:clamp(28px,12cqw,40px); aspect-ratio:1; place-items:center; border:1px solid #adb4c0; border-radius:50%; font-size:18px; font-weight:750; }
.dh-official-balls span:last-child { border-color:#168ac8; background:#168ac8; color:#fff; }
.dh-official-balls img { width:20px; height:20px; }
.dh-prize dt { color:#656565; font-size:15px; font-weight:650; }
.dh-prize dd { margin-top:4px; color:#111; font-size:clamp(25px,3vw,33px); font-weight:800; letter-spacing:-.035em; font-variant-numeric:tabular-nums; }
.dh-prize dd small { margin-left:3px; font-size:.72em; }
.dh-jackpot dd { font-size:clamp(27px,3.1vw,38px); }
.dh-result-card > footer { display:grid; justify-items:center; gap:8px; padding:13px 12px; background:#e9eeeb; }
.dh-result-card > footer .btn-primary { min-width:116px; min-height:42px; border-radius:10px; font-size:14px; font-weight:800; }
.dh-prize-source, .dh-game-link-note { color:#555; font-size:13px; line-height:1.5; }
.dh-prize-source a { text-decoration:underline; text-underline-offset:2px; }
.dh-service-results { margin-top:34px; }
.dh-service-results > h3 { margin-bottom:14px; font-size:18px; font-weight:750; }
.dh-recent-rounds { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; }
.dh-recent-round { overflow:hidden; border:1px solid #ddd; border-radius:17px; background:#fff; text-align:center; }
.dh-recent-round header { display:grid; justify-items:center; gap:6px; padding:23px 18px 17px; border-bottom:1px solid #e4e4e4; }
.dh-recent-round header img { width:82px; height:26px; -o-object-fit:contain; object-fit:contain; }
.dh-recent-round header strong { font-size:20px; letter-spacing:-.055em; }
.dh-recent-round time { color:#777; font-size:13px; }
.dh-recent-round .balls { justify-content:center; min-height:80px; padding:18px 10px; }
.dh-recent-round .ball { width:27px; height:27px; border:1px solid #afb7c2; background:#fff; color:#111; font-size:11px; }
.dh-recent-round .ball:last-child { border:0; background:#299ddd; color:#fff; }
.dh-recent-round > a { display:flex; align-items:center; justify-content:center; gap:3px; min-height:42px; border-top:1px solid #e5e5e5; color:#078e77; font-size:13px; font-weight:750; }

.dh-help { grid-column:1; min-width:0; padding:20px 0 8px; }
.dh-help-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.dh-help-links a { display:flex; align-items:center; gap:14px; min-height:131px; padding:22px; border:1px solid #dedede; border-radius:18px; color:#111; }
.dh-help-links a:hover { border-color:#119c83; }
.dh-help-links span { display:grid; gap:7px; min-width:0; }
.dh-help-links strong { font-size:19px; letter-spacing:-.055em; }
.dh-help-links small { color:#646464; font-size:13px; line-height:1.35; letter-spacing:-.04em; }
.dh-help-links > a > svg:first-child { color:#109b82; }
.dh-help-links > a > svg:last-child { flex:none; margin-left:auto; color:#888; }
.dh-bottom-panels { display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:30px; }
.dh-notices, .dh-press { overflow:hidden; min-height:153px; border:1px solid #dce3de; border-radius:18px; background:var(--surface); }
.dh-notices > header, .dh-press > header { display:flex; align-items:center; justify-content:space-between; padding:25px 29px 13px; }
.dh-notices h2, .dh-press h2 { font-size:17px; font-weight:850; letter-spacing:-.05em; }
.dh-notices header a, .dh-press header a { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:#f0f0f0; color:#777; }
.dh-notices ul, .dh-press ul { padding:0 29px 19px; }
.dh-notices li + li, .dh-press li + li { margin-top:10px; }
.dh-notices li a { display:flex; gap:14px; font-size:14px; }
.dh-notices li strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dh-notices li time { margin-left:auto; color:#6a6a6a; font-size:13px; white-space:nowrap; }
.dh-press li a { display:block; overflow:hidden; color:#222; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.dh-institution-links { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:30px; margin-top:39px; }
.dh-institution-links > a { display:flex; min-width:0; height:70px; align-items:center; justify-content:center; padding-inline:12px; border:1px solid #e9e9e9; border-radius:20px; }
.dh-institution-links img { width:auto; max-width:100%; height:36px; -o-object-fit:contain; object-fit:contain; }
.dh-institution-links > a:hover { border-color:var(--brand); }
.dh-back-top { position:fixed; z-index:12; right:max(26px,calc((100vw - 1530px)/2)); bottom:26px; display:grid; width:62px; height:62px; place-items:center; border-radius:50%; background:#303030; color:#fff; box-shadow:0 3px 10px #0002; }

.dh-footer { background:#f5f6f7; border:0; color:#626262; }
.dh-footer .dh-footer-inner { width:min(1440px,calc(100% - 64px)); padding:62px 0 38px; }
.dh-footer .dh-brand { display:block; width:144px; line-height:0; }
.dh-footer .dh-brand img { display:block; width:144px; }
.dh-footer-links { display:flex; flex-wrap:wrap; gap:18px; margin-top:29px; color:#626262; font-size:15px; letter-spacing:-.045em; }
.dh-footer-links strong { color:#3f3f3f; }
.dh-footer address, .dh-footer-notice { margin-top:27px; color:#717171; font-size:13px; font-style:normal; line-height:1.9; letter-spacing:-.035em; }
.dh-footer address a { color:#444; text-decoration:underline; text-underline-offset:3px; }
.dh-footer-notice { margin-top:17px; }
.dh-copyright { margin-top:17px; color:#888; font-size:13px; }
.dh-certified-mark { display:block; max-width:100%; height:75px; margin-top:37px; -o-object-fit:contain; object-fit:contain; -o-object-position:left; object-position:left; }

/* Popup purchase screen. The standard live draw and the portal keep their own layouts. */
.pb-purchase { min-height:100dvh; background:#e7eee9; color:#15241f; }

.history-total { color:var(--muted); font-size:12px; white-space:nowrap; }
.history-pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:5px; padding:12px 7px; }
.history-pagination--grouped { flex-wrap:nowrap; gap:clamp(2px,1vw,5px); }
.history-pagination--grouped .btn { min-width:clamp(23px,7.5vw,36px); min-height:36px; padding-inline:4px; border-radius:8px; font-variant-numeric:tabular-nums; }
.history-pagination--grouped .btn:hover:not(:disabled) { border-color:#77ad9f; }
.history-pagination--grouped .btn[aria-current=page] { border-color:#0b7361; background:#0b7361; color:#fff; font-weight:800; }
.history-pagination--grouped .btn:disabled:not([data-page-number]) { border-color:#dce5df; background:#f0f4f1; color:#87938d; opacity:1; cursor:default; }
.history-page-gap { padding-inline:1px; color:var(--muted); font-size:12px; }
.history-status { white-space:nowrap; }
.history-status[data-status=WON] { color:#087c68; font-weight:800; }
.draw-results-with-bets .draw-member-cell { width:40%; text-align:left; }
.draw-member-mobile-label { display:none; }
.draw-member-state { display:inline-flex; padding:4px 8px; border-radius:6px; background:#eaf0ed; color:#4c6257; font-size:12px; font-weight:750; white-space:nowrap; }
.draw-member-state[data-status=WON] { background:#d9eee2; color:#075e4d; }
.draw-member-state[data-status=LOST] { background:#f5e9e6; color:#873c31; }
.draw-member-list { display:grid; gap:6px; }
.draw-member-list li { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; padding:7px 9px; border:1px solid #dce5df; border-radius:8px; background:#f5f8f6; }
.draw-member-selection, .draw-member-outcome { display:grid; gap:3px; min-width:0; }
.draw-member-selection strong { font-size:13px; overflow-wrap:anywhere; }
.draw-member-list small { color:var(--muted); font-size:11px; }
.draw-member-outcome { justify-items:end; margin-left:auto; }
@media (max-width:640px) {
  .draw-results-with-bets, .draw-results-with-bets tbody { display:block; }
  .draw-results-with-bets thead { display:none; }
  .draw-results-with-bets .history-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; -moz-column-gap:6px; column-gap:6px; padding:0 10px; }
  .draw-results-with-bets .history-row:first-child { border-top:0; }
  .draw-results-with-bets .table-cell { padding-inline:0; }
  .draw-results-with-bets .ball { width:22px; height:22px; font-size:11px; }
  .draw-results-with-bets .draw-member-cell { grid-area:2/1/3/-1; display:grid; gap:6px; justify-items:start; width:100%; padding:9px 0 12px; border-top:1px solid var(--line); }
  .draw-member-mobile-label { display:block; color:var(--muted); font-size:12px; font-weight:700; }
  .draw-member-list { width:100%; }
}
.pb-purchase-shell { width:min(1200px,calc(100% - 44px)); margin-inline:auto; padding:16px 0 24px; }
.pb-purchase-top { display:flex; align-items:center; gap:11px; margin-bottom:16px; }
.pb-top-brand { display:block; width:111px; }
.pb-top-link, .pb-history header a, .pb-draw-panel header a { display:inline-flex; align-items:center; gap:3px; color:#285347; font-size:13px; font-weight:700; white-space:nowrap; }
.pb-top-link { margin-left:auto; min-height:36px; }
.pb-purchase-hero { display:grid; grid-template-columns:minmax(max-content,1fr) minmax(270px,1.7fr) auto; align-items:center; gap:20px; min-height:126px; margin-bottom:16px; padding:16px 25px; border-radius:18px; background:radial-gradient(ellipse at 110% 10%,#236757,#12362e 52%,#102922); color:#fff; }
.pb-purchase-title { display:flex; align-items:center; gap:11px; }
.pb-purchase-title img { flex:none; width:clamp(39px,5vw,62px); }
.pb-purchase-title h1 { font-size:clamp(22px,3vw,34px); font-weight:850; letter-spacing:-.055em; line-height:1.16; }
.pb-jackpot { min-width:0; padding:9px 14px 11px; border:1px solid #dad2a956; border-radius:12px; background:#101f1ce5; box-shadow:inset 0 0 20px #baa76d10; }
.pb-jackpot-source { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:2px 8px; color:#e1dcbf; font-size:11px; }
.pb-jackpot-source a { text-decoration:underline; text-underline-offset:2px; }
.pb-jackpot-source time { font-variant-numeric:tabular-nums; }
.pb-jackpot dl { display:grid; grid-template-columns:1fr .83fr; gap:10px; margin-top:5px; }
.pb-jackpot dl div { display:flex; align-items:baseline; gap:6px; min-width:0; white-space:nowrap; }
.pb-jackpot dl div + div { padding-left:10px; border-left:1px solid #bcb7993d; }
.pb-jackpot dt { color:#d6d8c5; font-size:12px; font-weight:700; }
.pb-jackpot dd { font-size:clamp(15px,2.05vw,26px); font-weight:850; line-height:1.25; font-variant-numeric:tabular-nums; letter-spacing:-.025em; }
.pb-jackpot [data-jackpot-rank="1"] { color:#f8e29a; }
.pb-jackpot dd small { margin-left:2px; font-size:.63em; }
.pb-round-clock { display:flex; align-items:center; gap:12px; padding:11px 15px; border:1px solid #ffffff3d; border-radius:14px; background:#ffffff0c; white-space:nowrap; }
.pb-round-clock svg { flex:none; color:#a4f0d4; }
.pb-round-clock div { display:grid; line-height:1.25; }
.pb-round-clock div strong { font-size:15px; }
.pb-round-clock div span { margin-top:4px; color:#d3e5de; font-size:12px; }
.pb-round-clock b { min-width:75px; font-size:27px; font-variant-numeric:tabular-nums; text-align:right; line-height:1.1; }
.pb-purchase-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.51fr); align-items:start; gap:16px; }
.pb-card { min-width:0; border:1px solid #dbe4de; border-radius:17px; background:#fff; box-shadow:0 7px 22px #14342807; }
.pb-order-card { position:relative; isolation:isolate; }
body:has(.pb-draw-overlay:modal) { overflow:hidden; }
.pb-draw-overlay {
  position:fixed; inset:0; width:100%; height:100%; height:100dvh; max-width:none; max-height:none;
  margin:0; padding:0; border:0; overflow:hidden; color:#effbf5; background:#102821;
}
.pb-draw-overlay[open] { display:block; }
.pb-draw-content { height:100%; background:#102821; }
.pb-draw-overlay::backdrop { background:#102821; }
.pb-draw-overlay .pb-round-result,
.live-draw-content:fullscreen .pb-round-result { padding-bottom:max(10px,env(safe-area-inset-bottom)); }
.live-draw-wait { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; min-height:108px; padding:20px; background:#ecf5f1; color:#27584a; }
.live-draw-fallback { position:absolute; inset:auto 12px 56px; text-align:center; }
.pb-close-overlay { position:absolute; inset:0; z-index:2; display:grid; place-items:center; border-radius:inherit; background:#11292258; pointer-events:none; text-align:center; }
.pb-close-overlay > div { display:grid; justify-items:center; gap:2px; color:#fff; }
.pb-close-overlay span { padding:5px 11px; border-radius:999px; background:#102b23; font-size:13px; font-weight:750; }
.pb-close-overlay strong { font-size:clamp(84px,15vw,142px); font-weight:900; line-height:1; color:#fff0b6; text-shadow:0 4px 16px #071c16,0 1px 3px #071c16; animation:pb-count .25s ease-out; }
@keyframes pb-count { from {opacity:.65; transform:scale(1.13)} to {opacity:1; transform:none} }
.pb-round-stage { display:grid; grid-template-rows:auto minmax(0,1fr) auto; height:100%; min-height:0; overflow:hidden; color:#effbf5; background:#102821; }
.pb-round-stage header { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid #bbf2d326; background:#193c32; }
.pb-round-stage h2 { font-weight:850; font-variant-numeric:tabular-nums; }
.pb-round-stage header span { color:#f8e29a; font-size:13px; }
.pb-round-machine { position:relative; display:grid; place-items:center; min-height:0; text-align:center;
  background:linear-gradient(180deg,transparent 64%,#d5ffec13 64.25%,#10261f29 64.65%,#091612 100%),radial-gradient(ellipse at 40% 40%,#2c6752,#102820 72%); }
.pb-round-canvas, .pb-round-canvas canvas { position:absolute; inset:0; display:block; width:100%; height:100%; }
.pb-round-machine p { padding:12px; }
.pb-round-result { padding:11px 8px 10px; background:#14362d; text-align:center; }
.pb-round-result p { margin-top:6px; color:#d6e9df; font-size:12px; }
@media (prefers-reduced-motion:reduce) { .pb-close-overlay strong { animation:none; } }
.pb-modes { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:6px; margin:15px 19px 0; border-radius:12px; background:#ecf2ef; }
.pb-modes button { min-height:43px; border-radius:8px; font-weight:780; color:#406257; }
.pb-modes button[aria-pressed=true] { background:#fff; color:#0e5645; box-shadow:0 2px 9px #36544920; }
.pb-order-content { display:grid; padding:18px 19px 15px; }
.pb-mode-panel { grid-area:1 / 1; min-width:0; }
.pb-mode-panel[aria-hidden=true] { visibility:hidden; pointer-events:none; }
.pb-order-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; margin-bottom:12px; }
.pb-order-heading h2 { font-size:20px; font-weight:820; letter-spacing:-.04em; }
.pb-order-heading > button, .pb-order-heading > span { display:flex; align-items:center; gap:5px; color:#426458; font-size:13px; font-weight:700; }
.pb-order-heading > button { min-height:34px; }
.pb-pick-field { position:relative; min-width:0; margin-bottom:9px; padding:20px 12px 12px; border:1px solid #dbe7e0; border-radius:11px; background:#f7faf8; }
.pb-pick-field legend { margin-left:1px; padding:0 5px; font-size:15px; font-weight:810; }
.pb-pick-meta { display:flex; justify-content:space-between; gap:4px; margin:-14px 1px 9px; padding-left:2px; color:#4f685f; font-size:12px; }
.pb-pick-meta strong { color:#0b634d; font-variant-numeric:tabular-nums; }
.pb-special { border-color:#cadce8; background:#f2f7fa; }
.pb-special .pb-pick-meta strong { color:#125d85; }
.pb-number-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.pb-special .pb-number-grid { grid-template-columns:repeat(10,minmax(0,1fr)); }
.pb-number-grid button { min-height:36px; border:1px solid #d5e2da; border-radius:7px; background:#fff; font-size:15px; font-weight:770; font-variant-numeric:tabular-nums; transition:background-color .12s,border-color .12s,color .12s; }
.pb-number-grid button:hover:not(:disabled) { border-color:#238970; }
.pb-number-grid button[aria-pressed=true] { border-color:#087157; background:#087157; color:#fff; }
.pb-special .pb-number-grid button[aria-pressed=true] { border-color:#17698e; background:#17698e; }
.pb-number-grid button:disabled { opacity:.51; }
.pb-tools { display:flex; flex-wrap:wrap; gap:7px; }
.pb-tools .btn { gap:6px; min-height:38px; border-radius:8px; }
.pb-market-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.pb-market-grid > * { min-width:0; }
@media (min-width:561px) {
  .pb-market-grid:has([data-market]) {
    grid-template-areas:
      "powerParity sumParity"
      "powerUnderOver sumUnderOver"
      "sumSize sumSize";
  }
  .pb-market-grid [data-market=powerParity] { grid-area:powerParity; }
  .pb-market-grid [data-market=sumParity] { grid-area:sumParity; }
  .pb-market-grid [data-market=powerUnderOver] { grid-area:powerUnderOver; }
  .pb-market-grid [data-market=sumUnderOver] { grid-area:sumUnderOver; }
  .pb-market-grid [data-market=sumSize] { grid-area:sumSize; }
}
@media (max-width:560px) {
  .pb-market-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
}
.pb-sum-markets fieldset { min-width:0; }
.pb-sum-markets legend { margin-bottom:6px; color:#3d5850; font-size:13px; font-weight:750; }
.pb-sum-markets fieldset > div { display:flex; gap:4px; }
.pb-sum-markets button { display:grid; flex:1; min-width:0; min-height:53px; place-content:center; padding:4px 3px; border:1px solid #d8e4df; border-radius:8px; background:#f6faf8; font-size:14px; }
.pb-sum-markets button[aria-pressed=true] { border-color:#14957a; background:#ddf3eb; color:#044d3b; }
.pb-sum-markets button small { font-size:10px; white-space:nowrap; }
.pb-sum-markets button span, .pb-hint { margin-top:2px; color:#56746a; font-size:12px; }
.pb-stake { display:flex; align-items:center; gap:8px; width:-moz-fit-content; width:fit-content; margin-top:16px; color:#334d44; font-size:13px; font-weight:750; }
.pb-stake input { width:110px; min-height:39px; padding:4px 8px; border:1px solid #cadbd2; border-radius:8px; color:#142c23; font-size:15px; text-align:right; font-variant-numeric:tabular-nums; }
.pb-checkout { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 14px; background:#f5f9f6; }
.pb-checkout > div { display:grid; min-width:0; }
.pb-checkout > div span { color:#536a61; font-size:12px; font-weight:650; }
.pb-checkout-selection { margin-top:3px; color:#405e53; line-height:1.35; overflow-wrap:anywhere; }
.pb-checkout strong, .pb-wallet strong { color:#0b5845; font-size:23px; line-height:1.25; font-weight:850; font-variant-numeric:tabular-nums; }
.pb-checkout .btn-primary { flex:none; min-width:94px; min-height:43px; border-color:#087157; background:#087157; font-weight:750; }
.pb-checkout .btn-primary:hover:not(:disabled) { background:#0c5948; }
.pb-state, .pb-recovery { padding:9px 19px; color:#365a4d; font-size:13px; }
.pb-state[data-error=true] { color:#a22d27; }
.pb-recovery { border-top:1px solid #dae9e0; }
.pb-recovery button { margin-top:5px; }
.pb-purchase-aside { display:flex; flex-direction:column; align-self:stretch; gap:12px; min-width:0; }
.pb-purchase-summary { display:grid; gap:10px; }
@media (min-width:701px) {
  .pb-purchase-summary { position:sticky; top:12px; z-index:1; background:#e7eee9; }
}
.pb-wallet { display:flex; align-items:center; gap:12px; padding:15px 17px; background:#e1f0e8; }
.pb-wallet svg { color:#087157; flex:none; }
.pb-wallet h2 { color:#416759; font-size:13px; font-weight:750; }
.pb-wallet strong { display:block; margin-top:3px; font-size:18px; overflow-wrap:anywhere; }
.pb-history header, .pb-draw-panel header { display:flex; justify-content:space-between; align-items:center; gap:5px 9px; padding:13px 14px; border-bottom:1px solid #e6eee9; }
.pb-history h2, .pb-draw-panel h2 { display:flex; align-items:center; gap:6px; color:#165545; font-size:16px; font-weight:800; }
.pb-history h2 svg, .pb-draw-panel h2 svg { flex:none; }
.pb-empty { padding:18px 14px; color:#5b7168; font-size:13px; }
.pb-history li { display:flex; align-items:center; justify-content:space-between; gap:6px; padding:10px 14px; font-size:13px; }
.pb-history li + li { border-top:1px solid #eaf0ec; }
.pb-history li > div { display:grid; gap:3px; min-width:0; }
.pb-history li > div:last-child { text-align:right; white-space:nowrap; }
.pb-history li span { color:#536e63; font-size:11px; }
.pb-history li span[data-status=WON] { color:#0a674d; font-weight:750; }
.pb-draw-panel > p { padding:9px 14px; color:#4c675d; font-size:12px; }
.pb-draw-panel > div { padding:4px 5px 11px; }
.pb-draw-panel .ball { border:1px solid #d3e4db; }
.pb-draw-panel .ball:last-child { background:#c3e5f1; }
.pb-footer-note { margin-top:17px; color:#4c655c; font-size:13px; }
.pb-confirm-picks { display:grid; gap:5px; margin-block:10px; }
.pb-confirm-countdown { margin-top:8px; color:#904921; font-weight:750; }
.pb-confirm-picks li { display:flex; align-items:center; gap:6px; padding:5px 0; font-variant-numeric:tabular-nums; }
.pb-confirm-picks svg { color:#087157; flex:none; }
.pb-confirm-total { display:flex; justify-content:space-between; padding-block:12px; margin-bottom:10px; border-top:1px solid #e1ebe5; }
.pb-prize-rules > div { display:flex; justify-content:space-between; gap:8px; padding:10px 0; border-bottom:1px solid #e3ebe6; font-size:14px; }
.pb-prize-rules { margin-block:8px; }
.pb-prize-rules dd { white-space:nowrap; font-weight:750; }
@media (min-width:701px) and (max-height:850px) {
  .pb-purchase-hero { min-height:106px; padding-block:17px; }
  .pb-order-content { padding-block:13px 12px; }
  .pb-order-heading { margin-bottom:9px; }
  .pb-number-grid button { min-height:34px; }
}
@media (max-width:900px) {
  .pb-purchase-hero { min-height:auto; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding:13px; }
  .pb-jackpot { grid-column:1 / -1; grid-row:2; }
  .pb-jackpot dd { font-size:clamp(18px,5vw,25px); }
  .pb-round-clock { gap:7px; padding:9px; }
}
@media (max-width:700px) {
  html:has(.pb-purchase) { scroll-padding-bottom:calc(112px + env(safe-area-inset-bottom, 0px)); }
  .pb-purchase-shell { width:calc(100% - 24px); padding-bottom:calc(112px + env(safe-area-inset-bottom, 0px)); }
  .pb-purchase-layout { grid-template-columns:1fr; }
  .pb-checkout {
    position:fixed; z-index:20; inset:auto 0 0; border-width:1px 0 0; border-radius:0;
    padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow:0 -4px 20px #14342815;
  }
  .pb-close-overlay { position:fixed; border-radius:0; }
}
@media (max-width:460px) {
  .pb-purchase-title { gap:6px; }
  .pb-purchase-title img { width:30px; }
  .pb-purchase-title h1 { font-size:19px; }
  .pb-round-clock svg { display:none; }
  .pb-round-clock div strong { font-size:13px; }
  .pb-round-clock b { min-width:43px; font-size:21px; }
  .pb-jackpot dl { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .pb-jackpot dl div { display:grid; gap:2px; }
  .pb-jackpot dd { font-size:clamp(15px,4.85vw,22px); }
  .pb-modes { margin-inline:12px; }
  .pb-order-content, .pb-checkout { padding-inline:12px; }
  .pb-number-grid button { min-height:36px; }
  .pb-special .pb-number-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (max-width:1180px) {
  .dh-header .header-container, .dh-home .shell, .dh-footer .dh-footer-inner { width:min(1120px,calc(100% - 48px)); }
  .dh-header .header-container { gap:27px; }
  .dh-header .header-links { gap:25px; }
  .dh-header .header-links a { font-size:16px; }
  .dh-header .dh-utility { gap:7px; font-size:12px; }
  .dh-header .dh-utility > * + *::before { margin-right:7px; }
  .dh-main-wrap { grid-template-columns:minmax(0,2.3fr) minmax(280px,.9fr); gap:20px; }
  .dh-main-hero-copy { padding:52px; }
  .dh-help-links { gap:18px; }
  .dh-recent-rounds, .dh-bottom-panels, .dh-institution-links { gap:18px; }
}
@media (max-width:920px) {
  #site-header.dh-header { position:sticky; }
  .dh-header .header-container, .dh-home .shell, .dh-footer .dh-footer-inner { width:min(680px,calc(100% - 28px)); }
  .dh-header .header-container { min-height:68px; gap:10px; }
  .dh-header .dh-brand { flex-basis:111px; margin-right:auto; }
  .dh-header .dh-brand img { width:111px; }
  .dh-header .dh-utility { display:none; }
  .dh-header #menu-toggle { position:relative; z-index:3; display:grid; width:42px; height:42px; place-items:center; border:1px solid #ddd; border-radius:50%; background:#fff; color:#222; }
  .dh-header .header-backdrop { display:block; position:fixed; z-index:1; inset:68px 0 0; background:#0005; }
  .dh-header #main-nav { display:none; position:fixed; z-index:2; inset:68px 0 0 auto; width:min(360px,88vw); overflow-y:auto; padding:17px 18px 28px; background:#fff; }
  .dh-header #main-nav.is-open { display:block; }
  .dh-header .mobile-member-panel { display:block; }
  .dh-header .header-links { display:block; margin-top:12px; }
  .dh-header .header-links a { justify-content:space-between; min-height:49px; border-bottom:1px solid #e7e7e7; font-size:16px; }
  .dh-header .header-links svg { display:block; color:#777; }
  .dh-header .mobile-extra { display:list-item; }
  .dh-header .mobile-auth { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
  .dh-main-wrap { grid-template-columns:minmax(0,1fr); gap:14px; padding:12px 0 38px; }
  .dh-main-hero { min-height:340px; }
  .dh-main-side { grid-column:1; grid-row:auto; position:static; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:14px; }
  .dh-member-panel { min-height:0; padding:26px; border-radius:15px; }
  .dh-member-shortcuts a { min-height:101px; }
  .dh-draw-section { padding:25px 0 10px; }
  .dh-help { padding:25px 0 20px; }
  .dh-footer .dh-footer-inner { padding-top:44px; }
}
@media (max-width:620px) {
  .dh-main-hero { align-items:flex-end; }
  .dh-hero-art { -o-object-position:67% center; object-position:67% center; }
  .dh-main-hero::after { background:linear-gradient(28deg,#061b17 5%,#061b17b5 46%,#061b1720 74%); }
  .dh-main-hero-copy { padding:36px 24px; }
  .dh-main-hero-copy h1 { margin-top:15px; font-size:52px; }
  .dh-main-hero-copy > p:not(.dh-kicker) { margin-top:14px; font-size:18px; }
  .dh-kicker { margin-bottom:15px; font-size:14px; }
  .dh-live-status { margin-top:20px; font-size:13px; }
  .dh-hero-cta { min-height:43px; margin-top:21px; font-size:13px; }
  .dh-main-side { grid-template-columns:1fr; }
  .dh-draw-feature { grid-template-columns:minmax(0,1fr); }
  .dh-lottery-illustration { min-height:144px; }
  .dh-lottery-illustration img { width:min(50%,175px); }
  .dh-member-shortcuts { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .dh-member-shortcuts a { min-height:78px; font-size:12px; }
  .dh-section-heading { margin-bottom:22px; }
  .dh-section-heading h2 { font-size:27px; }
  .dh-section-heading p { margin-top:12px; font-size:15px; }
  .dh-result-card > header { padding:22px 15px 18px; }
  .dh-result-card > header strong { font-size:23px; }
  .dh-official-balls { gap:6px; }
  .dh-official-balls span { width:32px; font-size:15px; }
  .dh-official-balls img { width:15px; height:15px; }
  .dh-recent-rounds { grid-template-columns:1fr; gap:10px; }
  .dh-recent-round { display:grid; grid-template-columns:1fr 1fr; align-items:center; text-align:left; }
  .dh-recent-round header { justify-items:start; padding:14px 16px; border:0; }
  .dh-recent-round header img { width:72px; }
  .dh-recent-round header strong { font-size:17px; }
  .dh-recent-round .balls { display:none; }
  .dh-recent-round > a { grid-column:1 / -1; min-height:35px; }
  .dh-help-links { gap:6px; }
  .dh-help-links a { flex-direction:column; justify-content:center; text-align:center; gap:5px; min-height:74px; padding:8px 4px; border-radius:10px; }
  .dh-help-links strong { font-size:clamp(11px,3.1vw,15px); line-height:1.25; }
  .dh-help-links > a > svg:last-child { display:none; }
  .dh-help-links small { display:none; }
  .dh-bottom-panels { grid-template-columns:1fr; gap:12px; margin-top:13px; }
  .dh-notices, .dh-press { min-height:0; }
  .dh-notices > header, .dh-press > header { padding:20px 20px 12px; }
  .dh-notices ul, .dh-press ul { padding:0 20px 16px; }
  .dh-institution-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:22px; }
  .dh-institution-links > a { height:50px; padding-inline:8px; border-radius:10px; }
  .dh-institution-links img { height:24px; }
  .dh-back-top { right:14px; bottom:14px; width:48px; height:48px; }
  .dh-footer .dh-brand, .dh-footer .dh-brand img { width:121px; }
  .dh-footer-links { gap:11px 15px; margin-top:22px; font-size:13px; }
  .dh-footer address, .dh-footer-notice { font-size:12px; line-height:1.7; }
  .dh-certified-mark { height:auto; max-height:64px; margin-top:25px; }
}

.downline-page { display:grid; gap:18px; width:min(100%,1260px); margin-inline:auto; padding:26px clamp(14px,3vw,32px) 44px; }
.downline-page-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.downline-page-head h1 { font-size:clamp(24px,3vw,30px); line-height:1.2; font-weight:850; letter-spacing:-.04em; }
.downline-page-head p { margin-top:6px; font-size:13px; color:#506177; }
.downline-form-actions { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:8px; }
.downline-tree { min-width:0; padding:clamp(13px,2vw,22px); }
.downline-tree svg,.downline-form-actions svg { flex:none; }
.downline-root { display:flex; align-items:center; gap:12px; min-width:0; padding:13px; border:1px solid #c7e0dc; border-radius:10px; background:#ebf7f4; }
.downline-root > div { min-width:0; overflow-wrap:anywhere; }
.downline-root strong { font-size:17px; }
.downline-root p { font-size:12px; color:#456961; }
.downline-root-icon,.downline-leaf-icon { display:grid; flex:none; place-items:center; width:38px; height:38px; border-radius:9px; color:#096657; background:#daf0ea; }
.downline-total { flex:none; margin-left:auto; padding:4px 8px; border-radius:8px; background:#fff; color:#126051; font-size:12px; font-weight:700; }
.downline-branches,.downline-leaves { margin-left:14px; padding-left:14px; border-left:1px solid #c9dadf; }
.downline-branches { margin-top:8px; }
.downline-branches > li,.downline-leaves > li { position:relative; margin-top:7px; }
.downline-branches > li::before,.downline-leaves > li::before { content:''; position:absolute; top:21px; left:-14px; width:13px; border-top:1px solid #c9dadf; }
.downline-code { display:flex; align-items:center; gap:7px; width:100%; min-height:42px; padding:8px; border-radius:8px; border:1px solid #dce6ec; text-align:left; background:#f7fafc; color:#24465d; }
.downline-code[aria-expanded=true] { background:#eaf2f9; border-color:#bfd5e5; }
.downline-code strong { min-width:0; overflow-wrap:anywhere; }
.downline-code span { margin-left:auto; flex:none; font-size:12px; }
.downline-members { padding:9px 0 6px; }
.downline-search { display:flex; align-items:center; gap:7px; padding-bottom:3px; }
.downline-search .input { width:min(100%,280px); min-height:38px; }
.downline-search button,.downline-leaves button,.downline-pagination .btn { flex:none; min-height:34px; padding:5px 8px; font-size:12px; }
.downline-node { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px; min-width:0; border:1px solid #e0e8ee; border-radius:8px; background:#fbfcfd; }
.downline-node > button { display:inline-flex; align-items:center; justify-content:center; gap:4px; }
.downline-node .downline-toggle { width:30px; padding:0; color:#245976; }
.downline-node .downline-pay { color:#0b655b; border-color:#b9dad3; background:#eaf6f3; }
.downline-child-count,.downline-branch-note { color:#506177; font-size:12px; }
.downline-branch-note { padding:10px 12px 3px; }
.downline-subtree .downline-subtree .downline-subtree .downline-leaves { margin-left:0; padding-left:6px; }
.downline-subtree .downline-subtree .downline-subtree .downline-leaves > li::before { left:-6px; width:5px; }
.downline-leaf-icon { width:30px; height:30px; background:#edf3f8; color:#37617d; }
.downline-person { display:grid; gap:2px; margin-right:auto; min-width:0; font-size:13px; overflow-wrap:anywhere; }
.downline-person span { color:#506177; font-size:11px; }
.downline-status { flex:none; padding:3px 6px; border-radius:6px; background:#f2f3f6; color:#4e5866; font-size:11px; }
.downline-status[data-state=ACTIVE] { background:#e3f4ec; color:#17604f; }
.downline-status[data-state=PENDING] { background:#fff1d6; color:#74500d; }
.downline-pagination { display:flex; justify-content:center; align-items:center; gap:8px; margin-top:10px; font-size:12px; }
.downline-notice { padding:10px 13px; border-radius:8px; background:#e6f5ee; color:#15705d; }
.downline-create { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.downline-create label { display:grid; gap:5px; min-width:0; font-size:13px; font-weight:650; }
.downline-full { grid-column:1 / -1; }
.downline-choose-parent { min-width:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:12px; border:1px solid #d5e4e9; border-radius:10px; background:#f5f8fa; }
.downline-choose-parent legend { padding:0 6px; color:#294b61; font-size:13px; font-weight:750; }
.downline-parent-search { display:flex; gap:6px; }
.downline-parent-search .input { min-width:0; min-height:39px; }
.downline-parent-search .btn { flex:none; gap:4px; min-height:39px; }
.downline-form-note { color:#4b6175; font-size:12px; }
.downline-create-footer { position:sticky; bottom:0; margin-top:4px; padding:10px 0 2px; border-top:1px solid #e1e9ee; background:#fff; }
@media (max-width:460px) {
  .downline-create { grid-template-columns:1fr; gap:8px; }
  .downline-child-count,.downline-leaf-icon { display:none; }
  .downline-node { gap:5px; }
  .downline-node .btn { min-height:32px; }
  .downline-branches,.downline-leaves { margin-left:9px; padding-left:9px; }
  .downline-branches > li::before,.downline-leaves > li::before { left:-9px; width:8px; }
}

.agent-header { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; min-height:66px; padding:8px clamp(12px,2vw,30px); border-bottom:1px solid #dbe4ed; background:#fff; }
.agent-crumb { display:flex; align-items:center; gap:7px; margin-right:auto; white-space:nowrap; color:#53667a; font-size:13px; }
.agent-crumb strong { color:#18263a; }
.agent-balance { display:flex; gap:2px; padding:3px; border:1px solid #dce8ed; border-radius:10px; background:#f4f8fa; }
.agent-balance a { display:grid; min-width:87px; gap:1px; padding:3px 7px; border-radius:6px; }
.agent-balance a+a { border-left:1px solid #dde8ed; border-top-left-radius:0; border-bottom-left-radius:0; }
.agent-balance a:hover { background:#e7f3f4; }
.agent-balance span { color:#53667a; font-size:10px; }
.agent-balance strong { color:#075d54; font-size:13px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.agent-header-actions { display:flex; flex-wrap:wrap; align-items:center; gap:5px; }
.agent-header-actions a { display:inline-flex; min-height:35px; gap:5px; align-items:center; padding:5px 8px; border:1px solid #d9e5ed; border-radius:8px; color:#22455b; background:#f9fbfd; font-size:12px; font-weight:700; white-space:nowrap; }
.agent-header-actions a[aria-current=page],.agent-header-actions a:hover { background:#e6f4f1; border-color:#afd6ce; color:#0b655b; }
.agent-header-actions svg { color:#137a70; }
.agent-header-profile { display:flex; align-items:center; gap:8px; }
.agent-nickname { font-size:13px; overflow-wrap:anywhere; }
@media (max-width:1200px) and (min-width:768px) {
  .agent-header { -moz-column-gap:10px; column-gap:10px; }
  .agent-header-actions a span,.agent-nickname { display:none; }
  .agent-header-actions a { width:35px; justify-content:center; padding:0; }
}
@media (max-width:767px) {
  .agent-header { justify-content:space-between; }
  .agent-balance { order:1; flex:1 1 100%; }
  .agent-balance a { flex:1; }
  .agent-header-actions { order:2; flex:1 1 100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
  .agent-header-actions a { justify-content:center; padding:5px 2px; font-size:10px; gap:3px; }
  .agent-header-actions svg { width:13px; }
  .agent-nickname { display:none; }
}

.service-dialog.agent-form-dialog { width:min(460px,calc(100% - 28px)); max-height:calc(100dvh - 28px); border:1px solid #d5e1ea; border-radius:15px; box-shadow:0 20px 76px #112b3b4f; }
.service-dialog.agent-create-dialog { width:min(550px,calc(100% - 28px)); }
.agent-form-dialog::backdrop { background:#14283a80; }
.agent-form-dialog .dialog-heading { position:sticky; top:0; z-index:2; background:#fff; padding:13px 17px; }
.agent-form-dialog .dialog-heading h2 { font-size:18px; }
.agent-form-dialog .dialog-content { padding:15px 17px 14px; background:#fff; }
.partner-pay { min-width:0; padding:17px; border:1px solid #dbe4ed; border-radius:12px; background:#fff; }
.partner-pay-dialog { padding:0; border:0; background:none; }
.partner-pay h2 { display:flex; align-items:center; gap:7px; margin-bottom:12px; font-size:17px; font-weight:750; }
.partner-pay-search { display:flex; flex-wrap:wrap; align-items:end; gap:7px; margin-bottom:13px; }
.partner-pay-recipient { display:flex; align-items:center; gap:9px; padding:10px; margin-bottom:12px; border:1px solid #e0e9ee; border-radius:9px; background:#f4f8fa; }
.partner-pay-recipient>span { display:grid; flex:none; place-items:center; width:35px; height:35px; border-radius:8px; background:#e0f0eb; color:#136b60; }
.partner-pay-recipient div { display:grid; gap:2px; min-width:0; overflow-wrap:anywhere; }
.partner-pay-recipient small,.partner-pay-recipient strong span { color:#506778; font-size:12px; }
.partner-pay-form { display:grid; gap:10px; }
.partner-pay-assets { min-width:0; }
.partner-pay-assets legend,.partner-pay-amount { margin-bottom:4px; color:#26465b; font-size:13px; font-weight:700; }
.partner-pay-assets>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.partner-pay-assets label { display:flex; align-items:center; gap:6px; min-width:0; padding:8px; border:1px solid #dbe6eb; border-radius:8px; color:#33566b; cursor:pointer; }
.partner-pay-assets label[data-active=true] { background:#eaf7f4; border-color:#83bfb4; color:#0b655b; }
.partner-pay-assets label:focus-within { outline:2px solid #0b746a; outline-offset:2px; }
.partner-pay-assets input { width:14px; height:14px; margin:0; accent-color:#0b746a; }
.partner-pay-assets svg { flex:none; }
.partner-pay-assets label span { display:grid; min-width:0; font-size:12px; }
.partner-pay-assets label strong { overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.partner-pay-amount { display:grid; gap:4px; margin:0; }
.partner-pay-amount>span { position:relative; }
.partner-pay-amount input { width:100%; min-height:43px; padding-right:35px; }
.partner-pay-amount>span>span { position:absolute; inset:auto 10px 12px auto; pointer-events:none; color:#52677b; }
.partner-pay-preview { display:flex; justify-content:space-between; gap:8px; align-items:center; color:#52677b; font-size:12px; }
.partner-pay-preview strong { color:#223f53; padding-left:2px; }
.partner-pay-preview .btn { min-height:31px; padding:4px 8px; }
.partner-pay-footer { display:flex; justify-content:flex-end; align-items:center; gap:6px; padding-top:9px; border-top:1px solid #e1e9ee; }
.partner-pay-feedback { display:flex; align-items:center; gap:5px; margin-top:8px; padding:7px; border-radius:8px; background:#edf8f3; color:#196454; font-size:13px; }
.partner-pay-feedback[data-error=true] { background:#fef1f3; color:#9b2841; }
.hover\:bg-\[\#075d56\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(7 93 86 / var(--tw-bg-opacity));
}
.hover\:bg-\[\#203e54\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(32 62 84 / var(--tw-bg-opacity));
}
.hover\:text-brand:hover {
  color: var(--brand);
}
.focus\:translate-y-0:focus {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.disabled\:cursor-default:disabled {
  cursor: default;
}
.disabled\:opacity-60:disabled {
  opacity: 0.6;
}
@media (max-width: 920px) {

  .max-\[920px\]\:hidden {
    display: none;
  }

  .max-\[920px\]\:max-w-none {
    max-width: none;
  }

  .max-\[920px\]\:justify-center {
    justify-content: center;
  }
}
@media (max-width: 760px) {

  .max-\[760px\]\:hidden {
    display: none;
  }

  .max-\[760px\]\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .max-\[760px\]\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 380px) {

  .max-\[380px\]\:h-\[34px\] {
    height: 34px;
  }

  .max-\[380px\]\:w-\[34px\] {
    width: 34px;
  }

  .max-\[380px\]\:gap-\[5px\] {
    gap: 5px;
  }
}
@media (min-width: 640px) {

  .sm\:flex {
    display: flex;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm\:items-end {
    align-items: flex-end;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:p-8 {
    padding: 2rem;
  }

  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sm\:py-7 {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
}
@media (min-width: 761px) {

  .min-\[761px\]\:hidden {
    display: none;
  }
}
@media (min-width: 768px) {

  .md\:sticky {
    position: sticky;
  }

  .md\:top-0 {
    top: 0px;
  }

  .md\:grid {
    display: grid;
  }

  .md\:min-h-\[100dvh\] {
    min-height: 100dvh;
  }

  .md\:grid-cols-\[242px_minmax\(0\2c 1fr\)\] {
    grid-template-columns: 242px minmax(0,1fr);
  }

  .md\:self-start {
    align-self: flex-start;
  }
}
