/* #1090 r259 (owner 2026-11-30 photos):
   1. 'Are these buttons embossed and animated and from our button library? The path icons are not embossed and animated!'
      -> every Path button is the ONE kit's MedallionButton (path-medallions.js) with its sculpted path-*.webp; this file is
         layout only, the disc, sheen, ring, recoil and palette come from tactile-kit.css.
   2. 'Remove pages/cards with empty space' -> desktop Calling card is two tight rows of two columns:
         row 1  Calling (portrait + details)      |  Paths of this Calling (medallions + chosen Path's name and lore)
         row 2  live 3D stage                     |  gameplay trailer screen */

/* ---- Path medallions, every width ---- */
html:root:root:root:root:root body #callings#callings #calling-panel button.ss-medallion.path-medallion {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  font: inherit !important;
  text-align: center !important;
  transform: none !important;
  cursor: pointer !important;
}
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion .ss-medallion__disc {
  flex: none !important;
  overflow: visible !important;                             /* the sculpted medallion is already a rimmed disc on clear glass */
  background: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .7));
}
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion .ss-medallion__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: none !important;
  box-shadow: none !important;
  object-fit: contain !important;
  transform: none !important;
}
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion .ss-medallion__shimmer { inset: 2% !important; overflow: hidden; }
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion:hover .ss-medallion__disc,
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion:focus-visible .ss-medallion__disc {
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .78)) drop-shadow(0 0 10px rgba(var(--ss-glow-rgb), .55)) brightness(1.1);
}
/* chosen Path: a lit rim in the Path's own colour, the others sit back a little */
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion.is-selected .ss-medallion__disc {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .8)) drop-shadow(0 0 14px rgba(var(--ss-glow-rgb), .8));
}
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion.is-selected .ss-medallion__disc::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--ss-accent-hex);
  box-shadow: 0 0 12px rgba(var(--ss-glow-rgb), .7), inset 0 0 6px rgba(var(--ss-glow-rgb), .45);
  pointer-events: none;
}
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion:not(.is-selected) .ss-medallion__img { filter: saturate(.86) brightness(.9); }
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion:not(.is-selected):hover .ss-medallion__img { filter: none; }
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion .ss-medallion__label {
  font-family: "Soul Cinzel", "Cinzel", Georgia, serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #e9dcbd !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .95) !important;
}
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion.is-selected .ss-medallion__label { color: var(--ss-accent-hex) !important; }
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion .ss-medallion__lock {
  top: 0 !important;
  right: 0 !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  color: #f6d27a !important;
  font-size: 0 !important;
}
html:root:root:root:root:root body #callings#callings #calling-panel .path-medallion .ss-medallion__lock svg { width: 14px; height: 14px; display: block; }

