.journey-button{
  height:40px;
  padding:0 14px;
  border:1px solid #a75d31;
  border-radius:9px;
  background:linear-gradient(180deg,#4b2919,#2d1b13);
  color:#ffe0ca;
  cursor:pointer;
  white-space:nowrap;
  font-weight:750;
}
.journey-button:hover,.journey-button:focus,.journey-button[aria-expanded="true"]{
  border-color:#ff9a55;
  background:linear-gradient(180deg,#63351e,#3b2115);
  outline:none;
  box-shadow:0 0 0 3px #ef7c3520;
}
.atlas-canvas{
  position:absolute;
  inset:0;
  z-index:6;
  width:100%;
  height:100%;
  pointer-events:none;
}
.pdf-rules-replacement{
  position:absolute;
  left:0;
  top:0;
  z-index:3;
  width:2600px;
  height:1854px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:230px 270px;
  overflow:hidden;
  border:0;
  background:#fff;
  color:#10141b;
  text-align:left;
  transform-origin:0 0;
  cursor:pointer;
}
.pdf-rules-replacement::before{
  content:"";
  position:absolute;
  left:270px;
  top:380px;
  width:110px;
  height:110px;
  border-radius:50%;
  background:#ef7c35;
  box-shadow:0 0 0 34px #ef7c351f;
}
.pdf-rules-replacement span,.pdf-rules-replacement strong,.pdf-rules-replacement small{display:block;max-width:1700px}
.pdf-rules-replacement span{
  margin:0 0 95px 190px;
  color:#b45b27;
  font-size:76px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.pdf-rules-replacement strong{
  font-size:205px;
  line-height:.98;
  letter-spacing:-.04em;
}
.pdf-rules-replacement small{
  margin-top:120px;
  padding-bottom:22px;
  border-bottom:14px solid #ef7c35;
  color:#5f6874;
  font-size:83px;
  font-weight:800;
}
.pdf-rules-replacement:hover strong,.pdf-rules-replacement:focus strong{color:#b95822}
.pdf-rules-replacement:focus{outline:34px solid #ef7c3545;outline-offset:-34px}
.story-button{display:none!important}
.atlas-tour{
  position:absolute;
  left:50%;
  bottom:14px;
  z-index:24;
  width:min(1180px,calc(100vw - 188px));
  height:266px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #4a5361;
  border-radius:17px;
  background:linear-gradient(145deg,#141a23 0%,#0c1017 72%);
  box-shadow:0 24px 78px #000e,0 0 0 1px #ffffff08 inset;
  transform:translateX(-50%);
  animation:atlas-tour-in .28s cubic-bezier(.2,.82,.25,1);
}
.atlas-tour[hidden]{display:none}
.atlas-tour::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:linear-gradient(90deg,transparent,#ef7c35 24%,#ffc08f 50%,#ef7c35 76%,transparent);
  opacity:.78;
}
.atlas-tour-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:62px;
  padding:12px 13px 10px 17px;
  border-bottom:1px solid #2b3441;
}
.atlas-tour-header span,.atlas-tour-header strong{display:block}
.atlas-tour-header span{
  margin-bottom:3px;
  color:#e8945f;
  font-size:8px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.atlas-tour-header strong{font-size:15px;letter-spacing:.01em}
.atlas-tour-actions{display:flex;gap:6px}
.atlas-tour-actions button{
  width:34px;
  height:34px;
  padding:0;
  border:1px solid #414c5b;
  border-radius:9px;
  background:#202733;
  color:#edf1f6;
  cursor:pointer;
  font-size:16px;
}
.atlas-tour-actions button:hover,.atlas-tour-actions button:focus{
  border-color:#ef7c35;
  background:#342219;
  outline:none;
}
.atlas-tour-actions button:disabled{opacity:.35;cursor:not-allowed}
.atlas-tour-progress{height:3px;background:#202733}
.atlas-tour-progress span{
  display:block;
  width:0;
  height:100%;
  background:linear-gradient(90deg,#ef7c35,#ffbd84);
  transition:width .24s ease;
}
.atlas-tour-deck{
  display:flex;
  flex:1;
  gap:10px;
  min-height:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:10px 12px 12px;
  scroll-snap-type:x mandatory;
  scroll-padding:12px;
  overscroll-behavior-x:contain;
  touch-action:pan-x;
  scrollbar-width:thin;
  scrollbar-color:#596575 transparent;
  outline:none;
}
.atlas-tour-deck::-webkit-scrollbar{height:5px}
.atlas-tour-deck::-webkit-scrollbar-thumb{border-radius:8px;background:#596575}
.atlas-chapter{
  position:relative;
  flex:0 0 350px;
  display:grid;
  grid-template-columns:106px minmax(0,1fr);
  gap:12px;
  min-width:0;
  overflow:hidden;
  padding:10px;
  border:1px solid #343f4d;
  border-radius:13px;
  background:linear-gradient(145deg,#1a212b,#121820);
  color:#f4f6f9;
  scroll-snap-align:center;
  cursor:pointer;
  text-align:left;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.atlas-chapter:hover,.atlas-chapter:focus{
  border-color:#667486;
  background:linear-gradient(145deg,#242d39,#171e27);
  outline:none;
  transform:translateY(-2px);
}
.atlas-chapter.is-active{
  border-color:#e27837;
  background:linear-gradient(145deg,#382318,#171c24 72%);
  box-shadow:0 0 0 2px #ef7c351c inset,0 12px 30px #0008;
}
.atlas-chapter-portrait{
  position:relative;
  width:106px;
  height:146px;
  margin:0;
  overflow:hidden;
  border:1px solid #485463;
  border-radius:10px;
  background:radial-gradient(circle at 50% 28%,#ef7c353d,#27313e 58%,#161c24);
}
.atlas-chapter-portrait img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 15%;
}
.atlas-chapter-portrait span{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#ffd9bf;
  font-size:25px;
  font-weight:900;
  letter-spacing:.06em;
}
.atlas-chapter-copy{min-width:0;align-self:center}
.atlas-chapter-number{
  display:block;
  margin-bottom:4px;
  color:#ef965f;
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.atlas-chapter h3{
  margin:0;
  font-size:17px;
  line-height:1.04;
  letter-spacing:-.015em;
}
.atlas-chapter p{
  display:-webkit-box;
  margin:7px 0 0;
  overflow:hidden;
  color:#aeb8c6;
  font-size:10px;
  line-height:1.42;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
}
.atlas-chapter-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:8px;
}
.atlas-chapter-meta span{
  padding:4px 6px;
  border:1px solid #45505f;
  border-radius:999px;
  color:#cbd2dc;
  font-size:7px;
  font-weight:800;
  white-space:nowrap;
}
.atlas-chapter.is-active .atlas-chapter-meta span{
  border-color:#74462d;
  background:#2b1c14;
  color:#ffd3b6;
}
.atlas-chapter-arrow{
  position:absolute;
  right:10px;
  bottom:9px;
  color:#ef7c35;
  font-size:16px;
  font-weight:900;
}
.has-atlas-tour .controls{bottom:294px}
.has-atlas-tour .zoom-readout{bottom:490px}
.has-atlas-tour .minimap{bottom:294px}
.has-atlas-tour .hint{opacity:0;pointer-events:none}
.has-atlas-tour .results-explorer,.has-atlas-tour .results-explorer-restore{display:none}
.has-atlas-tour .coach-explorer{bottom:294px}

@keyframes atlas-tour-in{
  from{opacity:0;transform:translate(-50%,22px) scale(.985)}
  to{opacity:1;transform:translateX(-50%)}
}

@media(max-width:1120px){
  .atlas-tour{width:calc(100vw - 176px)}
  .atlas-chapter{flex-basis:330px;grid-template-columns:96px minmax(0,1fr)}
  .atlas-chapter-portrait{width:96px}
  .journey-button{padding:0 11px;font-size:12px}
}

@media(max-width:860px){
  .atlas-tour{left:12px;right:12px;width:auto;transform:none}
  @keyframes atlas-tour-in{
    from{opacity:0;transform:translateY(22px) scale(.985)}
    to{opacity:1;transform:none}
  }
}

@media(max-width:720px){
  .journey-button{height:38px;padding:0 10px;font-size:11px}
  .rules-button{display:none}
  .atlas-tour{
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:min(48dvh,430px);
    border-width:1px 0 0;
    border-radius:18px 18px 0 0;
    padding-bottom:env(safe-area-inset-bottom);
  }
  .atlas-tour-header{min-height:58px;padding:11px 10px 9px 14px}
  .atlas-tour-header strong{max-width:230px;font-size:13px;line-height:1.15}
  .atlas-tour-actions button{width:32px;height:32px}
  .atlas-tour-deck{padding:9px 10px 10px;scroll-padding:10px}
  .atlas-chapter{
    flex-basis:calc(100vw - 42px);
    grid-template-columns:100px minmax(0,1fr);
    gap:11px;
    padding:9px;
  }
  .atlas-chapter-portrait{width:100px;height:100%}
  .atlas-chapter h3{font-size:18px}
  .atlas-chapter p{font-size:10px;-webkit-line-clamp:5}
  .has-atlas-tour .controls,.has-atlas-tour .zoom-readout,.has-atlas-tour .minimap,
  .has-atlas-tour .historical-timeline{display:none!important}
  .has-atlas-tour .coach-explorer{display:none}
}

@media(prefers-reduced-motion:reduce){
  .atlas-tour,.atlas-chapter{animation:none!important;transition:none!important}
  .atlas-tour-deck{scroll-behavior:auto!important}
}
