/* Main my-page only. Existing wallet/member artwork and every other sheet keep
   their own styles. This file is loaded after the legacy feature styles. */
#myInfoBody {
  --mr-panel: #382e27;
  --mr-raised: #44382e;
  --mr-control: #352b22;
  --mr-border: #82643d;
  --mr-border-soft: #745a3b80;
  --mr-gold: #e3c184;
  --mr-text: #f1e4cf;
  --mr-muted: #c3b094;
  --mr-ink: #6b4410;
  --mr-ink-soft: #40290b;
  --mr-button-text: #4a340c;
  --mr-yellow-face: linear-gradient(180deg, #fff3cd, #ffe08a);
  --mr-blue-face: linear-gradient(180deg, #d9f3f8, #9edce9);
  --mr-green-face: linear-gradient(180deg, #d9f2c8, #a8e07a);
  --mr-gold-face: linear-gradient(180deg, #ffe08a, #f0b52c);
}

/* Native menu groups reuse the wallet palette without changing the nested
   feature modules or the existing C / T-C history controls. */
#myInfoBody .myinfo-group {
  min-width: 0;
  margin-block: 12px 0;
  padding: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
  border: 3px solid var(--mr-ink) !important;
  border-radius: 14px !important;
  background: var(--mr-panel) !important;
  box-shadow: 0 4px 0 var(--mr-ink-soft) !important;
}

#myInfoBody .myinfo-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 12px 13px;
  box-sizing: border-box;
  background: var(--mr-yellow-face);
  color: var(--mr-button-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent;
}

#myInfoBody .myinfo-group > summary::-webkit-details-marker {
  display: none;
}

#myInfoBody .myinfo-group > summary:focus-visible {
  outline: 2px solid var(--mr-ink);
  outline-offset: -4px;
  border-radius: 10px;
}

#myInfoBody .myinfo-group-title {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--mr-button-text);
}

#myInfoBody .myinfo-group-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  box-sizing: border-box;
  border: 1px solid var(--mr-ink);
  border-radius: 999px;
  background: #ffe08a;
  color: var(--mr-button-text);
  box-shadow: 0 1px 0 var(--mr-ink-soft);
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
}

#myInfoBody .myinfo-group-badge[hidden] {
  display: none !important;
}

#myInfoBody .myinfo-group-title :is(svg, .mi-ic) {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--mr-ink);
  font-size: 15px;
}

#myInfoBody .myinfo-group-title svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#myInfoBody .myinfo-group-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--mr-ink);
  font-size: 14px;
  line-height: 1;
}

#myInfoBody .myinfo-group[open] > summary {
  border-bottom: 3px solid var(--mr-ink);
}

#myInfoBody .myinfo-group[open] > summary .myinfo-group-chevron {
  transform: rotate(180deg);
}

#myInfoBody .myinfo-group:is([data-myinfo-history="community"], [data-myinfo-history="legal"]) > summary {
  background: var(--mr-blue-face);
}

#myInfoBody .myinfo-group:is([data-myinfo-history="store"], [data-myinfo-history="tickets"]) > summary {
  background: var(--mr-green-face);
}

#myInfoBody .myinfo-group > .myinfo-group-content {
  min-width: 0;
  padding: 13px;
  box-sizing: border-box;
}

/* The legacy direct-child grid selector must not split this new wrapper into
   two columns; only its original .ls-profile-grid remains a two-column grid. */
#myInfoBody .ls-profile-links > .myinfo-group-content {
  display: block;
}

#myInfoBody .myinfo-group-content > .myinfo-lounge-shortcuts {
  margin-block: 0;
}

#myInfoBody .myinfo-group .td-my-entry > h3 {
  display: none;
}

#myInfoBody :is(.ls-profile-links, .ls-my-activity, .td-my-entry, .ol-my-entry, .myinfo-lounge-shortcuts, .myinfo-history) {
  min-width: 0;
  box-sizing: border-box;
}

