.am-page {
  --am-ink: #132a47;
  --am-blue: #164faa;
  --am-muted: #465f7e;
  --am-line: #d9e5f4;
  --am-pale: #f3f7fd;
  color: var(--am-ink);
  background: #f9fbff;
}
.am-page [hidden] { display: none !important; }
.am-page :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #3981e0; outline-offset: 3px; }
.am-page :is(#placement-maps, #order, #advertising-partners, #withdrawals) { scroll-margin-top: 83px; }
.am-hero { color: #fff; background: linear-gradient(110deg, #0b2344, #164673); }
.am-media-hero { position: relative; isolation: isolate; overflow: hidden; }
.am-media-hero__picture, .am-media-hero__picture::after { position: absolute; inset: 0; z-index: -1; }
.am-media-hero__picture img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 54% 46%; }
.am-media-hero__picture::after {
  z-index: 0; content: "";
  background: linear-gradient(90deg, #0c2646 0%, #102f53f2 24%, #0b2747a0 50%, #102a461a 88%), linear-gradient(0deg, #0c243ed9, transparent 42%);
}
.am-media-hero__body { position: relative; display: grid; gap: 20px; padding-block: 20px 0; }
.am-breadcrumb { display: flex; align-items: center; gap: 8px; width: fit-content; color: #d8eaff; font-size: .76rem; }
.am-breadcrumb a { color: inherit; }
.am-breadcrumb a:hover { text-decoration: underline; }
.am-breadcrumb span { opacity: .7; }
.am-media-hero__copy { padding-block: clamp(18px, 4vw, 54px) clamp(13px, 3vw, 37px); }
.am-kicker { color: #254e83; font-size: .73rem; font-weight: 790; letter-spacing: .05em; }
.am-kicker--line { display: inline-flex; align-items: center; gap: 8px; }
.am-kicker--line::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.am-hero .am-kicker, .am-partner .am-kicker { color: #b8e4ff; }
.voyage.is-inner-page #main-content .am-hero h1 {
  max-width: 21ch; margin: 12px 0 14px; color: #fff;
  font-size: clamp(1.62rem, 3.65vw, 3.25rem) !important;
  line-height: 1.2 !important; letter-spacing: -.032em;
}
.am-media-hero h1 em { display: block; color: #b1deff; font-style: normal; }
.am-hero p, .am-partner p { max-width: 51ch; margin: 0 0 20px; color: #dfedff; font-size: .94rem; line-height: 1.68; }
.am-actions, .am-media-hero__foot, .am-media-hero__foot ul { display: flex; align-items: center; flex-wrap: wrap; }
.am-actions { gap: 9px; }
.am-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 14px;
  border: 1px solid transparent; border-radius: 10px; font: 750 .83rem/1.4 var(--voyage-sans);
  text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.am-button .voyage-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.am-button--ice { background: #f1f8ff; color: #103a70; }
.am-button--ice:hover { background: #cde9ff; color: #103a70; }
.am-button--outline { border-color: #b4d5f782; background: #102d50a3; color: #f0f8ff; }
.am-button--outline:hover { background: #264e79; color: #fff; }
.am-button--blue { background: #184fae; color: #fff; }
.am-button--blue:hover { background: #123c86; color: #fff; }
.am-media-hero__foot { justify-content: space-between; gap: 8px 15px; min-height: 57px; padding-block: 12px; border-top: 1px solid #b9daff4d; }
.am-media-hero__foot ul { gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.am-media-hero__foot li, .am-media-hero__foot a { display: inline-flex; align-items: center; gap: 6px; color: #ebf4ff; font-size: .76rem; }
.am-media-hero__foot svg { width: 15px; height: 15px; color: #b2dcff; }

.am-section { padding-block: clamp(29px, 5.3vw, 72px); }
.am-heading h2, .am-partner h2 { margin: 7px 0 9px; font-size: clamp(1.22rem, 2.55vw, 2.03rem); line-height: 1.34; }
.am-heading > p { max-width: 48ch; margin: 0; color: var(--am-muted); font-size: .89rem; line-height: 1.65; }
.am-section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 5px 22px; margin-bottom: 17px; }
.am-section-head h2 { margin-bottom: 0; }
.am-map { overflow: hidden; border: 1px solid var(--am-line); border-radius: 18px; background: #fff; box-shadow: 0 16px 35px #223f6d0c; }
.am-tabs { display: flex; flex-wrap: wrap; gap: 5px; padding: 9px; border-bottom: 1px solid var(--am-line); }
.am-tabs button, .am-device button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 43px; padding: 6px 10px;
  border: 1px solid transparent; border-radius: 8px; background: transparent; color: #2e537f; font-size: .79rem; font-weight: 730; cursor: pointer;
}
.am-tabs svg, .am-device svg { width: 16px; height: 16px; flex-shrink: 0; }
.am-tabs button:is(:hover, [aria-pressed="true"]), .am-device button:is(:hover, [aria-pressed="true"]) {
  border-color: #bfd6f5; background: #e9f2ff; color: #144483;
}
.am-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 29%); gap: 14px; align-items: start; padding: 14px; }
.am-viewer { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #ccdcf1; border-radius: 12px; background: #fff; }
.am-viewer__bar, .am-viewer figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 9px; padding: 7px 10px; }
.am-viewer__bar { min-height: 54px; background: #f7faff; border-bottom: 1px solid #cddff3; }
.am-viewer__label, .am-viewer figcaption > :is(span, a) { display: inline-flex; align-items: center; gap: 7px; color: #315276; font-size: .76rem; }
.am-viewer__label { font-weight: 780; }
.am-viewer__label i, .am-viewer figcaption i { width: 9px; height: 9px; border-radius: 50%; background: #3d7bd1; box-shadow: 0 0 0 3px #bcd8fd80; }
.am-viewer figcaption i { border-radius: 2px; }
.am-viewer figcaption svg { width: 15px; height: 15px; }
.am-viewer figcaption a { min-height: 30px; color: #205197; font-weight: 700; }
.am-viewer figcaption a:hover { text-decoration: underline; }
.am-device { display: flex; gap: 3px; }
.am-device button { min-width: 42px; min-height: 41px; }
.am-viewer__stage { display: grid; place-items: center; min-width: 0; background: #e6edf8; }
.am-viewer__stage img { display: block; width: 100%; height: auto; }
.am-preview.is-mobile .am-viewer__stage { padding-block: 9px; background: radial-gradient(ellipse at 50% 10%, #ecf6ff, #dee9f8); }
.am-preview.is-mobile .am-viewer__stage img { width: auto; max-width: 100%; max-height: 490px; border: 1px solid #b2c7e4; border-radius: 11px; }
.am-slot { display: grid; gap: 11px; min-width: 0; }
.am-slot__choices > div { display: grid; gap: 5px; }
.am-marker {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 6px 8px;
  border: 1px solid var(--am-line); border-radius: 8px; background: #fff; color: #2a4870; font-size: .75rem; font-weight: 680; overflow-wrap: anywhere;
  line-height: 1.4; text-align: start; cursor: pointer;
}
.am-marker:is(:hover, [aria-pressed="true"]) { border-color: #88ade4; background: #eaf3ff; color: #113f7a; }
.am-marker b { display: grid; place-items: center; min-width: 26px; min-height: 25px; padding: 2px 4px; border-radius: 5px; background: #e8f1ff; color: #184d95; font-size: .7rem; }
.am-marker[aria-pressed="true"] b { background: #1751ad; color: #fff; }
.am-marker svg { width: 14px; height: 14px; margin-inline-start: auto; flex: 0 0 14px; }
.am-slot__info { display: grid; gap: 5px; padding: 13px; border: 1px solid var(--am-line); border-radius: 10px; background: #f3f7fe; }
.am-slot__info h3 { margin: 0; color: #14375f; font-size: 1.01rem; line-height: 1.4; }
.am-slot__info p { margin: 0; color: var(--am-muted); font-size: .78rem; line-height: 1.55; }
.am-slot__info dl { display: grid; gap: 5px; margin: 3px 0 5px; }
.am-slot__info dl > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1px 7px; padding: 7px 8px; border-radius: 6px; background: #fff; }
.am-slot__info dt { color: #496380; font-size: .73rem; }
.am-slot__info dd { margin: 0; color: #183e6a; font-size: .8rem; font-weight: 740; }
.am-slot__info .am-slot__paused { padding: 8px; border-radius: 7px; background: #fff3da; color: #654108; }

.am-order-wrap { padding-block: clamp(24px, 5vw, 68px); border-block: 1px solid #dfeafa; background: #eef5fd; }
.am-order { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.35fr); gap: clamp(13px, 4vw, 55px); align-items: start; }
.am-order__contact { display: grid; gap: 7px; margin-top: 16px; }
.am-order__contact a { display: flex; align-items: center; gap: 9px; min-height: 51px; padding: 7px; border: 1px solid var(--am-line); border-radius: 9px; background: #fff; color: #173f6f; font-size: .83rem; }
.am-order__contact a:hover { border-color: #91b4e2; }
.am-contact-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 7px; background: #eaf3ff; }
.am-order__contact svg { width: 17px; height: 17px; color: #215ab0; }
.am-order__contact small { display: block; color: #476681; font-size: .72rem; }
.am-card { min-width: 0; padding: clamp(13px, 2.3vw, 25px); border: 1px solid var(--am-line); border-radius: 15px; background: #fff; box-shadow: 0 9px 25px #2146770f; }
.am-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; min-width: 0; }
.am-field { display: grid; align-content: start; gap: 5px; margin: 0; min-width: 0; color: #153a66; font-size: .8rem; font-weight: 740; }
.am-field--wide { grid-column: 1 / -1; }
.am-field :is(input, textarea, select) {
  width: 100%; min-width: 0; min-height: 46px; padding: 8px 10px; border: 1px solid #cbdcf2; border-radius: 8px;
  color: #153a66; background: #f8fbff; font: 540 .86rem/1.5 var(--voyage-sans);
}
.am-field textarea { resize: vertical; }
.am-quote, .am-notice { margin: 0; padding: 9px 11px; border-radius: 8px; background: #eaf4ff; color: #214d7d; font-size: .8rem; }
.am-quote { display: flex; align-items: center; gap: 9px; }
.am-quote small { display: block; color: #476681; }
.am-quote svg { width: 20px; height: 20px; flex: 0 0 20px; }
.am-notice { margin-bottom: 10px; }
.am-notice--error { background: #fff0f1; color: #862f3d; }
.am-notice--success { background: #e7f7ef; color: #185c43; }
.am-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.am-options { padding: 7px 10px; border: 1px solid var(--am-line); border-radius: 8px; }
.am-options summary, .am-wallet summary { color: #21518c; font-size: .79rem; font-weight: 750; cursor: pointer; }
.am-options summary small { margin-inline-start: 4px; color: #4b6683; font-weight: 500; }
.am-options[open] > .am-form { margin-top: 9px; }
.am-form__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; padding-top: 3px; }
.am-form__submit small { flex: 1 1 180px; color: var(--am-muted); font-size: .74rem; line-height: 1.45; }
.am-form__submit small a { color: #174d9d; text-decoration: underline; }

.am-partner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .82fr); gap: clamp(13px, 4vw, 46px); align-items: center;
  padding: clamp(16px, 4vw, 46px); border: 1px solid #2c5384; border-radius: 17px;
  color: #fff; background: radial-gradient(ellipse at 96% 9%, #286095, transparent 66%), #102b52;
}
.am-partner__steps { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.am-partner__steps li { display: flex; align-items: start; gap: 8px; padding: 9px; border: 1px solid #a8ccf44d; border-radius: 9px; background: #e5f2ff12; }
.am-partner__steps b { color: #b8e4ff; font-size: .75rem; }
.am-partner__steps strong, .am-partner__steps span { display: block; }
.am-partner__steps strong { font-size: .85rem; }
.am-partner__steps span { color: #e0edff; font-size: .75rem; line-height: 1.55; }

.am-dash { padding-block: clamp(19px, 4.6vw, 52px); }
.am-dash .am-hero { padding: clamp(14px, 3vw, 33px); margin: 7px 0 13px; border-radius: 15px; }
.am-dash .am-hero p { margin-bottom: 0; }
.am-dash .am-card { margin-block: 11px; }
.am-dash .am-card h2 { margin: 0 0 7px; font-size: 1.08rem; }
.am-dash .am-card p:not(.am-notice) { color: #385675; }
.am-dash .am-form { max-width: 720px; }
.am-dash__metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; padding: 0; margin: 11px 0; list-style: none; }
.am-dash__metrics li { display: grid; gap: 4px; padding: 9px; border: 1px solid var(--am-line); border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.am-dash__metrics strong { color: #173e74; font-size: 1rem; }
.am-dash__metrics small { color: #4b6683; font-size: .75rem; }
.am-dash__orders, .am-wallet__history { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.am-dash__orders li, .am-wallet__history li {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; padding: 9px;
  border: 1px solid var(--am-line); border-radius: 8px; background: #f8fbff; font-size: .81rem;
}
.am-dash__orders li span { color: #3d5978; }
.am-wallet__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 10px 15px; }
.am-wallet__panel { padding: 13px; border: 1px solid var(--am-line); border-radius: 11px; background: #f3f8ff; }
.am-wallet h3 { margin: 0 0 7px; font-size: .91rem; }
.am-wallet__panel p { margin: 5px 0; font-size: .82rem; }
.am-wallet__panel .am-wallet__amount { margin: 0 0 8px; color: #153e77; font-size: 1.5rem; font-weight: 780; }
.am-wallet__panel .am-wallet__account { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 8px; padding: 8px; border-radius: 8px; background: #e5effd; }
.am-wallet__form { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
.am-wallet__form .am-button { justify-self: start; }
.am-wallet__history li > div { display: grid; align-content: start; gap: 3px; }
.am-wallet__history li > div:nth-child(2) { justify-items: start; }
.am-wallet__history small { width: 100%; color: #425d7d; overflow-wrap: anywhere; }
.am-wallet__history li > div:first-child span { color: #425d7d; }
.am-wallet__status { width: fit-content; padding: 2px 6px; border-radius: 5px; background: #e8f1ff; color: #1b4a89; }
.am-wallet__status--paid { background: #e2f5eb; color: #1b6048; }
.am-wallet__status--rejected { background: #faeaec; color: #813241; }

@media (max-width: 850px) {
  .am-preview, .am-order { grid-template-columns: minmax(0, 1fr); }
  .am-slot { display: contents; }
  .am-slot__choices { order: -1; }
  .am-slot__choices > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-marker { align-items: start; }
  .am-marker b, .am-marker svg { align-self: center; }
}
@media (max-width: 660px) {
  .am-media-hero__picture::after { background: linear-gradient(90deg, #0c2a4cef, #10365da8), linear-gradient(0deg, #102943, transparent 65%); }
  .am-media-hero__body { gap: 11px; }
  .am-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 360px; }
  .am-actions .am-button { padding-inline: 6px; font-size: .77rem; }
  .am-media-hero__foot { align-items: start; }
  .am-preview { padding: 8px; }
  .am-tabs { gap: 3px; padding: 6px; }
  .am-tabs button { font-size: .73rem; padding-inline: 6px; }
  .am-viewer__stage img { max-height: 490px; object-fit: contain; }
  .am-partner, .am-form, .am-wallet__grid { grid-template-columns: minmax(0, 1fr); }
  .am-dash__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-field :is(input, textarea, select) { font-size: 16px; }
}
@media (max-width: 375px) {
  .am-marker svg { display: none; }
  .am-form__submit .am-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .am-button { transition: none; }
}