/* ---- desktop + tablet: a row of raised medallions, name under each ---- */
@media (min-width: 700px) {
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-row.adv-row-w2 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
    align-items: flex-start !important;
    gap: 14px 10px !important;
    margin: 0 !important;
    padding: 4px 0 0 !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-row-w2 > .path-medallion {
    --ss-med-size: 96px;
    flex: 0 1 106px !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 4px 0 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-row-w2 > .path-medallion .ss-medallion__label {
    max-width: 106px !important;
    min-height: 2.4em !important;
    font-size: 12px !important;
    letter-spacing: .04em !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
}

/* ---- desktop: the tight two-column Calling card ---- */
@media (min-width: 1100px) {
  html:root:root:root:root:root body #callings#callings #calling-panel.calling-panel {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto auto auto 1fr auto !important;
    gap: 12px 24px !important;
    align-items: start !important;
    position: relative !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel > .adv.adv-w2,
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-card.adv-card-w2,
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-card-w2 > .adv-info-w2 { display: contents !important; }

  /* row 1 left: the Calling */
  html:root:root:root:root:root body #callings#callings #calling-panel > .calling-base {
    grid-column: 1 / span 7 !important;
    grid-row: 1 / span 5 !important;
    align-self: stretch !important;
    grid-template-columns: 216px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto 1fr auto !important;
    align-items: start !important;
    gap: 10px 22px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel > .calling-base > div:last-child { display: contents !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel > .calling-base > div:last-child > * { grid-column: 2 !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel > .calling-base > div:last-child > .cp-toggle.cp-desk {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    margin-top: 8px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(218, 178, 102, .2) !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel > .calling-base .adv-media.base-fig {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    align-self: stretch !important;
    width: 216px !important;
    max-width: 216px !important;
    height: auto !important;
    min-height: 236px !important;
    max-height: none !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel > .calling-base .adv-media.base-fig img.fig { object-position: 50% 50% !important; }

  /* row 1 right: Paths of this Calling, on its own inset plate */
  html:root:root:root:root:root body #callings#callings #calling-panel.calling-panel::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    grid-column: 8 / -1 !important;
    grid-row: 1 / span 5 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(218, 178, 102, .26) !important;
    background: linear-gradient(170deg, rgba(40, 31, 21, .72), rgba(17, 13, 10, .9)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 232, 180, .1), inset 0 0 40px rgba(0, 0, 0, .35) !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-head-row,
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-row.adv-row-w2,
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-info-w2 > .adv-title-line,
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-info-w2 > h4,
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-info-w2 > p.about {
    grid-column: 8 / -1 !important;
    position: relative !important;
    z-index: 1 !important;
    margin: 0 18px !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-head-row { grid-row: 1 !important; margin-top: 16px !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-head-row .adv-label { margin: 0 !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-row.adv-row-w2 { grid-row: 2 !important; margin: 0 !important; width: auto !important; box-sizing: border-box !important; padding: 4px 14px 0 !important; gap: 14px 6px !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-info-w2 > .adv-title-line {
    grid-row: 3 !important;
    margin-top: 8px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(218, 178, 102, .2) !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-info-w2 > h4 { grid-row: 4 !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-info-w2 > p.about { grid-row: 5 !important; margin-bottom: 16px !important; }

  /* row 2: live 3D stage | trailer screen, one height */
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-card-w2 > .p3d-stage {
    grid-column: 1 / span 5 !important;
    grid-row: 6 !important;
    margin-top: 8px !important;
    min-width: 0 !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-card-w2 > .p3d-stage .p3d-viewport { height: 372px !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-card-w2 > .p3d-stage .p3d-top-bar { flex-wrap: nowrap !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-card-w2 > .p3d-stage .p3d-rig-note { display: none !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel .adv-info-w2 > .embed-trailer-screen {
    grid-column: 6 / -1 !important;
    grid-row: 6 !important;
    align-self: stretch !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 8px 0 0 !important;
  }
}

/* ---- phone: Path tabs keep their 2 x 2 grid; each is the medallion with its name beside it ---- */
@media (max-width: 699px) {
  html:root:root:root:root:root body #callings#callings #calling-panel button.cp-pchip.path-medallion {
    --ss-med-size: 44px;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    padding: 5px 5px 5px 6px !important;
    overflow: visible !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel button.cp-pchip.path-medallion .ss-medallion__label {
    flex: 1 1 auto;
    min-width: 0;
    font: 700 12px/1.15 system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
    white-space: normal !important;
  }
  html:root:root:root:root:root body #callings#callings #calling-panel button.cp-pchip.path-medallion .ss-medallion__lock { top: -4px !important; right: auto !important; left: 30px !important; width: 20px !important; height: 20px !important; }
  /* "View paths": each Path name carries its sculpted medallion */
  html:root:root:root:root:root body #callings#callings #calling-panel .cp-paths .cp-pitem { display: inline-flex !important; align-items: center !important; gap: 5px !important; }
  html:root:root:root:root:root body #callings#callings #calling-panel .cp-paths img.path-medallion-mark {
    width: 24px !important;
    height: 24px !important;
    flex: none !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7));
  }
}
