[data-dialog="mediatour"]{--mt-ink:#111d2c;--mt-edge:#36485f;--mt-ice:#e8f4ff;--mt-muted:#b9c9da;--mt-gold:#ffd694;color:var(--mt-ice);background:#0b1523}
.mt-cover{position:relative;width:100%;min-height:134px;margin:0 0 10px;padding:16px;display:grid;justify-items:start;align-content:end;gap:7px;background:linear-gradient(90deg,#08121fee 0%,#132337a0 53%,#14202d18 100%),url('/mediatour-art/cover.webp?v=2700564048c6ef9d') center 55% / cover;background-color:#142439;color:#fff;border:1px solid #54728d;border-radius:14px;text-align:left}
.mt-cover .mt-cover-title{margin:0;color:#fff;font:700 clamp(26px,7vw,40px)/1.05 Oswald,system-ui,sans-serif}
.mt-cover .mt-cover-info{margin:0;color:#e3f4ff;font-size:13px;line-height:1.3;font-weight:600}
.mt-entry-link{position:absolute;inset:0;width:100%;border:0;border-radius:inherit;background:transparent;color:#eaf6ff;cursor:pointer}
.mt-entry-link span{position:absolute;right:13px;bottom:12px;font-size:25px;line-height:1;text-shadow:0 1px 4px #08121f}
.mt-cover-nav{display:grid;align-content:center;justify-items:start;min-height:4.5rem;margin:0 0 8px;padding-inline-end:54px}
.mt-cover-nav>.modal-heading{margin:0;padding:0}
.mt-cover-nav>.modal-heading .eyebrow{margin:0 0 4px}
.mt-cover-nav>.modal-heading p{margin:3px 0 0;line-height:1.3}
.mt-cover-nav:has(>.mt-arena-back){position:sticky;top:0;z-index:2;pointer-events:none}
.mt-arena-back{min-height:44px;padding:6px 12px;background:#143049;color:#e8f4ff;pointer-events:auto}
.modal-backdrop>.modal:has(>.mt-cover-nav){height:100%;width:min(840px,100%);scrollbar-gutter:stable}
.modal:has(>.mt-cover-nav)>.modal-close{top:auto;width:44px;height:44px;z-index:3}
.mt-pass{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;margin:10px 0;padding:12px;background:linear-gradient(120deg,#432b1c,#271f24);border:1px solid #a77246;border-radius:12px}
.mt-pass strong{display:flex;align-items:center;gap:5px;color:#ffdb9f}.mt-pass small{display:block;color:#f1d8b8;margin-top:4px}
.mt-pass .mt-buy{min-height:42px;background:linear-gradient(#ffe2a7,#e9a759);color:#291808;border:1px solid #ffe9c3;font-weight:800}
.mt-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px}.mt-toolbar>span{display:inline-flex;align-items:center;gap:5px;margin-right:auto}
.mt-toolbar .btn{min-height:34px;padding:4px 8px;font-size:12px}.mt-rules,.mt-note{font-size:12px;color:var(--mt-muted);margin:8px 0}.mt-rules summary{cursor:pointer}
 .mt-road{--mt-art:66px;--mt-inset:3%;--mt-anchor:calc(var(--mt-inset) + var(--mt-art)/2 + 6px);display:grid;grid-auto-rows:minmax(124px,1fr);margin-top:12px;padding:10px 6px 12px;border-radius:14px;overflow:hidden;background:radial-gradient(ellipse at 15% 20%,#30475caa,transparent 55%),radial-gradient(ellipse at 85% 60%,#27464799,transparent 64%),linear-gradient(#142439,#102734 53%,#1e2235)}
.mt-waypoint{position:relative;display:flex;align-items:center;padding:7px 0;min-height:124px}
.mt-waypoint:nth-child(even){justify-content:flex-end}
.mt-waypoint:not(:last-child)::before{content:'';position:absolute;width:calc(100% - var(--mt-anchor)*2);height:100%;left:var(--mt-anchor);top:50%;pointer-events:none;background:center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 C120 0 80 100 200 100' fill='none' stroke='%237c9bb0' stroke-width='23'/%3E%3Cpath d='M0 0 C120 0 80 100 200 100' fill='none' stroke='%2336414e' stroke-width='19'/%3E%3Cpath d='M0 0 C120 0 80 100 200 100' fill='none' stroke='%23ffe6ab' stroke-width='1.6' stroke-dasharray='7 7'/%3E%3C/svg%3E")}
.mt-waypoint:nth-child(even)::before{transform:scaleX(-1)}
.mt-stop{position:relative;display:grid;grid-template-columns:var(--mt-art) minmax(0,1fr);gap:6px;align-items:center;width:min(86%,290px);padding:5px 8px 6px 5px;border:1px solid #54718a;border-radius:11px;color:var(--mt-ice);background:#111e2df2;text-align:left;box-shadow:0 5px 10px #060e1b66;cursor:pointer}
.mt-waypoint:nth-child(odd) .mt-stop{margin-left:var(--mt-inset)}
.mt-waypoint:nth-child(even) .mt-stop{margin-right:var(--mt-inset)}
.mt-waypoint:nth-child(even) .mt-stop{grid-template-columns:minmax(0,1fr) var(--mt-art);padding-inline:8px 5px}
.mt-waypoint:nth-child(even) .mt-stop>img{grid-column:2;grid-row:1}
.mt-waypoint:nth-child(even) .mt-stop-name{grid-column:1;grid-row:1}
.mt-waypoint:nth-child(even) .mt-road-pin{left:-10px;right:auto}
.mt-stop>img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}
.mt-current .mt-stop,.mt-waypoint:last-child .mt-stop{border-color:#ffbd71;box-shadow:0 0 14px #ffa64c55}
.mt-road-pin{position:absolute;z-index:1;right:-10px;top:-10px;display:grid;place-items:center;min-width:25px;height:25px;padding-inline:3px;border-radius:16px;border:1px solid #bbd3de;background:#1d3147;color:#f2faff;font-size:11px;font-weight:800}
.mt-current .mt-road-pin{background:#ffcf82;color:#38230e;border-color:#ffecc4}
.mt-cleared .mt-road-pin{background:#224d49;color:#befae0}
.mt-stop-hero{display:flex;align-items:center;gap:10px;padding:4px 24px 4px 2px}
.mt-stop-hero img{width:85px;height:85px;object-fit:contain;border-radius:10px}
.mt-stop-hero small{color:var(--mt-gold)}.mt-stop-hero h2{color:white;font-size:21px;line-height:1.15;margin:3px 0}
.mt-totals .mt-prizes{margin:6px 0}
.mt-stop-name{min-width:0;display:grid;gap:3px}.mt-stop-name>small{font-size:11px;color:var(--mt-muted)}.mt-current .mt-stop-name>small{color:var(--mt-gold)}.mt-stop-name>b{font-size:14px;color:var(--mt-ice)}
.mt-stop-loot,.mt-stop-loot>span,.mt-loot-row{display:flex;align-items:center;flex-wrap:wrap;gap:3px}
.mt-stop-loot .mt-paid{padding-left:5px;border-left:1px solid #b89356}.mt-stop-loot .mt-loot{font-size:10px;padding:2px 4px;gap:2px}.mt-stop-loot .mt-icon{width:13px;height:13px}
.mt-detail{padding:10px;border-top:1px solid #37475b;display:grid;gap:12px}
.mt-detail h3{color:var(--mt-ice);font-size:14px;margin:0 0 6px}
.mt-tasks{display:grid;gap:5px}.mt-task{display:grid;grid-template-columns:27px minmax(0,1fr);gap:7px;align-items:start;background:#1a2a3e;border-radius:8px;padding:7px}
.mt-task>.mt-icon{width:24px;height:24px;background:#263c54;border-radius:6px;padding:4px;color:#d5efff}
.mt-task-head{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:13px}.mt-task-head b{color:#a7ddff;white-space:nowrap}.mt-task.is-done .mt-task-head b{color:#a8e8b9}
.mt-task .text-btn{font-size:12px;padding:4px 0;color:#bddeff;text-align:left}
.mt-bar{display:block;height:4px;overflow:hidden;background:#31445a;border-radius:9px;margin-block:4px}.mt-bar i{display:block;height:100%;background:linear-gradient(90deg,#68a9dc,#aceaff);border-radius:9px}
.mt-prizes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mt-prize{padding:8px;border:1px solid #3f5b73;border-radius:8px;background:#172b40;min-width:0}
.mt-prize.mt-paid{background:#352818;border-color:#89633f;color:#ffdfaa}.mt-prize>strong{font-size:12px;display:flex;align-items:center;gap:4px;margin-bottom:4px}
.mt-prize small,.mt-fans small{display:block;color:var(--mt-muted);font-size:11px;margin-top:2px}.mt-prize.mt-paid small{color:#e9ce9f}
.mt-claims{display:grid;gap:4px;margin-top:5px}.mt-claims button{min-height:32px;padding:4px;font-size:11px;white-space:normal}
.mt-loot{display:inline-flex;align-items:center;gap:4px;border-radius:5px;background:#ffffff16;padding:3px 5px;font-size:12px;font-weight:750}.mt-loot small{display:inline;margin:0;font-weight:400}
.mt-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:17px;height:17px}.mt-icon svg,.mt-pass svg,.mt-prize>strong svg{width:100%;height:100%;max-width:17px;max-height:17px}
.mt-icon-coins,.mt-icon-gold,.mt-icon-pro,.mt-icon-elite{color:#ffd18c}.mt-icon-gems{color:#d3c0ff}
.mt-fans{display:flex;align-items:flex-start;gap:8px;padding:9px;background:#23382e;color:#c2efd9;border-radius:8px;font-size:13px}
.mt-wishes-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.mt-wishes-head>b{font-size:12px;color:#d1e7fa;white-space:nowrap}
.mt-wishes p{font-size:12px;color:var(--mt-muted);margin:0 0 7px}
.mt-wish-list{list-style:none;display:grid;gap:5px;margin:0;padding:0}
.mt-wish{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;background:#182a3d;border:1px solid #3f5369;border-radius:8px}
.mt-wish-art{display:grid;place-items:center;width:34px;height:34px;background:#263b50;border-radius:6px;overflow:hidden;color:#e1eff9}
.mt-wish-art img{width:100%;height:100%;object-fit:contain}
.mt-wish-art svg{width:19px;height:19px}
.mt-wish-copy strong,.mt-wish-copy small{display:block;overflow-wrap:anywhere}
.mt-wish-copy strong{font-size:13px;line-height:1.2;color:var(--mt-ice)}
.mt-wish-copy small{font-size:11px;line-height:1.2;color:#bccddd;margin-top:3px}
.mt-wish-bonus{font-size:12px;color:#ffdb9e;background:#523b28;padding:4px 6px;border-radius:5px;white-space:nowrap}
.mt-wish[data-status="done"]{border-color:#518676}
.mt-wish[data-status="done"] .mt-wish-copy small,.mt-wish[data-status="owned"] .mt-wish-copy small{color:#a8e9c2}
.city-world .map-marker>.mt-marker{display:grid;position:relative;isolation:isolate;pointer-events:auto;width:98px;max-width:100%;padding:0;border:0;background:none;color:#f0f8ff}
/* One surface keeps the tab join seamless: no overlapping alpha or inner edge. */
.mt-marker::before{content:'';position:absolute;z-index:0;inset:-19px 0 0;pointer-events:none;background:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 98 65" preserveAspectRatio="none"%3E%3Cpath d="M8.5 19.5H37.5Q42.5 19.5 42.5 14.5V7Q42.5 .5 49 .5H90Q97.5 .5 97.5 8V56.5Q97.5 64.5 89.5 64.5H8.5Q.5 64.5 .5 56.5V27.5Q.5 19.5 8.5 19.5Z" fill="%2313273b" fill-opacity=".66" stroke="%23e6f1ff" stroke-opacity=".35"/%3E%3C/svg%3E') center/100% 100% no-repeat}
.mt-marker-open{display:grid;position:relative;z-index:1;width:100%;max-width:100%;padding:4px 5px 3px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;cursor:pointer;font:inherit}
.mt-marker-step{position:absolute;z-index:2;top:-19px;right:0;width:55px;height:20px;box-sizing:border-box;padding:0 6px;border:0;border-radius:7px 7px 0 0;background:transparent;color:#e3eff6;font:600 10px/1.2 system-ui,sans-serif;white-space:nowrap;cursor:pointer;touch-action:manipulation}
.mt-marker-step::after{content:'';position:absolute;left:5px;right:5px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#c6dce84d 30%,#c6dce84d 70%,transparent);pointer-events:none}
.mt-marker-step[aria-expanded="true"]{color:#f6e5b5}
.mt-marker-open:focus-visible,.mt-marker-step:focus-visible{outline:2px solid #ffe1a0;outline-offset:2px}
.mt-marker-head,.mt-marker-foot{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:10px;line-height:1.1}.mt-marker strong{color:#d0efff}
.mt-marker small{font-size:9px;line-height:1}.mt-marker .mt-bar{margin:3px 0;height:2px}.mt-marker .mt-bar i{background:#99d9fc}
.mt-bus-lane{position:relative;isolation:isolate;overflow:hidden;width:54px;height:18px}
.mt-bus-lane::before{content:'';position:absolute;inset:auto 0 0;height:6px;background:repeating-linear-gradient(90deg,#d5e8f6b3 0 5px,transparent 5px 12px) left bottom / 12px 1px repeat-x,linear-gradient(#405269,#192435);animation:mt-road-roll 1.6s linear infinite;mask-image:linear-gradient(90deg,transparent,#000 18% 82%,transparent)}
.mt-bus{position:absolute;left:50%;bottom:6px;width:36px;height:13px;transform:translateX(-50%);border:1px solid #8ca6bc;border-radius:2px 7px 2px 2px;background:linear-gradient(#536478 0 12%,#263647 14% 57%,#c83239 59% 69%,#101928 72%);box-shadow:0 1px 3px #070d18}
.mt-bus>i{position:absolute;inset:2px 3px auto;height:4px;background:linear-gradient(90deg,transparent 68%,#a5d8f0 68% 98%,transparent 98%),repeating-linear-gradient(90deg,#7aaac2 0 4px,#142536 4px 6px);border-radius:1px 3px 1px 1px}
.mt-bus::before,.mt-bus::after{content:'';position:absolute;bottom:-3px;width:6px;height:6px;border-radius:50%;background:radial-gradient(circle,#a6bac8 0 21%,#253041 30% 60%,#080e17 62%);border:1px solid #090e16}
.mt-bus::before{left:4px}.mt-bus::after{right:4px}
@keyframes mt-road-roll{to{background-position:-12px bottom,0 0}}
@media(prefers-reduced-motion:reduce){.mt-bus-lane::before{animation:none}}
.mt-result{padding:.6rem;border-inline-start:3px solid #da9c58}.mt-result small{display:block}

@media(max-width:360px){.mt-road{--mt-art:52px}.mt-stop-name>b{font-size:13px}}

.mt-entry.mt-entry-locked{cursor:default;border-color:#58677a}
.mt-entry-locked>span,.mt-entry-locked>small{font-size:12px;color:#deedf9}
.mt-entry-locked .mt-lock-tag{padding:3px 7px;border-radius:5px;background:#1a2639;border:1px solid #6b7c92}

.mt-step-layer{position:fixed;inset:0;z-index:850;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));isolation:isolate;overscroll-behavior:contain}
.mt-step-backdrop{position:absolute;inset:0;background:transparent;touch-action:none}
.mt-step-card{position:fixed;z-index:1;box-sizing:border-box;width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;padding:10px;border:1px solid #607b89;border-radius:10px;background:#193443;color:#edf4f7;font:12px/1.35 system-ui,sans-serif;touch-action:pan-y}
.mt-step-heading{margin-bottom:5px}
.mt-step-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-3px -3px 4px 0}
.mt-step-tour{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:3px 7px;border:1px solid #526f7e;border-radius:5px;background:transparent;color:#cce0eb;font:600 12px/1.2 system-ui,sans-serif;cursor:pointer}
.mt-step-tour span{font-size:17px;line-height:1}
.mt-step-heading h2{font:600 15px/1.3 system-ui,sans-serif;margin:0;color:#f0dfb3}
.mt-step-heading h2:focus{outline:none}
.mt-step-close{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:8px;border:0;border-radius:5px;background:transparent;color:#c5d7e0;cursor:pointer}
.mt-step-close svg{width:16px;height:16px}.mt-step-close:focus-visible,.mt-step-tour:focus-visible{outline:2px solid #f4dc9d;outline-offset:2px}
.mt-step-tasks{display:grid;gap:0;margin:0;padding:0;list-style:none}
.mt-step-task{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:6px;padding:7px 0;border:0;border-bottom:1px solid #45616e}
.mt-step-task:last-child{border-bottom:0;padding-bottom:0}
.mt-step-task-icon{display:grid;place-items:center;width:18px;height:18px;color:#a9c9da}.mt-step-task-icon svg{width:16px;height:16px}
.mt-step-task-copy{min-width:0}.mt-step-task-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.mt-step-task-head strong{font-size:12px;line-height:1.35;font-weight:500;overflow-wrap:anywhere}
.mt-step-task-head b{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#e8d8ac}
.mt-step-task .mt-bar{height:3px;margin:4px 0 3px;background:#3b5360}.mt-step-task .mt-bar i{background:#93cbe7}
.mt-step-task small{display:block;font-size:11px;line-height:1.3;color:#bdd0da}
.mt-step-task.is-done b,.mt-step-task.is-done small{color:#bce2c5}
.mt-step-task.is-done .mt-bar i{background:#94c8a1}.mt-step-complete{margin:7px 0 0;font-size:12px;line-height:1.4;color:#c8e3d0}

@media (orientation: landscape) {
  .city-world .map-marker > .mt-marker {
    container-type: inline-size;
    grid-template-columns: minmax(0, 1fr);
  }
  .mt-marker > .mt-marker-open {
    box-sizing: border-box;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .mt-marker .mt-marker-head {
    gap: 2px;
    font: 600 clamp(7px, 9.5cqi, 10px)/1.15 system-ui, sans-serif;
    white-space: nowrap;
  }
  .mt-marker .mt-marker-head > :is(b, strong) {
    font-size: inherit;
    letter-spacing: normal;
  }
  .mt-marker > .mt-marker-step {
    display: grid;
    place-items: center;
    width: 56.6%;
    padding-inline: 0;
    font-size: clamp(7px, 9.5cqi, 10px);
    letter-spacing: normal;
  }
}