/* The same small icon-and-label rows are used for all personal shortcuts. */
#myInfoBody .ls-profile-links {
  display: block;
  margin-block: 17px;
  padding: 13px;
  border: 3px solid var(--mr-ink);
  border-radius: 14px;
  background: var(--mr-panel);
  box-shadow: 0 4px 0 var(--mr-ink-soft);
  color: var(--mr-text);
}

#myInfoBody :is(.ls-profile-links h3, .td-my-entry h3) {
  margin: 0 0 10px;
  color: var(--mr-gold);
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.2px;
}

#myInfoBody :is(.ls-profile-links > div, .ls-profile-grid, .td-my-entry > div) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
}

#myInfoBody :is(.ls-profile-links button, .td-my-entry button, .myinfo-lounge-shortcuts > a) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-width: 0;
  min-height: 50px;
  padding: 10px 11px;
  border: 3px solid var(--mr-ink) !important;
  border-radius: 14px;
  background: var(--mr-yellow-face) !important;
  color: var(--mr-button-text) !important;
  box-shadow: 0 4px 0 var(--mr-ink-soft), inset 0 1px #fff8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  letter-spacing: -.25px;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#myInfoBody :is(.ls-profile-links button, .td-my-entry button, .myinfo-lounge-shortcuts > a):focus-visible {
  outline: 2px solid #efd090;
  outline-offset: 3px;
}

#myInfoBody :is(.ls-profile-links button, .td-my-entry button, .myinfo-lounge-shortcuts > a):active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--mr-ink-soft), inset 0 1px #fff8;
}

#myInfoBody :is(.ls-profile-links button > svg, .ls-entry-icon, .myinfo-shortcut-icon, .td-entry-icon) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 26px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--mr-ink);
  font-size: 19px;
  line-height: 1;
}

#myInfoBody :is(.ls-entry-icon, .myinfo-shortcut-icon, .td-entry-icon) svg,
#myInfoBody .ls-profile-links button > svg {
  display: block;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#myInfoBody :is(.ls-entry-label, .ls-profile-links button > span) {
  min-width: 0;
}

#myInfoBody .ls-profile-links .ls-profile-grid > button {
  min-height: 50px;
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
  background: var(--mr-blue-face) !important;
}

#myInfoBody .ls-profile-settings {
  margin-top: 12px;
  border-top: 1px solid var(--mr-border-soft);
}

#myInfoBody .ls-profile-settings > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 11px 1px 0;
  color: var(--mr-muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

#myInfoBody .ls-profile-settings > summary::after {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin: -3px 4px 0 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

#myInfoBody .ls-profile-settings[open] > summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

#myInfoBody .ls-profile-settings > .ls-profile-grid {
  margin-top: 9px;
}

/* Saved tournaments/notifications/requests retain their existing event hooks. */
#myInfoBody .ls-my-activity {
  display: grid;
  gap: 13px;
  margin-block: 17px;
}

#myInfoBody .td-my-entry {
  margin: 0;
  padding: 0;
  border: 0;
}

#myInfoBody .td-my-entry button {
  grid-template-rows: none;
  align-content: normal;
  justify-items: normal;
  row-gap: 0;
}

#myInfoBody .td-my-entry button:last-child {
  grid-column: 1 / -1;
}

#myInfoBody .td-my-entry [data-td-my="saved"] {
  background: var(--mr-yellow-face) !important;
}

#myInfoBody .td-my-entry [data-td-my="notifications"] {
  background: var(--mr-blue-face) !important;
}

#myInfoBody .td-my-entry [data-td-my="reports"] {
  background: var(--mr-green-face) !important;
}

#myInfoBody .td-my-entry button strong {
  min-width: 0;
  font: inherit;
  line-height: 1.45;
  white-space: normal;
}

#myInfoBody .td-my-entry button small {
  display: none;
}

