/* The approved progression map shared by the real loader and How to Play. */
.pm-screen {
  position: fixed; inset: 0; z-index: 10; box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; margin: 0; padding: 0;
  border: 0; max-width: none; max-height: none; width: 100%; height: 100%;
  color: #f7edda; background: #211c18;
  font: 400 16px/1.3 "Baloo 2", sans-serif;
}
.pm-screen[hidden] { display: none; }
.pm-screen [hidden] { display: none !important; }
#loader.pm-screen { display: grid; place-items: center; gap: 0; padding: 0; font-size: 16px; text-align: left; background: #211c18; }
#progression-help:not([open]) { display: none; }
#progression-help { z-index: 25; }
#progression-help::backdrop { background: rgb(22 16 12 / 82%); }
.pm-screen *, #pm-details * { box-sizing: border-box; }
.pm-screen ::selection, #pm-details ::selection { background: #9bdeca; color: #271d17; }
.pm-frame {
  position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px;
  width: min(100%, 480px); height: min(100dvh, 930px); min-height: 0;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(rgb(39 29 23 / 91%), rgb(39 29 23 / 91%)),
    url('../assets/progression-title.jpg?v=0.49-gamma') center / cover;
}
.pm-shell { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; min-height: 0; }
.pm-glass { border: 1px solid rgb(247 237 218 / 25%); border-radius: 14px; background: rgb(39 29 23 / 88%); }
.pm-header { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.pm-header-copy { flex: 1; min-width: 0; }
.pm-header h1 { margin: 0; font: 400 29px/1.1 "Yatra One", sans-serif; }
.pm-header p { margin: 5px 0 0; color: #dfd0b8; font-size: 15px; }
.pm-screen button, #pm-details button {
  min-width: 44px; min-height: 44px; padding: 10px 12px;
  border: 1px solid #917956; border-radius: 10px; background: #42372d; color: #f7edda;
  font: 600 16px/1.2 "Baloo 2", sans-serif; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.pm-screen button:hover:not(:disabled), #pm-details button:hover:not(:disabled) { background: #59442e; }
.pm-screen button:active:not(:disabled), #pm-details button:active:not(:disabled) { background: #6c4a32; }
.pm-screen button:disabled { color: #c6b79f; background: #3d3228; cursor: default; }
.pm-screen button:focus-visible, #pm-details button:focus-visible, .pm-scroll:focus-visible {
  outline: 3px solid #9bdeca; outline-offset: 3px;
}
.pm-screen .pm-primary, #pm-details .pm-primary { background: rgb(167 69 37 / 83%); border-color: #c49d77; }
.pm-screen .pm-primary:hover:not(:disabled), #pm-details .pm-primary:hover:not(:disabled) { background: #ab4d2e; }
.pm-icon-button { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; padding: 10px !important; }
.pm-icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pm-scroll {
  min-height: 0; overflow: hidden auto; overscroll-behavior: contain; padding: 4px 6px 5px;
  scroll-padding: 8px; scrollbar-width: thin; scrollbar-color: #917956 #271d17;
}
.pm-return-loop { width: calc(100% - 44px); margin: 12px 0 0 44px; padding: 12px 14px !important; border-color: #9bdeca !important; background: #303a32 !important; text-align: left; }
.pm-return-loop:hover:not(:disabled) { background: #3d4c3f !important; }
.pm-return-loop strong { display: block; font-size: 18px; line-height: 1.15; }
.pm-return-loop span { display: block; margin-top: 4px; color: #dfd0b8; font-size: 14px; font-weight: 400; line-height: 1.25; }
.pm-level-note { margin: 0; padding: 8px 0 0; color: #dfd0b8; font-size: 13px; text-align: center; }
.pm-level-map { display: grid; justify-items: center; max-width: 410px; margin: 0 auto; padding-bottom: 6px; }
.pm-wave-group { width: 94%; padding: 3px 10px; border: 1px solid #917956; border-radius: 12px; background: #302822; }
.pm-wave-event { position: relative; display: block; width: 100%; min-height: 61px; padding: 10px 6px 10px 31px !important; text-align: left; border: 0 !important; border-radius: 7px; background: transparent !important; }
.pm-wave-event::before { content: ''; position: absolute; z-index: 1; left: 9px; top: 21px; width: 10px; height: 10px; border: 1px solid #917956; border-radius: 50%; background: #302822; }
.pm-wave-event:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: -21px; width: 1px; background: #917956; }
.pm-wave-event strong { display: block; font-size: 20px; line-height: 1.12; }
.pm-wave-event span { display: block; margin-top: 4px; color: #dfd0b8; font-size: 15px; font-weight: 400; line-height: 1.2; }
.pm-wave-event.pm-gate strong { color: #ffb57b; }
.pm-wave-event.pm-gate::before { border-color: #ffb57b; background: #a74525; }
.pm-reward-junction { position: relative; display: grid; grid-template-columns: 1fr 30px 1fr; width: 100%; min-height: 112px; padding: 20px 0 16px; }
.pm-reward-junction::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #9bdeca; }
.pm-reward-branch { position: relative; align-self: start; min-height: 94px; padding: 9px 8px !important; text-align: left; border: 0 !important; border-top: 1px solid #917956 !important; border-radius: 0 !important; background: transparent !important; }
.pm-reward-branch::before { content: ''; position: absolute; width: calc(50% + 15px); height: 13px; top: -14px; border-top: 1px solid #917956; }
.pm-reward-branch.pm-gear { grid-column: 1; }
.pm-reward-branch.pm-boons { grid-column: 3; }
.pm-reward-branch.pm-gear::before { left: 50%; border-left: 1px solid #917956; }
.pm-reward-branch.pm-boons::before { right: 50%; border-right: 1px solid #917956; }
.pm-reward-branch .pm-branch-trigger { display: block; color: #dfd0b8; font-size: 14px; font-weight: 400; }
.pm-reward-branch strong { display: block; margin-top: 4px; font-size: 19px; }
.pm-reward-branch .pm-branch-description { display: block; margin-top: 4px; color: #dfd0b8; font-size: 14px; font-weight: 400; line-height: 1.2; }
.pm-main-stop { position: relative; width: 90%; min-height: 80px; padding: 11px 8px !important; border: 1px solid #9bdeca !important; border-radius: 12px !important; background: #302822 !important; text-align: center; }
.pm-main-stop::before { content: ''; position: absolute; left: calc(50% - 4px); top: -9px; width: 8px; height: 8px; border-right: 2px solid #9bdeca; border-bottom: 2px solid #9bdeca; transform: rotate(45deg); }
.pm-main-stop strong { display: block; font-size: 23px; }
.pm-main-stop .pm-boss-name { display: block; margin-top: 4px; color: #dfd0b8; font-size: 16px; font-weight: 400; }
.pm-main-stop .pm-after-wave { display: block; margin-top: 3px; color: #9bdeca; font-size: 15px; font-weight: 400; }
.pm-choices { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 96%; padding-top: 29px; }
.pm-choices::before { content: ''; position: absolute; top: 13px; left: 24%; right: 24%; height: 1px; background: #9bdeca; }
.pm-choices::after { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 14px; background: #9bdeca; }
.pm-choice { position: relative; min-height: 82px; padding: 10px 5px !important; background: #302822 !important; }
.pm-choice::before { content: ''; position: absolute; left: 50%; top: -17px; width: 1px; height: 16px; background: #9bdeca; }
.pm-choice strong { display: block; font-size: 21px; }
.pm-choice span { display: block; margin-top: 5px; color: #dfd0b8; font-size: 14px; font-weight: 400; line-height: 1.2; }
.pm-choice.pm-descend { border-color: #9bdeca; }
.pm-completion { position: relative; width: 94%; padding-top: 24px; }
.pm-completion::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 24px; background: #9bdeca; }
.pm-completion button { width: 100%; border-color: #9bdeca; }
.pm-completion strong { display: block; font-size: 20px; }
.pm-completion span { display: block; margin-top: 4px; color: #dfd0b8; font-size: 15px; font-weight: 400; }
.pm-extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; width: 100%; margin-top: 10px; }
.pm-extras button { padding: 8px 11px; background: transparent; font-size: 14px; }
.pm-level-return { width: 94%; margin: 18px 0 0; }
.pm-level-note { margin: 10px 4px 0; line-height: 1.2; }
.pm-footer { display: grid; gap: 7px; padding: 9px 12px; }
.pm-status { display: flex; justify-content: space-between; gap: 8px; color: #dfd0b8; font-size: 14px; }
.pm-status span:last-child { font-variant-numeric: tabular-nums; }
.pm-meter { height: 4px; overflow: hidden; border-radius: 3px; background: #60503e; }
.pm-meter > span { display: block; width: 0; height: 100%; background: #9bdeca; }
#ldr-begin { min-height: 46px; font-size: 21px; }
.pm-scope { margin: 0; color: #dfd0b8; font-size: 13px; text-align: center; }
.pm-footer .ldr-note { margin: 0; color: #dfd0b8; font-size: 14px; line-height: 1.25; }
.pm-help-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#pm-details { width: min(calc(100% - 24px), 440px); max-height: calc(100dvh - 28px); margin: auto; overflow-y: auto; overscroll-behavior: contain; padding: 18px; border: 1px solid rgb(247 237 218 / 25%); border-radius: 14px; background: #302822; color: #f7edda; font: 400 17px/1.4 "Baloo 2", sans-serif; scrollbar-width: thin; scrollbar-color: #917956 #271d17; }
#pm-details::backdrop { background: rgb(22 16 12 / 80%); }
.pm-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pm-dialog-header h2 { margin: 0; font: 400 27px/1.15 "Yatra One", sans-serif; }
#pm-detail-content h3 { margin: 20px 0 6px; font: 600 20px/1.2 "Baloo 2", sans-serif; }
#pm-detail-content p { margin: 0; }
#pm-detail-content p + p { margin-top: 12px; }
#pm-detail-done { width: 100%; margin-top: 20px; }
.pm-topic-menu { display: grid; gap: 8px; }
.pm-topic-menu button { min-height: 48px; text-align: left; }
.pm-item-example { display: flex; align-items: center; gap: 11px; margin: 14px 0; }
.pm-item-example strong { display: block; font-size: 18px; }
.pm-item-example span { display: block; color: #dfd0b8; font-size: 16px; }
.pm-atlas { display: block; flex: 0 0 42px; width: 42px; height: 42px; background-image: url('../assets/icons/icons.png?v=0.49-gamma'); background-size: 1000% 800%; }
.pm-icon-venom { background-position: 33.333% 0; }
.pm-icon-blood { background-position: 66.667% 0; }
.pm-icon-life { background-position: 66.667% 14.286%; }
.pm-icon-aegis { background-position: 88.889% 14.286%; }
.pm-icon-keen { background-position: 11.111% 42.857%; }
.pm-icon-ground { background-position: 77.778% 42.857%; }
.pm-icon-fork { background-position: 55.556% 57.143%; }
.pm-phase-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.pm-phase-list span { padding: 8px; border: 1px solid #917956; border-radius: 8px; color: #dfd0b8; }
/* The descent drawn as the Stepwell (v6, founder rows 181-202). While the map shows its
   overview, the frame holding it is .pm-scene: the painting fills it edge to edge, the header
   and footer sit over it, and the level labels and the guide stone belong to the painting. */
.pm-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pm-depth { display: none; }
.pm-scene { background: #1d140e; overflow: hidden; }
.pm-scene::before { content: ''; position: absolute; inset: 0 0 auto; z-index: 1; height: 160px; pointer-events: none;
  background: linear-gradient(rgb(29 20 14 / 80%), rgb(29 20 14 / 0)); }
.pm-scene-art { position: absolute; inset: 0; z-index: 0; }
.pm-scene::after { content: ''; position: absolute; inset: auto 0 0; z-index: 1; height: 140px; pointer-events: none;
  background: linear-gradient(rgb(29 20 14 / 0), rgb(29 20 14 / 92%)); }
.pm-scene-art svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pm-stone text { font-family: "Baloo 2", sans-serif; font-weight: 700; }
.pm-stone-face text { fill: #f6e7c8; }
.pm-stone-shade text { fill: rgb(20 10 4 / 70%); }
.pm-scene .pm-header, .pm-scene .pm-footer { position: relative; z-index: 2; border: 0; background: transparent; }
.pm-scene .pm-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: start; column-gap: 9px; padding: 2px 4px; }
.pm-scene .pm-header-copy { display: contents; }
.pm-scene .pm-header h1 { grid-column: 1; grid-row: 1; align-self: center; }
.pm-scene .pm-header p { grid-column: 1 / -1; grid-row: 2; margin-top: 2px; }
.pm-scene .pm-depth { grid-column: 2; grid-row: 1; }
.pm-scene #pm-toggle { grid-column: 3; grid-row: 1; }
.pm-scene .pm-header h1 { font-size: clamp(28px, 5vh, 38px); text-shadow: 0 2px 6px rgb(0 0 0 / 60%); }
.pm-scene .pm-header p { color: #f6e7c8; font-weight: 600; font-size: clamp(13px, 2vh, 15px); text-shadow: 0 1px 3px rgb(0 0 0 / 85%); }
.pm-scene .pm-depth { display: grid; justify-items: end; gap: 5px; padding-top: 7px; color: #e3cba4; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 3px rgb(0 0 0 / 85%); }
.pm-depth i { width: 75px; height: 3px; background: linear-gradient(90deg, #f2b84b 0 9px, transparent 9px),
  repeating-linear-gradient(90deg, rgb(246 231 200 / 32%) 0 9px, transparent 9px 11px); }
.pm-scene .pm-icon-button { border-color: rgb(247 237 218 / 30%); background: rgb(29 20 14 / 50%); }
.pm-scene .pm-scroll { overflow: visible; padding: 0; }
.pm-scene #pm-map { height: 100%; }
.pm-overview { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.pm-screen .pm-stone-button { position: absolute; z-index: 1; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; }
.pm-screen .pm-stone-button:hover:not(:disabled), .pm-screen .pm-stone-button:active:not(:disabled) { background: rgb(255 214 150 / 12%); }
.pm-screen .pm-steps-tag { position: relative; z-index: 1; align-self: flex-start; padding: 6px 14px; border-color: rgb(242 184 75 / 40%);
  border-radius: 22px; background: rgb(29 20 14 / 62%); font-size: 15px; }
.pm-guide { position: relative; z-index: 1; width: 100%; max-width: 380px; margin: 0 auto; padding: 8px 14px; border: 1px solid rgb(242 184 75 / 28%);
  border-radius: 14px; background: rgb(29 20 14 / 74%); box-shadow: inset 0 1px 0 rgb(255 230 180 / 12%), 0 6px 18px rgb(0 0 0 / 45%); }
.pm-guide-row { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: start; padding: 5px 0; }
.pm-guide-row + .pm-guide-row { border-top: 1px solid rgb(242 184 75 / 18%); }
.pm-guide-row svg { width: 58px; height: 16px; margin-top: 3px; }
.pm-guide-row svg * { fill: #e3cba4; }
.pm-guide-row svg .pm-guide-thread { fill: none; stroke: rgb(227 203 164 / 50%); stroke-width: 2; }
.pm-guide-row svg .pm-guide-lit { fill: #f2b84b; }
.pm-guide-row svg .pm-guide-dim { fill-opacity: .5; }
.pm-guide-row svg .pm-guide-boss { fill: #f6e7c8; }
.pm-guide-row p { margin: 0; }
.pm-guide-row strong { display: block; font-weight: 700; font-size: clamp(13px, 2.1vh, 16px); line-height: 1.2; }
.pm-guide-row span { display: block; color: #e3cba4; font-size: clamp(12px, 1.9vh, 14.5px); line-height: 1.25; }
#loader .pm-help-only { display: none; }
/* How to Play keeps the stones clear on small phones: First Steps stays under Help topics there. */
#progression-help .pm-steps-tag { display: none; }
@media (max-width: 360px) { #progression-help .pm-depth { display: none; } }
.pm-screen .pm-overview .pm-return-loop { position: relative; z-index: 1; width: 100%; max-width: 380px; margin: 0 auto; padding: 8px 14px !important;
  background: rgb(29 20 14 / 74%) !important; }
.pm-overview .pm-return-loop strong { font-size: 15px; }
.pm-overview .pm-return-loop span { font-size: 13px; }
/* Text enlarged past the room the painting leaves (review R2): placeStones marks the frame
   pm-crowded and it scrolls, header, stones, guide stone and Begin one under another. */
.pm-scene.pm-crowded { grid-template-rows: max-content max-content; align-content: space-between; overflow: hidden auto; }
.pm-scene.pm-crowded::after { display: none; }
.pm-scene.pm-crowded .pm-shell { grid-template-rows: max-content max-content; }
.pm-scene.pm-crowded #pm-map, .pm-scene.pm-crowded .pm-overview { height: auto; }
.pm-scene.pm-crowded .pm-overview { justify-content: flex-start; }
.pm-scene.pm-crowded .pm-header h1 { grid-column: 1 / -1; grid-row: 2; }
.pm-scene.pm-crowded .pm-header p { grid-row: 3; }
.pm-scene .pm-footer { padding: 0; gap: 8px; }
.pm-progress { display: grid; gap: 7px; }
.pm-scene .pm-progress { padding: 11px 14px; border: 1px solid rgb(242 184 75 / 38%); border-radius: 12px; background: rgb(29 20 14 / 80%); }
.pm-scene .pm-status { color: #f6e7c8; font-size: 15px; }
.pm-scene .pm-meter > span { background: #f2b84b; }
#loader:not(.ready):not(.failed) #ldr-begin { display: none; }
#loader.ready .pm-progress { display: none; }
#loader.failed .pm-progress { padding: 0; border: 0; background: none; }
#loader.failed .pm-status { justify-content: center; text-align: center; text-shadow: 0 1px 3px rgb(0 0 0 / 85%); }
/* A failed load, or the note after a graphics restart, takes the guide stone's place. */
#loader.failed .pm-guide, #loader.failed .pm-steps-tag, #loader:has(#ldr-note:not([hidden])) .pm-guide, #loader:has(#ldr-note:not([hidden])) .pm-steps-tag { display: none; }
.pm-scene .pm-footer .ldr-note { color: #f6e7c8; font-size: 15px; text-align: center; text-shadow: 0 1px 3px rgb(0 0 0 / 85%); }
.pm-scene #ldr-begin { min-height: 50px; border-color: rgb(255 214 150 / 45%); border-radius: 12px; background: linear-gradient(#b5583a, #8c3f27);
  font-size: clamp(18px, 2.8vh, 21px); }
.pm-scene .pm-help-actions button { background: rgb(29 20 14 / 72%); }
.pm-scene .pm-scope { color: #f6e7c8; font-size: 15px; text-shadow: 0 1px 3px rgb(0 0 0 / 85%); }
/* The route while loading: two gold lines with arrowheads, 1 to 2, then 2 to 3, traced in a
   three-second loop; with reduced motion the whole route stands still. */
.pm-route { opacity: 0; transition: opacity 500ms ease-out; pointer-events: none; }
#loader:not(.ready):not(.failed) .pm-route { opacity: 1; }
.pm-route-base { fill: none; stroke: rgb(30 14 4 / 75%); stroke-width: 17; stroke-linecap: round; }
.pm-route-line { fill: none; stroke: #e2a645; stroke-width: 9; stroke-linecap: round; }
.pm-route-head { fill: #e2a645; stroke: rgb(30 14 4 / 75%); stroke-width: 3; stroke-linejoin: round; }
.pm-route-trace { fill: none; stroke: #ffebba; stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.pm-route-glow { fill: #fff0c1; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pm-trace-0 { animation: pm-trace-a 3s linear infinite; }
  .pm-trace-1 { animation: pm-trace-b 3s linear infinite; }
  .pm-glow-0 { animation: pm-glow-a 3s ease-in-out infinite; }
  .pm-glow-1 { animation: pm-glow-b 3s ease-in-out infinite; }
}
@keyframes pm-trace-a { 0%, 4% { stroke-dashoffset: 100; opacity: 0; } 7% { opacity: 1; } 43%, 84% { stroke-dashoffset: 0; opacity: 1; } 95% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 100; opacity: 0; } }
@keyframes pm-trace-b { 0%, 43% { stroke-dashoffset: 100; opacity: 0; } 47% { opacity: 1; } 72%, 84% { stroke-dashoffset: 0; opacity: 1; } 95% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 100; opacity: 0; } }
@keyframes pm-glow-a { 0%, 42% { opacity: 0; } 45%, 84% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes pm-glow-b { 0%, 71% { opacity: 0; } 74%, 84% { opacity: 1; } 95%, 100% { opacity: 0; } }
@media (max-height: 640px) {
  .pm-scene .pm-header h1 { font-size: 28px; }
  .pm-overview { gap: 6px; }
  .pm-guide { padding: 5px 12px; }
  .pm-guide-row { padding: 3px 0; }
  .pm-scene #ldr-begin { min-height: 46px; }
  .pm-overview .pm-return-loop span { display: none; }
}
@media (max-width: 350px), (max-height: 700px) {
  .pm-frame { padding: 8px; gap: 7px; }
  .pm-header { padding: 8px 9px; gap: 7px; }
  .pm-header h1 { font-size: 26px; }
  .pm-header p { font-size: 14px; }
  .pm-footer { padding: 8px; gap: 6px; }
  .pm-level-return { width: 94%; margin-left: 0; }
  .pm-wave-group { width: 96%; padding: 2px 7px; }
  .pm-wave-event { min-height: 59px; padding: 9px 3px 9px 28px !important; }
  .pm-wave-event strong { font-size: 19px; }
  .pm-wave-event span { font-size: 14px; }
  .pm-reward-junction { grid-template-columns: 1fr 24px 1fr; padding: 19px 0 14px; }
  .pm-reward-branch { padding: 8px 4px !important; }
  .pm-reward-branch strong { font-size: 18px; }
  .pm-reward-branch .pm-branch-description, .pm-reward-branch .pm-branch-trigger { font-size: 13px; }
  .pm-main-stop { width: 94%; }
  .pm-main-stop strong { font-size: 21px; }
  .pm-choices { width: 98%; gap: 10px; }
  .pm-choice strong { font-size: 20px; }
  .pm-choice span { font-size: 13px; }
  .pm-help-actions button { font-size: 15px; }
  .pm-level-note { font-size: 12px; }
}
@media (prefers-reduced-motion: no-preference) { .pm-screen button, #pm-details button { transition: background-color 120ms ease-out; } }
@media (prefers-reduced-motion: reduce) { .pm-screen *, #pm-details * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-transparency: reduce) { .pm-glass { background: #271d17; } .pm-frame { background: #271d17; } }
@supports not (height: 100dvh) { .pm-frame { height: 100vh; } #pm-details { max-height: calc(100vh - 28px); } }