#myInfoBody .td-entry-icon {
  position: relative;
}

#myInfoBody .td-entry-icon b {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  margin: 0;
  padding: 0 4px;
  border: 1px solid var(--mr-ink);
  border-radius: 10px;
  background: #ffe08a;
  color: #35220f;
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
}

#myInfoBody .ol-my-entry {
  margin: 0;
  font-family: inherit;
}

#myInfoBody .ol-my-entry > button {
  gap: 10px;
  min-height: 53px;
  padding: 11px 12px;
  border: 3px solid var(--mr-ink);
  border-radius: 14px;
  background: var(--mr-green-face);
  color: var(--mr-button-text);
  box-shadow: 0 4px 0 var(--mr-ink-soft), inset 0 1px #fff8;
}

#myInfoBody .ol-my-entry .ol-entry-icon {
  width: 28px;
  height: 29px;
  border: 0;
  background: transparent;
  color: var(--mr-ink);
}

#myInfoBody .ol-my-entry strong {
  color: var(--mr-button-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

#myInfoBody .ol-my-entry small {
  margin-top: 2px;
  color: #5e4829;
  font-size: 10px;
  line-height: 1.5;
}

#myInfoBody .myinfo-lounge-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  margin-block: 17px;
}

#myInfoBody .myinfo-lounge-shortcuts > a {
  gap: 8px;
  min-height: 49px;
}

#myInfoBody .myinfo-lounge-shortcuts strong {
  font: inherit;
  color: var(--mr-button-text);
  line-height: 1.45;
}

#myInfoBody .myinfo-lounge-shortcuts small {
  display: none;
}

#myInfoBody .myinfo-lounge-shortcuts > a > span:last-child {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--mr-ink);
  font-size: 15px;
  line-height: 1;
}

/* Existing account forms keep their sticker trim. Histories start collapsed. */
#myInfoBody .myinfo-history {
  margin-block: 12px 0;
  padding: 0 !important;
  overflow: hidden;
  border: 3px solid var(--mr-ink) !important;
  border-radius: 14px !important;
  background: var(--mr-panel) !important;
  box-shadow: 0 4px 0 var(--mr-ink-soft) !important;
}

#myInfoBody .myinfo-history > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 49px;
  padding: 12px 13px;
  color: var(--mr-button-text);
  background: var(--mr-yellow-face);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

#myInfoBody :is(.myinfo-history, .ls-profile-settings) > summary::-webkit-details-marker {
  display: none;
}

#myInfoBody :is(.myinfo-history, .ls-profile-settings) > summary:focus-visible {
  outline: 2px solid #efd090;
  outline-offset: -3px;
  border-radius: 8px;
}

#myInfoBody .myinfo-history > summary:focus-visible {
  outline-color: var(--mr-ink);
}

#myInfoBody .myinfo-history-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#myInfoBody .myinfo-history-title .mi-ic {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  font-size: 15px;
}

#myInfoBody .myinfo-history-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--mr-ink);
  font-size: 14px;
  line-height: 1;
}

#myInfoBody .myinfo-history[open] > summary {
  border-bottom: 3px solid var(--mr-ink);
}

#myInfoBody .myinfo-history[data-myinfo-history="tc"] > summary {
  background: var(--mr-blue-face);
}

#myInfoBody .myinfo-history[data-myinfo-history="c"] > summary {
  background: var(--mr-yellow-face);
}

#myInfoBody .myinfo-history[data-myinfo-history="transfer"] > summary {
  background: var(--mr-gold-face);
}

#myInfoBody .ol-my-entry > button > svg {
  color: var(--mr-ink);
}

#myInfoBody .myinfo-history[open] .myinfo-history-chevron {
  transform: rotate(180deg);
}

#myInfoBody .myinfo-history-content {
  min-width: 0;
  padding: 12px 13px 14px;
}

#myInfoBody .myinfo-history-content > :last-child {
  margin-bottom: 0;
}

#myInfoBody .myinfo-practice-line {
  margin-block: 9px 14px;
  color: var(--mr-muted);
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 360px) {
  #myInfoBody .ls-profile-links {
    padding: 11px;
  }

  #myInfoBody :is(.ls-profile-grid, .ls-profile-links > div, .td-my-entry > div, .myinfo-lounge-shortcuts) {
    gap: 7px;
  }

  #myInfoBody :is(.ls-profile-links button, .td-my-entry button, .myinfo-lounge-shortcuts > a) {
    gap: 7px;
    padding-inline: 8px;
    font-size: 11px;
  }

  #myInfoBody .myinfo-lounge-shortcuts > a > span:last-child {
    display: none;
  }

  #myInfoBody .ls-profile-links .ls-profile-grid > button {
    padding-inline: 8px;
    font-size: 11px;
  }

  #myInfoBody .ol-my-entry strong {
    font-size: 12px;
  }
}

@media (min-width: 1000px) and (hover: hover) and (pointer: fine) {
  #myInfoSheet[data-view="profile"] #myInfoBody {
    gap: 16px 22px;
    /* This is a fixed-height scrolling grid. Intrinsic rows must keep the full
       height of native details and ticket sections instead of shrinking their
       tracks to borders and painting over the next summary. */
    grid-auto-rows: max-content;
  }

  #myInfoSheet[data-view="profile"] #myInfoBody > .ls-my-activity {
    grid-column: 1 / -1;
  }

  #myInfoSheet[data-view="profile"] #myInfoBody > :is(.myinfo-menu-section, .ls-profile-links) {
    grid-column: auto;
    align-self: start;
    min-width: 0;
    margin-block: 0;
    padding: 13px;
    border: 3px solid var(--mr-ink);
    border-radius: 14px;
    background: var(--mr-panel);
    box-shadow: 0 4px 0 var(--mr-ink-soft);
  }

  #myInfoSheet[data-view="profile"] #myInfoBody .myinfo-menu-heading {
    margin: 0 0 10px;
    color: var(--mr-gold);
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.2px;
  }

  #myInfoSheet[data-view="profile"] #myInfoBody .myinfo-menu-section > .myinfo-lounge-shortcuts {
    margin-block: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #myInfoSheet[data-view="profile"] #myInfoBody .ls-profile-grid,
  #myInfoSheet[data-view="profile"] #myInfoBody .ls-profile-links > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #myInfoSheet[data-view="profile"] #myInfoBody .ls-my-activity {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 22px;
  }

  #myInfoSheet[data-view="profile"] #myInfoBody :is(.td-my-entry button strong, .ls-profile-links button) {
    font-size: 13px;
  }

  #myInfoSheet[data-view="profile"] #myInfoBody .myinfo-lounge-shortcuts {
    align-self: start;
  }

  #myInfoSheet[data-view="profile"] #myInfoBody :is(.ls-profile-links button, .td-my-entry button, .myinfo-lounge-shortcuts > a):hover {
    filter: brightness(1.035);
  }
}


/* Approved Cheese 3D design - 2026-11-01. Visual override only. */
/* Preview 03 — cheese relief. Visual overrides only; native layout/state stay intact. */
#myInfoSheet[data-view="profile"] {
  --mi-ink: #774212;
  --mi-ink-soft: #321906;
  --mi-face: #2c1d14;
  background: radial-gradient(ellipse at 50% 0, #6c432b75, transparent 62%), #130d09ed !important;
}

#myInfoSheet[data-view="profile"] .myinfo-card {
  border-color: #8c5525 !important;
  border-radius: 18px !important;
  background: linear-gradient(150deg, #352318, #20150f 56%, #2b1b12) !important;
  box-shadow: inset 0 1px 0 #eac18436, 0 3px 0 #100906, 0 22px 48px #0008 !important;
}

#myInfoSheet[data-view="profile"] .myinfo-head {
  border-bottom-color: #70431f !important;
  background: linear-gradient(180deg, #493020, #302016) !important;
}

#myInfoSheet[data-view="profile"] :is(.myinfo-head strong, #myInfoTitle) {
  color: #ffe1a0 !important;
  text-shadow: 0 1px 0 #a36a24, 0 3px 0 #1f1108 !important;
}

#myInfoSheet[data-view="profile"] .myinfo-head button {
  border-color: #98591c !important;
  background: linear-gradient(180deg, #fff1ad, #ffc63c 60%, #e6a022) !important;
  color: #4d2b0d !important;
  box-shadow: inset 0 2px 0 #fff8d5, 0 3px 0 #38200a, 0 5px 8px #0004 !important;
}

#myInfoBody {
  --mr-panel: #302017;
  --mr-raised: #3d2a1d;
  --mr-control: #2c1d14;
  --mr-border: #875324;
  --mr-border-soft: #80522b80;
  --mr-gold: #f3ce87;
  --mr-text: #f1e3cb;
  --mr-muted: #bfa78b;
  --mr-ink: #8a511b;
  --mr-ink-soft: #311905;
  --mr-button-text: #4c2c0f;
  --mr-yellow-face: linear-gradient(180deg, #fff0ae 0%, #ffd158 42%, #efb234 100%);
  --mr-gold-face: linear-gradient(180deg, #ffe69b, #f8c141 58%, #dfa02b);
  --mr-blue-face: linear-gradient(180deg, #e2f3ee, #aed8d7 55%, #8ebbbd);
  --mr-green-face: linear-gradient(180deg, #ebefb9, #cbd889 55%, #b0bc6f);
  color: #f1e3cb !important;
  background: linear-gradient(180deg, #32211608, #21150e55) !important;
}

#myInfoBody .myinfo-hero {
  border-color: #965b1f !important;
  border-radius: 18px !important;
  background: radial-gradient(ellipse at 20% 0, #fff8ceaa, transparent 66%), linear-gradient(145deg, #ffe49a, #f8c14b 70%, #e2a032) !important;
  box-shadow: inset 0 2px 0 #fff8d1, inset 0 -3px 0 #bd7c2470, 0 3px 0 #3e2309, 0 9px 16px #0005 !important;
}

#myInfoBody .myinfo-hero :is(.myinfo-name, .myinfo-id-row, .myinfo-id-row code) {
  color: #4e2d0e !important;
}

#myInfoBody .myinfo-hero .myinfo-name {
  text-shadow: 0 1px 0 #fff0b3 !important;
}

#myInfoBody .myinfo-hero .myinfo-badge {
  border-color: #8f551d !important;
  background: linear-gradient(180deg, #805024, #553014) !important;
  color: #ffe9b7 !important;
  box-shadow: inset 0 1px 0 #c08d4c99, 0 2px 0 #d49b35 !important;
}

#myInfoBody .myinfo-wallet-heading strong {
  color: #f5d391 !important;
  text-shadow: 0 2px 0 #160d06 !important;
}

#myInfoBody .myinfo-wallet-heading span {
  color: #bda88a !important;
}

#myInfoBody .myinfo-stats .myinfo-stat {
  border-color: #8a5525 !important;
  border-radius: 18px !important;
  box-shadow: inset 0 2px 0 #fffbeecc, inset 0 -3px 0 #8b591629, 0 3px 0 #2b1809, 0 7px 12px #0004 !important;
}

#myInfoBody .myinfo-stats .myinfo-stat.is-point {
  background: linear-gradient(160deg, #fff0b6, #f6cc67 70%, #e2ac42) !important;
}

#myInfoBody .myinfo-stats .myinfo-stat:is(.is-tc, .is-usdt) {
  background: linear-gradient(160deg, #d9eeea, #afd2d3 70%, #86afb2) !important;
}

#myInfoBody .myinfo-stats .myinfo-stat.is-ticket {
  background: linear-gradient(160deg, #edf0be, #cbd88b 70%, #aeba71) !important;
}

#myInfoBody .myinfo-stats .myinfo-stat :is(span, strong, small) {
  color: #4c3218 !important;
  text-shadow: 0 1px 0 #fff8 !important;
}

#myInfoBody :is(.myinfo-primary, .myinfo-secondary, .myinfo-lounge-shortcuts > a,
  .td-my-entry button, .ol-my-entry button, .ls-profile-links button) {
  border-color: #92591f !important;
  border-radius: 18px !important;
  background: var(--mr-yellow-face) !important;
  color: #4c2c0f !important;
  box-shadow: inset 0 2px 0 #fff5c3, inset 0 -3px 0 #b276243d, 0 3px 0 #321b07, 0 6px 10px #0003 !important;
  text-shadow: 0 1px 0 #fff1b380 !important;
}

#myInfoBody :is(.myinfo-primary, .myinfo-secondary, .myinfo-lounge-shortcuts > a,
  .td-my-entry button, .ol-my-entry button, .ls-profile-links button) :is(svg, strong, span, small) {
  color: #553410 !important;
}

#myInfoBody :is(.myinfo-group, .myinfo-history) {
  border-color: #8c5524 !important;
  border-radius: 18px !important;
  background: #302017 !important;
  box-shadow: inset 0 1px 0 #e6be7433, 0 3px 0 #241207, 0 8px 14px #0004 !important;
}

#myInfoBody .myinfo-group > summary,
#myInfoBody .myinfo-history > summary {
  background: var(--mr-yellow-face) !important;
  color: #4c2c0f !important;
  box-shadow: inset 0 2px 0 #fff7cb, inset 0 -3px 0 #ad70222e !important;
  text-shadow: 0 1px 0 #fff1b3a6 !important;
}

#myInfoBody .myinfo-history[data-myinfo-history="tc"] > summary {
  background: var(--mr-blue-face) !important;
}

#myInfoBody .myinfo-group[data-myinfo-history="tickets"] > summary {
  background: var(--mr-green-face) !important;
}

#myInfoBody :is(.myinfo-group-title, .myinfo-group-chevron, .myinfo-history-title, .myinfo-history-chevron),
#myInfoBody :is(.myinfo-group-title, .myinfo-history-title) :is(svg, .mi-ic) {
  color: #593711 !important;
}

#myInfoBody .myinfo-group-badge {
  border-color: #8e541d !important;
  background: linear-gradient(180deg, #774315, #452709) !important;
  color: #ffeaab !important;
  box-shadow: inset 0 1px 0 #be8b43, 0 1px 0 #fff0a777 !important;
}

#myInfoBody .myinfo-group[open] > summary {
  border-bottom-color: #86501b !important;
}

#myInfoBody :is(.myinfo-primary, .myinfo-secondary, .myinfo-lounge-shortcuts > a,
  .td-my-entry button, .ol-my-entry button, .ls-profile-links button):active {
  box-shadow: inset 0 2px 5px #7e49173d, 0 1px 0 #321b07 !important;
}

#myInfoSheet[data-view="profile"] :is(button, summary, a):focus-visible {
  outline-color: #fff0aa !important;
}

/* Keep currency units intact and money baselines aligned on narrow phones. */
#myInfoBody .myinfo-stat-unit {
  display: inline !important;
  white-space: nowrap !important;
  font: inherit !important;
  color: inherit !important;
}
@media (max-width: 359px) {
  #myInfoBody .myinfo-stat-label {
    min-height: 2.8em;
    line-height: 1.4;
  }
  #myInfoBody .myinfo-id-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 7px;
  }
  #myInfoBody .myinfo-id-row > span {
    grid-column: 1 / -1;
    white-space: nowrap;
  }
}
