/*!
 * AFFiNCO Airmail Blocks 2.0.0: retro conversion blocks for affinco.com posts.
 * Idea: the paper-plane logo as a vintage airmail service. Boarding-pass coupons, postage-stamp scores,
 * luggage-tag pros and cons, a split-flap departures board, telegrams and postcards.
 * Look: cream paper, navy ink borders, hard offset shadows, coral + mustard + teal. Archivo Black, Space Mono, Caveat.
 * Every rule is scoped to .afx or an is-style-afx-* style, so nothing else on the site changes.
 */

/* ============================================================ Tokens + base */
.afx.afx {
	--afx-ink: #20375d;
	--afx-text: #26324d;
	--afx-soft: #5b6478;
	--afx-paper: #fff8ec;
	--afx-paper2: #f8ecd4;
	--afx-coral: #e64a2e;
	--afx-coral-d: #d43d21;
	--afx-coral-t: #c0371d;
	--afx-mustard: #f4b740;
	--afx-mustard-l: #ffe6a6;
	--afx-teal: #1f8a7e;
	--afx-teal-t: #146b61;
	--afx-sky: #d7ebf6;
	--afx-page: #fff;
	--afx-b: var(--global-body-font-family, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
	--afx-d: 'Archivo Black', 'Arial Black', Impact, sans-serif;
	--afx-m: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--afx-hw: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive;
	--afx-bd: 2.5px solid var(--afx-ink);
	--afx-sh: 6px 6px 0 var(--afx-ink);
	--afx-r: 18px;
	box-sizing: border-box;
	container: afx / inline-size;
	position: relative;
	margin: 2.4em 0;
	color: var(--afx-text);
	font: 400 16px/1.6 var(--afx-b);
	overflow-wrap: break-word;
}
.afx.afx *, .afx.afx *::before, .afx.afx *::after { box-sizing: border-box; }
.afx.afx :where(p, h2, h3, h4, figure, ul, ol, li, .wp-block-group, .wp-block-image, .wp-block-buttons) { margin: 0; max-width: none; }
.afx.afx .wp-block-group__inner-container { display: contents; }
.afx.afx img { display: block; max-width: 100%; height: auto; }
.afx.afx strong { font-weight: 700; color: var(--afx-ink); }
.afx.afx a:not(.wp-block-button__link) { color: var(--afx-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--afx-coral); text-decoration-thickness: 2.5px; text-underline-offset: .2em; }
.afx.afx a:not(.wp-block-button__link):hover { color: var(--afx-coral-t); }
.afx.afx :is(a, button, summary):focus-visible { outline: 3px solid var(--afx-teal); outline-offset: 3px; }

/* Shared type */
.afx.afx .afx-label { display: flex; align-items: center; gap: 8px; color: var(--afx-coral-t); font: 700 12.5px/1.4 var(--afx-m); letter-spacing: .12em; text-transform: uppercase; }
.afx.afx .afx-label::before { content: ''; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat; }
.afx.afx .afx-title { margin-top: 8px; color: var(--afx-ink); font: 400 clamp(22px, 4.2cqi, 32px)/1.12 var(--afx-d); letter-spacing: -.005em; text-wrap: balance; }
.afx.afx .afx-text { margin-top: 10px; max-width: 64ch; color: var(--afx-text); font-size: 16px; line-height: 1.62; }
.afx.afx .afx-small { margin-top: 14px; color: var(--afx-soft); font: 400 12.5px/1.5 var(--afx-m); }
.afx.afx .afx-k { color: var(--afx-soft); font: 700 10.5px/1.4 var(--afx-m); letter-spacing: .12em; text-transform: uppercase; }
.afx.afx .afx-v { margin-top: 2px; color: var(--afx-ink); font: 400 15px/1.3 var(--afx-d); }
.afx.afx .afx-hand { color: var(--afx-ink); font: 700 26px/1.1 var(--afx-hw); transform: rotate(-2deg); }
.afx.afx .afx-sign { margin-top: 14px; color: var(--afx-coral-t); }
.afx.afx .afx-sign::before { content: '— '; }
.afx.afx .afx-tag { display: inline-block; width: fit-content; padding: 3px 9px; border: 2px solid var(--afx-ink); border-radius: 7px; background: var(--afx-mustard); color: var(--afx-ink); font: 700 11.5px/1.4 var(--afx-m); letter-spacing: .08em; text-transform: uppercase; }
.afx.afx .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; }
.afx.afx .wp-block-buttons > .wp-block-button { margin: 0; }
.afx.afx .wp-block-buttons.afx-full > .wp-block-button { flex: 1 1 100%; }
.afx.afx .wp-block-buttons.afx-full .wp-block-button__link { width: 100%; }

/* Icons (masks) */
.afx.afx, .wp-block-button[class*="is-style-afx-"], ul.wp-block-list[class*="is-style-afx-"] {
	--afx-plane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.5 1.5 1.5 9.6l7.6 3.3 3.3 7.6L22.5 1.5zM9.1 12.9l6.2-4.2'/%3E%3C/svg%3E");
	--afx-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E");
}

/* Perforated stamp edge, reused by stamps and stat stamps */
.afx.afx :is(.afx-stamp, .afx-pstat) {
	-webkit-mask: radial-gradient(circle 4.5px at center, #0000 96%, #000) -7px -7px / 14px 14px round, linear-gradient(#000 0 0) center / calc(100% - 13px) calc(100% - 13px) no-repeat;
	mask: radial-gradient(circle 4.5px at center, #0000 96%, #000) -7px -7px / 14px 14px round, linear-gradient(#000 0 0) center / calc(100% - 13px) calc(100% - 13px) no-repeat;
}
.afx.afx .afx-stampwrap { flex: none; width: fit-content; filter: drop-shadow(4px 4px 0 var(--afx-ink)); transform: rotate(-4deg); }
.afx.afx .afx-stamp {
	display: grid; place-items: center; min-width: 124px; min-height: 132px; padding: 22px 20px; text-align: center;
	background: var(--afx-coral-d); color: #fff; font: 400 40px/.95 var(--afx-d); letter-spacing: -.01em;
	box-shadow: inset 0 0 0 9px var(--afx-paper), inset 0 0 0 11.5px var(--afx-ink);
}
.afx.afx .afx-stamp span { display: block; margin-top: 4px; font: 700 13px/1.2 var(--afx-m); letter-spacing: .22em; text-transform: uppercase; }
.afx.afx .afx-stamp--score { background: var(--afx-mustard); color: var(--afx-ink); font-size: 36px; min-width: 112px; min-height: 118px; }
.afx.afx .afx-stamp--score span { letter-spacing: .05em; font-size: 14px; }
.afx.afx .afx-stamp--plane { background: var(--afx-sky); color: var(--afx-coral-d); font-size: 54px; min-width: 110px; min-height: 124px; }

/* Postmark */
.afx.afx .afx-postmark {
	position: relative; flex: none; display: grid; place-items: center; width: 98px; height: 98px; border-radius: 50%;
	border: 2.5px solid var(--afx-coral-t); box-shadow: inset 0 0 0 4px var(--afx-paper), inset 0 0 0 5.5px var(--afx-coral-t);
	color: var(--afx-coral-t); font: 700 10.5px/1.3 var(--afx-m); letter-spacing: .08em; text-transform: uppercase; text-align: center;
	transform: rotate(-12deg); opacity: .92;
}
.afx.afx .afx-postmark::before {
	content: ''; position: absolute; right: 92%; top: 30px; width: 64px; height: 36px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 36' fill='none' stroke='%23c0371d' stroke-width='2.4'%3E%3Cpath d='M0 6c8-5 8 5 16 0s8 5 16 0 8 5 16 0 8 5 16 0M0 18c8-5 8 5 16 0s8 5 16 0 8 5 16 0 8 5 16 0M0 30c8-5 8 5 16 0s8 5 16 0 8 5 16 0 8 5 16 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
.afx.afx .afx-postmark--teal { border-color: var(--afx-teal-t); box-shadow: inset 0 0 0 4px var(--afx-paper), inset 0 0 0 5.5px var(--afx-teal-t); color: var(--afx-teal-t); }
.afx.afx .afx-postmark--teal::before { filter: hue-rotate(160deg) saturate(.8); }

/* Copy box */
.afx.afx .afx-copybox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-top: 10px; padding: 9px 9px 9px 16px; border: 2.5px dashed var(--afx-ink); border-radius: 12px; background: #fff; }
.afx.afx .afx-code { color: var(--afx-ink); font: 700 22px/1.3 var(--afx-m); letter-spacing: .1em; user-select: all; overflow-wrap: anywhere; }
.afx.afx .afx-copybox .wp-block-buttons { margin-top: 0; }

/* ============================================================ Button styles (any Button block) */
.wp-block-button[class*="is-style-afx-"] .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; max-width: 100%; padding: 12px 22px;
	border: 2.5px solid #20375d; border-radius: 12px; box-shadow: 4px 4px 0 #20375d;
	font: 400 16px/1.2 'Archivo Black', 'Arial Black', Impact, sans-serif; letter-spacing: .01em;
	text-transform: none; text-decoration: none; text-align: center; white-space: normal; cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}
.wp-block-button[class*="is-style-afx-"] .wp-block-button__link::after {
	content: ''; flex: none; width: 17px; height: 17px; background: currentColor;
	-webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat;
	transition: transform .15s ease;
}
.wp-block-button[class*="is-style-afx-"] .wp-block-button__link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #20375d; }
.wp-block-button[class*="is-style-afx-"] .wp-block-button__link:hover::after { transform: translate(3px, -3px) rotate(-8deg); }
.wp-block-button[class*="is-style-afx-"] .wp-block-button__link:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #20375d; }
.wp-block-button[class*="is-style-afx-"] .wp-block-button__link:focus-visible { outline: 3px solid #1f8a7e; outline-offset: 4px; }
.wp-block-button.is-style-afx-coral .wp-block-button__link { background: #d43d21; color: #fff; }
.wp-block-button.is-style-afx-coral .wp-block-button__link:hover { background: #c0371d; color: #fff; }
.wp-block-button.is-style-afx-mustard .wp-block-button__link { background: #f4b740; color: #20375d; }
.wp-block-button.is-style-afx-mustard .wp-block-button__link:hover { background: #ffc85a; color: #20375d; }
.wp-block-button.is-style-afx-navy .wp-block-button__link { background: #20375d; color: #fff; box-shadow: 4px 4px 0 #e64a2e; }
.wp-block-button.is-style-afx-navy .wp-block-button__link:hover { background: #172a49; color: #fff; box-shadow: 6px 6px 0 #e64a2e; }
.wp-block-button.is-style-afx-paper .wp-block-button__link { background: #fff8ec; color: #20375d; }
.wp-block-button.is-style-afx-paper .wp-block-button__link:hover { background: #fff; color: #20375d; }
.wp-block-button.is-style-afx-link .wp-block-button__link { min-height: 44px; padding: 6px 2px; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: #20375d; font-size: 15.5px; text-decoration: underline; text-decoration-color: #e64a2e; text-decoration-thickness: 2.5px; text-underline-offset: .28em; }
.wp-block-button.is-style-afx-link .wp-block-button__link:hover { transform: none; box-shadow: none; color: #c0371d; background: transparent; }
.wp-block-button.afx-copy-btn .wp-block-button__link { min-height: 44px; padding: 8px 14px; font-size: 14px; box-shadow: 3px 3px 0 #20375d; }
.wp-block-button.afx-copy-btn .wp-block-button__link::after { -webkit-mask-image: var(--afx-copy); mask-image: var(--afx-copy); }
.wp-block-button.afx-copy-btn .wp-block-button__link.is-copied { background: #1f8a7e; color: #fff; }

/* ============================================================ List styles (any List block) */
ul.wp-block-list:is(.is-style-afx-ticks, .is-style-afx-crosses, .is-style-afx-planes) { list-style: none; margin-left: 0; padding-left: 0; }
ul.wp-block-list:is(.is-style-afx-ticks, .is-style-afx-crosses, .is-style-afx-planes) > li { position: relative; margin: 0 0 10px; padding-left: 34px; line-height: 1.5; }
ul.wp-block-list:is(.is-style-afx-ticks, .is-style-afx-crosses, .is-style-afx-planes) > li:last-child { margin-bottom: 0; }
ul.wp-block-list:is(.is-style-afx-ticks, .is-style-afx-crosses) > li::before {
	content: ''; position: absolute; left: 0; top: .05em; width: 23px; height: 23px; border: 2px solid #20375d; border-radius: 50%;
	background: #f4b740 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320375d' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
ul.wp-block-list.is-style-afx-crosses > li::before { background: #ffd9cf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0371d' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
ul.wp-block-list.is-style-afx-planes > li::before { content: ''; position: absolute; left: 2px; top: .2em; width: 18px; height: 18px; background: #e64a2e; -webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat; }
.afx.afx ul.wp-block-list:is(.is-style-afx-ticks, .is-style-afx-crosses) { margin-top: 16px; }
.afx.afx ul.wp-block-list:is(.is-style-afx-ticks, .is-style-afx-crosses) > li { color: var(--afx-text); font-size: 15.5px; }

/* Image styles */
.wp-block-image:is(.is-style-afx-polaroid, .is-style-afx-window) img { display: block; max-width: 100%; height: auto; }
.wp-block-image.is-style-afx-polaroid { width: fit-content; max-width: 100%; margin-inline: auto; padding: 12px 12px 44px; background: #fff; border: 2.5px solid #20375d; box-shadow: 6px 6px 0 #20375d; transform: rotate(-1.5deg); position: relative; }
.wp-block-image.is-style-afx-polaroid::before { content: ''; position: absolute; left: 50%; top: -14px; width: 110px; height: 28px; transform: translateX(-50%) rotate(2deg); background: rgba(244, 183, 64, .75); border: 1px solid rgba(32, 55, 93, .25); }
.wp-block-image.is-style-afx-polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; text-align: center; font: 700 22px/1.2 'Caveat', cursive; color: #20375d; }
.wp-block-image.is-style-afx-window { padding-top: 34px; border: 2.5px solid #20375d; border-radius: 14px; overflow: hidden; box-shadow: 6px 6px 0 #20375d; background: #fff8ec radial-gradient(circle 6px at 22px 16px, #e64a2e 98%, #0000) no-repeat, radial-gradient(circle 6px at 42px 16px, #f4b740 98%, #0000) no-repeat, radial-gradient(circle 6px at 62px 16px, #1f8a7e 98%, #0000) no-repeat; }
.wp-block-image.is-style-afx-window img { border-top: 2.5px solid #20375d; width: 100%; }

/* Table style */
.wp-block-table.is-style-afx-retro { overflow-x: auto; padding: 0 6px 6px 0; }
.wp-block-table.is-style-afx-retro table { width: 100%; border-collapse: separate; border-spacing: 0; border: 2.5px solid #20375d; border-radius: 14px; overflow: hidden; box-shadow: 6px 6px 0 #20375d; background: #fff; font-size: 15px; }
.wp-block-table.is-style-afx-retro :is(th, td) { padding: 12px 16px; border: 0; border-bottom: 1.5px solid #e9dcc2; text-align: left; vertical-align: top; }
.wp-block-table.is-style-afx-retro thead th { background: #20375d; color: #ffe6a6; font: 700 12.5px/1.4 'Space Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; border-bottom: 0; }
.wp-block-table.is-style-afx-retro tbody tr:nth-child(even) td { background: #fff8ec; }
.wp-block-table.is-style-afx-retro tbody tr:last-child td { border-bottom: 0; }
.wp-block-table.is-style-afx-retro tbody td:first-child { color: #20375d; font-weight: 700; }
.wp-block-table.is-style-afx-retro thead { border: 0; }

/* Expired style for coupon rows and passes (Group block → Styles → Expired) */
.wp-block-group.is-style-afx-expired { position: relative; }
.wp-block-group.is-style-afx-expired :is(.afx-code, .afx-coderow__title, .afx-pass__brand) { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .55; }
.wp-block-group.is-style-afx-expired .wp-block-button__link { background: #d9d4ca !important; color: #6b6b6b !important; box-shadow: none !important; pointer-events: none; }
.wp-block-group.is-style-afx-expired .afx-code { filter: none !important; }
.wp-block-group.is-style-afx-expired::after {
	content: 'Expired'; position: absolute; z-index: 3; right: 14%; top: 50%; padding: 4px 14px; transform: translateY(-50%) rotate(-10deg);
	border: 3px solid #c0371d; border-radius: 8px; color: #c0371d; background: rgba(255, 248, 236, .85);
	font: 400 22px/1.2 'Archivo Black', 'Arial Black', sans-serif; letter-spacing: .1em; text-transform: uppercase; pointer-events: none;
}

/* ============================================================ Shared paper card skin */
.afx.afx:is(.afx-codes, .afx-stampdeal, .afx-trip, .afx-score, .afx-groups, .afx-versus, .afx-captain, .afx-cite, .afx-bars, .afx-tool, .afx-log) {
	padding: clamp(20px, 4.2%, 34px); background: var(--afx-paper); border: var(--afx-bd); border-radius: var(--afx-r); box-shadow: var(--afx-sh);
}

/* ============================================================ 1. Boarding pass */
.afx.afx .afx-pass__grid { display: grid; grid-template-columns: 1fr; }
.afx.afx.afx-pass { background: var(--afx-paper); border: var(--afx-bd); border-radius: var(--afx-r); box-shadow: var(--afx-sh); }
.afx.afx .afx-pass__main { padding: clamp(20px, 4.4cqi, 30px); border-radius: 15px 15px 0 0; background: var(--afx-paper) linear-gradient(90deg, var(--afx-coral) 0 34%, var(--afx-mustard) 34% 67%, var(--afx-teal) 67%) top / 100% 8px no-repeat; }
.afx.afx .afx-pass__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.afx.afx .afx-pass__airline { margin-top: 8px; color: var(--afx-ink); font: 700 12px/1.4 var(--afx-m); letter-spacing: .14em; text-transform: uppercase; }
.afx.afx .afx-pass__head .afx-postmark { width: 84px; height: 84px; margin: -4px -2px -20px 0; font-size: 9.5px; }
.afx.afx .afx-pass__head .afx-postmark::before { display: none; }
.afx.afx .afx-pass__brand { margin-top: 6px; color: var(--afx-ink); font: 400 clamp(34px, 7.4cqi, 52px)/1 var(--afx-d); letter-spacing: -.02em; }
.afx.afx .afx-pass__offer { margin-top: 8px; max-width: 40ch; color: var(--afx-text); font-size: 16px; font-weight: 600; }
.afx.afx .afx-pass__route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 20px; }
.afx.afx .afx-pass__price { color: var(--afx-ink); font: 400 clamp(28px, 5.6cqi, 38px)/1 var(--afx-d); }
.afx.afx .afx-pass__price--old { color: var(--afx-soft); text-decoration: line-through; text-decoration-color: var(--afx-coral); text-decoration-thickness: 3px; }
.afx.afx .afx-pass__city--to .afx-pass__price { color: var(--afx-coral-t); }
.afx.afx .afx-pass__city--to { text-align: right; }
.afx.afx .afx-pass__note { margin-top: 4px; color: var(--afx-soft); font: 400 11.5px/1.35 var(--afx-m); }
.afx.afx .afx-pass__plane { position: relative; height: 30px; font-size: 0; color: transparent; }
.afx.afx .afx-pass__plane::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, var(--afx-ink) 0 9px, #0000 9px 15px); -webkit-mask: linear-gradient(90deg, #000 calc(50% - 24px), #0000 0 calc(50% + 24px), #000 0); mask: linear-gradient(90deg, #000 calc(50% - 24px), #0000 0 calc(50% + 24px), #000 0); }
.afx.afx .afx-pass__plane::after { content: ''; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%) rotate(45deg); background: var(--afx-coral); -webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat; }
.afx.afx .afx-pass__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; border-top: 2px solid var(--afx-ink); }
.afx.afx .afx-pass__cell { padding: 10px 10px 0 0; min-width: 0; }
.afx.afx .afx-pass__cell + .afx-pass__cell { padding-left: 10px; border-left: 2px dotted rgba(32, 55, 93, .35); }
.afx.afx .afx-pass__stub { position: relative; display: flex; flex-direction: column; gap: 4px; padding: clamp(20px, 4.4cqi, 30px); border-top: 3px dashed var(--afx-ink); background: #fff; border-radius: 0 0 15px 15px; }
.afx.afx .afx-pass__stub::before, .afx.afx .afx-pass__stub::after { content: ''; position: absolute; top: -17px; width: 30px; height: 30px; border-radius: 50%; background: var(--afx-page); border: var(--afx-bd); }
.afx.afx .afx-pass__stub::before { left: -17px; clip-path: inset(0 0 0 50%); }
.afx.afx .afx-pass__stub::after { right: -17px; clip-path: inset(0 50% 0 0); }
.afx.afx .afx-pass__stub .wp-block-buttons { margin-top: 14px; }
.afx.afx .afx-barcode { margin-top: 14px; padding-top: 44px; text-align: center; color: var(--afx-soft); font: 400 10.5px/1 var(--afx-m); letter-spacing: .2em;
	background: repeating-linear-gradient(90deg, var(--afx-ink) 0 2px, #0000 2px 4px, var(--afx-ink) 4px 5px, #0000 5px 8px, var(--afx-ink) 8px 11px, #0000 11px 12px, var(--afx-ink) 12px 13px, #0000 13px 16px) top / 100% 38px no-repeat; }
@container afx (min-width: 760px) {
	.afx.afx .afx-pass__grid { grid-template-columns: minmax(0, 1fr) 270px; }
	.afx.afx .afx-pass__main { border-radius: 15px 0 0 15px; }
	.afx.afx .afx-pass__stub { border-top: 0; border-left: 3px dashed var(--afx-ink); border-radius: 0 15px 15px 0; justify-content: center; }
	.afx.afx .afx-pass__stub::before { left: -17px; top: -17px; clip-path: inset(50% 0 0 0); }
	.afx.afx .afx-pass__stub::after { left: -17px; right: auto; top: auto; bottom: -17px; clip-path: inset(0 0 50% 0); }
}
@container afx (max-width: 520px) {
	.afx.afx .afx-pass__meta { grid-template-columns: 1fr 1fr; }
	.afx.afx .afx-pass__cell:nth-child(3) { padding-left: 0; border-left: 0; }
	.afx.afx .afx-pass__head .afx-postmark { width: 72px; height: 72px; font-size: 8.5px; }
}

/* ============================================================ 2. Code list with reveal */
.afx.afx .afx-codes__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.afx.afx .afx-codes__head .afx-postmark { width: 86px; height: 86px; font-size: 9.5px; }
.afx.afx .afx-codes__head .afx-postmark::before { display: none; }
.afx.afx .afx-coderow { position: relative; display: grid; gap: 14px; align-items: center; margin-top: 14px; padding: 16px 18px; background: #fff; border: var(--afx-bd); border-radius: 14px; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-coderow--top { background: #fffdf5; box-shadow: 4px 4px 0 var(--afx-coral); }
.afx.afx .afx-coderow__title { margin-top: 8px; color: var(--afx-ink); font: 400 18px/1.25 var(--afx-d); }
.afx.afx .afx-coderow__note { margin-top: 4px; color: var(--afx-soft); font-size: 14.5px; line-height: 1.5; }
.afx.afx .afx-reveal { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.afx.afx .afx-reveal .afx-code { flex: 1 1 120px; min-height: 50px; display: grid; place-items: center; padding: 6px 12px; border: 2.5px dashed var(--afx-ink); border-radius: 10px; background: var(--afx-paper); font-size: 18px; filter: blur(5px); transition: filter .25s ease; user-select: none; }
.afx.afx .afx-reveal .wp-block-buttons { margin-top: 0; flex: 0 1 auto; }
.afx.afx .afx-reveal .wp-block-button__link { white-space: nowrap; }
.afx.afx .afx-reveal .wp-block-button { flex: 1 1 auto; }
.afx.afx .afx-reveal .wp-block-button__link { width: 100%; }
.afx.afx .afx-reveal.is-revealed .afx-code, .afx.afx .afx-reveal--open .afx-code { filter: none; user-select: all; }
.afx.afx .afx-reveal--open .afx-code { font: 700 13px/1.3 var(--afx-m); letter-spacing: .06em; text-transform: uppercase; color: var(--afx-teal-t); }
@container afx (min-width: 640px) {
	.afx.afx .afx-coderow { grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; }
}

/* ============================================================ 3. Discount stamp strip */
.afx.afx.afx-stampdeal { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; overflow: hidden; isolation: isolate;
	background: var(--afx-paper) repeating-conic-gradient(from 0deg at 0% 100%, var(--afx-mustard-l) 0 6deg, #0000 6deg 12deg); }
.afx.afx.afx-stampdeal::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(255, 248, 236, .25) 0%, var(--afx-paper) 46%); }
.afx.afx .afx-stampdeal__copy { flex: 1 1 300px; min-width: 0; }
.afx.afx .afx-stampdeal .afx-stampwrap { margin-left: 6px; }

/* ============================================================ 4. Itinerary */
.afx.afx .afx-trip__route { counter-reset: afx-stop; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 18px; margin-top: 24px; }
.afx.afx .afx-stop { position: relative; padding: 18px 16px 18px; background: #fff; border: var(--afx-bd); border-radius: 14px; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-stop__no { display: inline-grid; place-items: center; width: 44px; height: 44px; border: var(--afx-bd); border-radius: 50%; background: var(--afx-mustard); color: var(--afx-ink); font: 400 15px/1 var(--afx-d); }
.afx.afx .afx-stop:last-child .afx-stop__no { background: var(--afx-coral-d); color: #fff; }
.afx.afx .afx-stop__title { margin-top: 12px; color: var(--afx-ink); font: 400 16px/1.25 var(--afx-d); }
.afx.afx .afx-stop__text { margin-top: 6px; color: var(--afx-soft); font-size: 14.5px; line-height: 1.5; }
.afx.afx .afx-stop:not(:last-child)::after {
	content: ''; position: absolute; z-index: 1; right: -20px; top: 30px; width: 22px; height: 22px; background: var(--afx-coral);
	-webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat; transform: rotate(45deg);
}
@container afx (max-width: 700px) {
	.afx.afx .afx-stop:not(:last-child)::after { right: auto; left: 26px; top: auto; bottom: -20px; transform: rotate(135deg); }
}

/* ============================================================ 5. Fare classes */
.afx.afx .afx-fares__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 18px; margin-top: 26px; align-items: stretch; }
.afx.afx .afx-fare { position: relative; display: flex; flex-direction: column; padding: 20px 18px 18px; background: var(--afx-paper); border: var(--afx-bd); border-radius: 16px; box-shadow: 5px 5px 0 var(--afx-ink); }
.afx.afx .afx-fare::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: 13px 13px 0 0; background: repeating-linear-gradient(135deg, var(--afx-ink) 0 8px, #0000 8px 16px); opacity: .18; }
.afx.afx .afx-fare--best { background: #fff; box-shadow: 7px 7px 0 var(--afx-coral-d); }
.afx.afx .afx-fare--best::before { opacity: 1; background: repeating-linear-gradient(135deg, var(--afx-coral) 0 10px, var(--afx-paper) 10px 15px, var(--afx-ink) 15px 25px, var(--afx-paper) 25px 30px); }
.afx.afx .afx-fare--best::after { content: 'Most booked'; position: absolute; right: 14px; top: -15px; padding: 4px 10px; border: 2px solid var(--afx-ink); border-radius: 999px; background: var(--afx-mustard); color: var(--afx-ink); font: 700 11px/1.3 var(--afx-m); letter-spacing: .08em; text-transform: uppercase; }
.afx.afx .afx-fare__class { margin-top: 8px; color: var(--afx-coral-t); font: 700 11.5px/1.4 var(--afx-m); letter-spacing: .14em; text-transform: uppercase; }
.afx.afx .afx-fare__plan { margin-top: 4px; color: var(--afx-ink); font: 400 21px/1.2 var(--afx-d); }
.afx.afx .afx-fare__price { margin-top: 12px; padding-bottom: 14px; border-bottom: 2px dashed rgba(32, 55, 93, .3); color: var(--afx-ink); font: 400 42px/1 var(--afx-d); letter-spacing: -.02em; }
.afx.afx .afx-fare__price span { margin-left: 4px; color: var(--afx-soft); font: 400 13px/1 var(--afx-m); letter-spacing: 0; }
.afx.afx .afx-fare ul.wp-block-list { flex-grow: 1; }
.afx.afx .afx-fare ul.wp-block-list > li { font-size: 14.5px; }
.afx.afx .afx-fare .wp-block-buttons { margin-top: 18px; }

/* ============================================================ 6. Receipt */
.afx.afx.afx-receipt { max-width: 420px; margin-inline: auto; filter: drop-shadow(6px 6px 0 var(--afx-ink)); }
.afx.afx .afx-receipt__paper {
	padding: 32px 26px 36px; background: #fffdf7; color: var(--afx-ink); font-family: var(--afx-m); text-align: center;
	-webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x;
	mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x;
}
.afx.afx .afx-receipt__head { font: 700 14px/1.4 var(--afx-m); letter-spacing: .16em; text-transform: uppercase; }
.afx.afx .afx-receipt__sub { margin: 4px 0 16px; padding-bottom: 14px; border-bottom: 2px dashed var(--afx-ink); color: var(--afx-soft); font: 400 12.5px/1.4 var(--afx-m); }
.afx.afx .afx-rrow { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font: 400 14.5px/1.4 var(--afx-m); text-align: left; }
.afx.afx .afx-rrow .afx-rv { text-align: right; white-space: nowrap; }
.afx.afx .afx-rrow--total { margin-top: 10px; padding-top: 12px; border-top: 2px dashed var(--afx-ink); font-weight: 700; font-size: 18px; }
.afx.afx .afx-rrow--total .afx-rv { color: var(--afx-coral-t); }
.afx.afx .afx-paidstamp { display: inline-block; margin: 18px auto 0; padding: 6px 16px; border: 3px solid var(--afx-teal-t); border-radius: 10px; color: var(--afx-teal-t); font: 400 20px/1.1 var(--afx-d); letter-spacing: .06em; text-transform: uppercase; transform: rotate(-6deg); }
.afx.afx .afx-receipt .wp-block-buttons { margin-top: 20px; }
.afx.afx .afx-receipt__foot { margin-top: 16px; color: var(--afx-soft); font: 400 11.5px/1.4 var(--afx-m); letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================ 7. Verdict postcard */
.afx.afx.afx-postcard { padding: 12px; background: var(--afx-paper); border: var(--afx-bd); border-radius: 8px; box-shadow: var(--afx-sh); }
.afx.afx .afx-postcard__grid { display: grid; gap: 18px; padding: clamp(14px, 3cqi, 24px); border: 2px solid rgba(32, 55, 93, .25); border-radius: 4px; }
.afx.afx .afx-postcard__img img { border: 2.5px solid var(--afx-ink); border-radius: 6px; transform: rotate(-1.5deg); box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-postcard__greet { margin-top: 16px; font-size: 30px; color: var(--afx-coral-t); text-align: center; }
.afx.afx .afx-postcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.afx.afx .afx-postcard__top .afx-stampwrap { margin: -6px -4px -24px 0; transform: rotate(5deg); }
.afx.afx .afx-postcard__lines { margin-top: 14px; }
.afx.afx .afx-postcard__line { padding: 8px 0; border-bottom: 1.5px solid rgba(32, 55, 93, .28); font-size: 15px; line-height: 1.45; }
@container afx (min-width: 720px) {
	.afx.afx .afx-postcard__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
	.afx.afx .afx-postcard__right { padding-left: 28px; border-left: 2px solid rgba(32, 55, 93, .25); }
}

/* ============================================================ 8. Scorecard */
.afx.afx .afx-score__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.afx.afx .afx-score__total { display: grid; place-items: center; min-width: 120px; padding: 12px 16px; border: var(--afx-bd); border-radius: 14px; background: var(--afx-ink); box-shadow: 4px 4px 0 var(--afx-coral); }
.afx.afx .afx-score__big { color: var(--afx-mustard); font: 400 46px/1 var(--afx-d); }
.afx.afx .afx-score__cap { margin-top: 4px; color: #fff; font: 700 10px/1.3 var(--afx-m); letter-spacing: .1em; text-transform: uppercase; }
.afx.afx .afx-meters { display: grid; gap: 14px; margin-top: 22px; }
.afx.afx .afx-meter { --v: 0%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.afx.afx .afx-meter__label { color: var(--afx-ink); font: 700 15px/1.3 var(--afx-b); }
.afx.afx .afx-meter__value { color: var(--afx-ink); font: 400 17px/1 var(--afx-d); }
.afx.afx .afx-meter::after {
	content: ''; grid-column: 1 / -1; height: 20px; border: 2.5px solid var(--afx-ink); border-radius: 7px;
	background: repeating-linear-gradient(90deg, #0000 0 calc(10% - 3px), var(--afx-paper) calc(10% - 3px) 10%), linear-gradient(90deg, var(--afx-coral) 0 var(--v), #fff 0);
	box-shadow: 3px 3px 0 var(--afx-ink); transition: --v 1.1s cubic-bezier(.2, .7, .2, 1);
}
.afx.afx .afx-meter:nth-child(even)::after { background: repeating-linear-gradient(90deg, #0000 0 calc(10% - 3px), var(--afx-paper) calc(10% - 3px) 10%), linear-gradient(90deg, var(--afx-mustard) 0 var(--v), #fff 0); }
.afx.afx .afx-meter { transition: --v 1.1s cubic-bezier(.2, .7, .2, 1); }
@property --v { syntax: '<percentage>'; inherits: true; initial-value: 0%; }

/* ============================================================ 9. Luggage tags */
.afx.afx.afx-ltags { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 30px 24px; padding-top: 20px; }
.afx.afx .afx-ltag { position: relative; padding: 46px 22px 22px; border: var(--afx-bd); border-radius: 46px 46px 16px 16px / 34px 34px 16px 16px; box-shadow: var(--afx-sh); }
.afx.afx .afx-ltag--pro { background: #e3f4ef; transform: rotate(-1.2deg); }
.afx.afx .afx-ltag--con { background: #ffe9e2; transform: rotate(1.2deg); }
.afx.afx .afx-ltag::before { content: ''; position: absolute; left: 50%; top: 14px; width: 20px; height: 20px; transform: translateX(-50%); border-radius: 50%; background: var(--afx-page); border: var(--afx-bd); box-shadow: 0 0 0 5px var(--afx-mustard), 0 0 0 7.5px var(--afx-ink); }
.afx.afx .afx-ltag::after { content: ''; position: absolute; left: 50%; top: -22px; width: 36px; height: 44px; border: 2.5px solid var(--afx-ink); border-bottom: 0; border-right: 0; border-radius: 30px 0 0 0; transform: translateX(-4px) rotate(18deg); }
.afx.afx .afx-ltag__head { text-align: center; color: var(--afx-ink); font: 400 19px/1.2 var(--afx-d); text-transform: uppercase; letter-spacing: .02em; }
.afx.afx .afx-ltag--pro .afx-ltag__head { color: var(--afx-teal-t); }
.afx.afx .afx-ltag--con .afx-ltag__head { color: var(--afx-coral-t); }

/* ============================================================ 10. Who should board */
.afx.afx .afx-groups__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; margin-top: 22px; }
.afx.afx .afx-group { padding: 20px; border: var(--afx-bd); border-radius: 14px; background: #fff; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-group__badge { display: inline-block; padding: 6px 12px; border: 2px solid var(--afx-ink); border-radius: 8px; font: 700 12px/1.3 var(--afx-m); letter-spacing: .08em; text-transform: uppercase; }
.afx.afx .afx-group--yes .afx-group__badge { background: var(--afx-teal); color: #fff; }
.afx.afx .afx-group--no { background: #fbf7ef; }
.afx.afx .afx-group--no .afx-group__badge { background: #fff; color: var(--afx-coral-t); }

/* ============================================================ 11. Passport */
.afx.afx .afx-passport { display: grid; border: var(--afx-bd); border-radius: 16px; box-shadow: var(--afx-sh); overflow: hidden; }
.afx.afx .afx-passport__cover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px 18px; text-align: center; background: var(--afx-ink); background-image: radial-gradient(circle at 50% 120%, #2c4a78, #0000 60%); }
.afx.afx .afx-passport__crest { color: var(--afx-mustard); font: 400 26px/1 var(--afx-d); letter-spacing: .08em; }
.afx.afx .afx-passport__cover-title { color: #ffe6a6; font: 700 11px/1.4 var(--afx-m); letter-spacing: .24em; text-transform: uppercase; }
.afx.afx .afx-passport__emblem { display: grid; place-items: center; width: 70px; height: 70px; margin-top: 8px; border: 2.5px solid var(--afx-mustard); border-radius: 50%; color: var(--afx-mustard); font-size: 0; }
.afx.afx .afx-passport__emblem::before { content: ''; width: 34px; height: 34px; background: var(--afx-mustard); -webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat; }
.afx.afx .afx-passport__page { position: relative; padding: 22px; background: var(--afx-paper) repeating-linear-gradient(0deg, #0000 0 27px, rgba(32, 55, 93, .07) 27px 28px); }
.afx.afx .afx-passport__id { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.afx.afx .afx-passport__photo img { width: 96px; height: 116px; object-fit: cover; border: 2.5px solid var(--afx-ink); border-radius: 6px; filter: saturate(.9); }
.afx.afx .afx-passport__data .afx-k:not(:first-child) { margin-top: 8px; }
.afx.afx .afx-passport__name { color: var(--afx-ink); font: 400 21px/1.15 var(--afx-d); }
.afx.afx .afx-passport__data .afx-v { font: 600 14px/1.4 var(--afx-b); }
.afx.afx .afx-passport__stamps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.afx.afx .afx-pstamp { display: grid; place-items: center; min-width: 96px; padding: 10px 12px; border: 2.5px solid var(--afx-teal-t); border-radius: 50%; color: var(--afx-teal-t); font: 700 11px/1.25 var(--afx-m); letter-spacing: .06em; text-transform: uppercase; text-align: center; transform: rotate(-8deg); box-shadow: inset 0 0 0 3px var(--afx-paper), inset 0 0 0 4.5px var(--afx-teal-t); }
.afx.afx .afx-pstamp--b { border-radius: 10px; border-color: var(--afx-coral-t); color: var(--afx-coral-t); box-shadow: inset 0 0 0 3px var(--afx-paper), inset 0 0 0 4.5px var(--afx-coral-t); transform: rotate(5deg); }
.afx.afx .afx-pstamp--c { border-color: var(--afx-ink); color: var(--afx-ink); box-shadow: inset 0 0 0 3px var(--afx-paper), inset 0 0 0 4.5px var(--afx-ink); transform: rotate(-3deg); }
.afx.afx .afx-passport__link { margin-top: 16px; font-size: 14.5px; }
@container afx (min-width: 640px) {
	.afx.afx .afx-passport { grid-template-columns: 200px minmax(0, 1fr); }
}

/* ============================================================ 12. Versus poster */
.afx.afx.afx-versus { background: var(--afx-paper) repeating-conic-gradient(from 0deg at 50% 62%, rgba(244, 183, 64, .28) 0 5deg, #0000 5deg 10deg); }
.afx.afx.afx-versus > .afx-label, .afx.afx.afx-versus > .wp-block-group__inner-container > .afx-label { justify-content: center; }
.afx.afx.afx-versus .afx-title { text-align: center; }
.afx.afx .afx-vs { display: grid; gap: 16px; margin-top: 24px; align-items: center; }
.afx.afx .afx-fighter { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 18px 18px; background: #fff; border: var(--afx-bd); border-radius: 16px; box-shadow: 5px 5px 0 var(--afx-ink); }
.afx.afx .afx-fighter--win { box-shadow: 7px 7px 0 var(--afx-coral-d); }
.afx.afx .afx-fighter__name { color: var(--afx-ink); font: 400 clamp(24px, 4.4cqi, 32px)/1.05 var(--afx-d); }
.afx.afx .afx-fighter__sub { margin-top: 4px; color: var(--afx-soft); font: 700 11.5px/1.4 var(--afx-m); letter-spacing: .1em; text-transform: uppercase; }
.afx.afx .afx-fighter ul.wp-block-list { flex-grow: 1; }
.afx.afx .afx-winstamp { position: absolute; right: 12px; top: -16px; padding: 4px 12px; border: 3px solid var(--afx-coral-t); border-radius: 8px; background: var(--afx-paper); color: var(--afx-coral-t); font: 400 17px/1.2 var(--afx-d); letter-spacing: .1em; text-transform: uppercase; transform: rotate(6deg); }
.afx.afx .afx-vs__badge { justify-self: center; display: grid; place-items: center; width: 62px; height: 62px; border: var(--afx-bd); border-radius: 50%; background: var(--afx-mustard); color: var(--afx-ink); font: 400 20px/1 var(--afx-d); box-shadow: 3px 3px 0 var(--afx-ink); transform: rotate(-8deg); }
.afx.afx .afx-rounds { margin-top: 24px; border: var(--afx-bd); border-radius: 14px; overflow: hidden; background: #fff; }
.afx.afx .afx-round { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; }
.afx.afx .afx-round + .afx-round { border-top: 1.5px dashed rgba(32, 55, 93, .3); }
.afx.afx .afx-round__name { color: var(--afx-text); font-size: 15px; }
.afx.afx .afx-round__win { flex: none; padding: 3px 10px; border: 2px solid var(--afx-ink); border-radius: 999px; background: var(--afx-mustard-l); color: var(--afx-ink); font: 700 12px/1.3 var(--afx-m); letter-spacing: .04em; }
@container afx (min-width: 620px) {
	.afx.afx .afx-vs { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; }
}

/* ============================================================ 13. Alternatives */
.afx.afx .afx-alts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; margin-top: 22px; }
.afx.afx .afx-alt { position: relative; display: flex; flex-direction: column; padding: 20px 18px 18px 18px; background: var(--afx-paper); border: var(--afx-bd); border-radius: 14px; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-alt::before, .afx.afx .afx-alt::after { content: ''; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--afx-page); border: var(--afx-bd); }
.afx.afx .afx-alt::before { left: -13px; clip-path: inset(0 0 0 50%); }
.afx.afx .afx-alt::after { right: -13px; clip-path: inset(0 50% 0 0); }
.afx.afx .afx-alt__tag { width: fit-content; padding: 3px 9px; border: 2px solid var(--afx-ink); border-radius: 7px; background: var(--afx-sky); color: var(--afx-ink); font: 700 11px/1.4 var(--afx-m); letter-spacing: .08em; text-transform: uppercase; }
.afx.afx .afx-alt__name { margin-top: 12px; color: var(--afx-ink); font: 400 22px/1.15 var(--afx-d); }
.afx.afx .afx-alt__text { margin-top: 6px; flex-grow: 1; color: var(--afx-soft); font-size: 14.5px; line-height: 1.55; }
.afx.afx .afx-alt__link { margin-top: 14px; padding-top: 12px; border-top: 2px dashed rgba(32, 55, 93, .3); font-size: 15px; }

/* ============================================================ 14. Departures board */
.afx.afx.afx-board { padding: clamp(16px, 3.4%, 26px); background: #121c33; border: 3px solid var(--afx-ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--afx-coral-d), inset 0 0 0 6px #1b2742; color: #ffd166; font-family: var(--afx-m); }
.afx.afx .afx-board__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 4px 6px 14px; border-bottom: 2px solid #2a3a5e; }
.afx.afx .afx-board__title { display: flex; align-items: center; gap: 12px; color: var(--afx-mustard); font: 400 clamp(24px, 4.6cqi, 32px)/1 var(--afx-d); letter-spacing: .1em; text-transform: uppercase; }
.afx.afx .afx-board__title::before { content: ''; width: 30px; height: 30px; background: var(--afx-mustard); -webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat; transform: rotate(-20deg); }
.afx.afx .afx-board__sub { color: #9fb0c9; font: 700 11.5px/1.4 var(--afx-m); letter-spacing: .1em; text-transform: uppercase; }
.afx.afx .afx-board__row { display: grid; grid-template-columns: 40px minmax(0, 1.5fr) minmax(0, 1.2fr) 56px 118px; align-items: center; gap: 10px; padding: 10px 6px; border-bottom: 1.5px solid #22304f; }
.afx.afx .afx-board__row--head { padding-top: 12px; padding-bottom: 6px; border-bottom: 0; }
.afx.afx .afx-board__th { color: #7d8db0; font: 700 10.5px/1.2 var(--afx-m); letter-spacing: .14em; text-transform: uppercase; }
.afx.afx .afx-board__row p:not(.afx-board__th) { color: #ffd166; font: 700 15px/1.2 var(--afx-m); letter-spacing: .08em; text-transform: uppercase; }
.afx.afx .afx-board__no { color: #fff !important; }
.afx.afx .afx-board__tool { font-size: 16px !important; color: #fff !important; }
.afx.afx .afx-board__for { color: #9fd8ff !important; font-size: 12.5px !important; }
.afx.afx .afx-board__score { color: var(--afx-mustard) !important; }
.afx.afx .afx-board__status a { display: inline-block; padding: 5px 8px; border-radius: 6px; background: #1f8a7e; color: #fff !important; font: 700 11.5px/1.2 var(--afx-m); letter-spacing: .08em; text-decoration: none !important; white-space: nowrap; }
.afx.afx .afx-board__status.is-boarding a { background: var(--afx-mustard); color: #121c33 !important; animation: afx-blink 1.4s steps(2, start) infinite; }
.afx.afx .afx-board__status.is-final a { background: var(--afx-coral-d); }
.afx.afx .afx-board__status a:hover { filter: brightness(1.1); }
.afx.afx .afx-board__foot { padding: 12px 6px 2px; color: #7d8db0; font: 400 12px/1.5 var(--afx-m); }
.afx.afx .afx-flap { display: inline-block; min-width: .82em; margin: 0 1px 2px 0; padding: 3px 1px; border-radius: 3px; background: linear-gradient(#1e2b48 0 49%, #0d1528 49% 51%, #1e2b48 51%); text-align: center; line-height: 1.1; }
.afx.afx .afx-flaps.is-flipping .afx-flap { animation: afx-flip .5s ease both; animation-delay: calc(var(--i) * 45ms); }
@keyframes afx-flip { 0% { transform: rotateX(90deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes afx-blink { 50% { opacity: .55; } }
@container afx (max-width: 600px) {
	.afx.afx .afx-board__row { grid-template-columns: 30px minmax(0, 1fr) auto; row-gap: 4px; }
	.afx.afx .afx-board__row--head { display: none; }
	.afx.afx .afx-board__for { grid-column: 2; grid-row: 2; }
	.afx.afx .afx-board__score { grid-column: 3; grid-row: 1; text-align: right; }
	.afx.afx .afx-board__status { grid-column: 3; grid-row: 2; text-align: right; }
}

/* ============================================================ 15. Captain's pick */
.afx.afx.afx-captain { margin-top: 3em; background: var(--afx-paper) radial-gradient(circle at 100% 0%, var(--afx-mustard-l) 0 140px, #0000 141px); }
.afx.afx .afx-captain__badge { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 18px; border: var(--afx-bd); border-radius: 999px; background: var(--afx-mustard); color: var(--afx-ink); font: 400 15px/1.2 var(--afx-d); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-captain__badge::before, .afx.afx .afx-captain__badge::after { content: ''; width: 26px; height: 12px; background: var(--afx-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M26 6 14 0v3H0l4 3-4 3h14v3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M26 6 14 0v3H0l4 3-4 3h14v3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.afx.afx .afx-captain__badge::before { transform: scaleX(-1); }
.afx.afx .afx-captain__grid { display: grid; gap: 22px; margin-top: 12px; align-items: center; }
.afx.afx .afx-captain__img img { border: var(--afx-bd); border-radius: 12px; box-shadow: 5px 5px 0 var(--afx-ink); transform: rotate(-1.5deg); }
.afx.afx .afx-captain__rank { display: inline-block; padding: 2px 12px; border: var(--afx-bd); border-radius: 10px; background: var(--afx-coral-d); color: #fff; font: 400 20px/1.3 var(--afx-d); box-shadow: 3px 3px 0 var(--afx-ink); }
.afx.afx .afx-captain .afx-title { font-size: clamp(28px, 5cqi, 40px); }
.afx.afx .afx-qfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border: var(--afx-bd); border-radius: 12px; background: #fff; overflow: hidden; }
.afx.afx .afx-qf { padding: 10px 12px; min-width: 0; }
.afx.afx .afx-qf + .afx-qf { border-left: 2px dashed rgba(32, 55, 93, .3); }
@container afx (min-width: 740px) {
	.afx.afx .afx-captain__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px; }
}

/* ============================================================ 16. Ranked tool card */
.afx.afx.afx-tool { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.afx.afx .afx-tool__body { flex: 1 1 280px; min-width: 0; }
.afx.afx .afx-tool__rank { flex: none; }
.afx.afx .afx-tool__rank { display: grid; place-items: center; width: 72px; height: 72px; border: var(--afx-bd); border-radius: 16px; background: var(--afx-ink); color: var(--afx-mustard); font: 400 30px/1 var(--afx-d); box-shadow: 4px 4px 0 var(--afx-coral-d); transform: rotate(-3deg); }
.afx.afx .afx-tool__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.afx.afx .afx-tool__name { color: var(--afx-ink); font: 400 clamp(22px, 4cqi, 28px)/1.1 var(--afx-d); }
.afx.afx .afx-tool__tag { padding: 3px 10px; border: 2px solid var(--afx-ink); border-radius: 999px; background: var(--afx-sky); color: var(--afx-ink); font: 700 11.5px/1.4 var(--afx-m); letter-spacing: .06em; text-transform: uppercase; }
.afx.afx .afx-tool .afx-text { margin-top: 8px; }
.afx.afx ul.afx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.afx.afx ul.afx-chips > li { margin: 0; padding: 4px 11px; border: 2px solid var(--afx-ink); border-radius: 8px; background: #fff; color: var(--afx-ink); font: 700 12px/1.4 var(--afx-m); letter-spacing: .04em; }
.afx.afx ul.afx-chips > li:first-child { background: var(--afx-mustard); }
.afx.afx .afx-tool__link { margin-top: 14px; font-size: 15.5px; }
.afx.afx .afx-tool__link a::after { content: ' →'; }
@container afx (max-width: 460px) {
	.afx.afx .afx-tool__rank { width: 56px; height: 56px; font-size: 24px; }
}

/* ============================================================ 17. Quick picks */
.afx.afx .afx-qts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; margin-top: 20px; }
.afx.afx .afx-qt { position: relative; padding: 18px 20px; background: var(--afx-paper); border: var(--afx-bd); border-radius: 14px; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-qt:first-child { background: var(--afx-mustard-l); box-shadow: 4px 4px 0 var(--afx-coral-d); }
.afx.afx .afx-qt::before, .afx.afx .afx-qt::after { content: ''; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--afx-page); border: var(--afx-bd); }
.afx.afx .afx-qt::before { left: -13px; clip-path: inset(0 0 0 50%); }
.afx.afx .afx-qt::after { right: -13px; clip-path: inset(0 50% 0 0); }
.afx.afx .afx-qt__for { color: var(--afx-coral-t); font: 700 11.5px/1.4 var(--afx-m); letter-spacing: .12em; text-transform: uppercase; }
.afx.afx .afx-qt__name { margin-top: 6px; color: var(--afx-ink); font: 400 24px/1.1 var(--afx-d); }
.afx.afx .afx-qt__why { margin-top: 4px; color: var(--afx-soft); font-size: 14.5px; }
.afx.afx .afx-qt__link { margin-top: 12px; padding-top: 10px; border-top: 2px dashed rgba(32, 55, 93, .3); font-size: 14.5px; }

/* ============================================================ 18. Telegram */
.afx.afx.afx-tg { padding: 18px clamp(16px, 4%, 28px) 22px; background: #f3e3bf; border: var(--afx-bd); border-radius: 6px; box-shadow: var(--afx-sh); background-image: linear-gradient(0deg, rgba(32, 55, 93, .05) 1px, #0000 1px); background-size: 100% 24px; }
.afx.afx .afx-tg__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 3px double var(--afx-ink); }
.afx.afx .afx-tg__brand { color: var(--afx-ink); font: 400 20px/1.1 var(--afx-d); letter-spacing: .14em; text-transform: uppercase; }
.afx.afx .afx-tg__meta { color: var(--afx-coral-t); font: 700 11.5px/1.6 var(--afx-m); letter-spacing: .14em; text-transform: uppercase; }
.afx.afx .afx-tg__strip { width: fit-content; max-width: 100%; margin-top: 10px; padding: 7px 12px; background: #fffaf0; box-shadow: 0 1px 0 rgba(32, 55, 93, .25), 2px 2px 0 rgba(32, 55, 93, .12); color: var(--afx-ink); font: 700 clamp(13.5px, 2.4cqi, 16px)/1.5 var(--afx-m); letter-spacing: .02em; text-transform: uppercase; }
.afx.afx .afx-tg__strip:nth-child(odd) { transform: rotate(-.4deg); }
.afx.afx .afx-tg__strip:nth-child(even) { transform: rotate(.35deg); }
.afx.afx .afx-tg__strip strong { color: var(--afx-coral-t); }

/* ============================================================ 19. Checklist clipboard */
.afx.afx.afx-clip { margin-top: 3em; padding: 40px clamp(18px, 4.4%, 32px) 26px; background: var(--afx-paper) repeating-linear-gradient(0deg, #0000 0 31px, rgba(32, 55, 93, .09) 31px 32px); border: var(--afx-bd); border-radius: 14px; box-shadow: var(--afx-sh); }
.afx.afx.afx-clip::before { content: ''; position: absolute; left: 50%; top: -20px; width: 150px; height: 40px; transform: translateX(-50%); border: var(--afx-bd); border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, #b9c4d6, #8e9bb2); box-shadow: 3px 3px 0 var(--afx-ink); }
.afx.afx.afx-clip::after { content: ''; position: absolute; left: 50%; top: -12px; width: 40px; height: 12px; transform: translateX(-50%); border-radius: 6px; background: var(--afx-ink); }
.afx.afx .afx-clip__head { color: var(--afx-coral-t); font: 700 12.5px/1.4 var(--afx-m); letter-spacing: .16em; text-transform: uppercase; }
.afx.afx ul.afx-checks { margin: 16px 0 0; padding: 0; list-style: none; }
.afx.afx ul.afx-checks > li { position: relative; margin: 0; padding: 7px 0 7px 40px; color: var(--afx-text); font-size: 16px; line-height: 1.5; }
.afx.afx ul.afx-checks > li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 24px; height: 24px; border: 2.5px solid var(--afx-ink); border-radius: 5px; background: #fff; }
.afx.afx ul.afx-checks > li::after { content: ''; position: absolute; left: 6px; top: 2px; width: 26px; height: 26px; background: var(--afx-coral-d); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L21 5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L21 5'/%3E%3C/svg%3E") center / contain no-repeat; }
.afx.afx .afx-clip__ok { margin-top: 14px; text-align: right; color: var(--afx-teal-t); }

/* ============================================================ 20. Pilot's tip */
.afx.afx.afx-tip { max-width: 680px; padding: 26px 24px 20px 24px; background: #ffe08a; border: var(--afx-bd); border-radius: 4px 4px 22px 4px; box-shadow: var(--afx-sh); transform: rotate(-.6deg); }
.afx.afx.afx-tip::before { content: ''; position: absolute; left: 34px; top: -14px; width: 96px; height: 26px; transform: rotate(-4deg); background: rgba(215, 235, 246, .9); border: 1px solid rgba(32, 55, 93, .3); }
.afx.afx .afx-tip__label { display: flex; align-items: center; gap: 10px; color: var(--afx-ink); font: 400 18px/1.2 var(--afx-d); letter-spacing: .06em; text-transform: uppercase; }
.afx.afx .afx-tip__label::before { content: ''; width: 34px; height: 16px; background: var(--afx-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 16'%3E%3Cpath d='M17 2a4 4 0 0 1 4 4v1h12l-3 3H21a4 4 0 0 1-8 0H4L1 7h12V6a4 4 0 0 1 4-4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 16'%3E%3Cpath d='M17 2a4 4 0 0 1 4 4v1h12l-3 3H21a4 4 0 0 1-8 0H4L1 7h12V6a4 4 0 0 1 4-4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.afx.afx .afx-tip__text { margin-top: 10px; color: var(--afx-ink); font-size: 16.5px; line-height: 1.6; }
.afx.afx.afx-tip .afx-sign { margin-top: 8px; text-align: right; }

/* ============================================================ 21. Turbulence warning */
.afx.afx.afx-warn { padding: 18px 20px 18px 74px; background: #fff; border: var(--afx-bd); border-radius: 14px; box-shadow: 5px 5px 0 var(--afx-coral-d); overflow: hidden; }
.afx.afx.afx-warn::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 54px; border-right: var(--afx-bd); background: repeating-linear-gradient(135deg, var(--afx-mustard) 0 12px, var(--afx-ink) 12px 24px); }
.afx.afx.afx-warn::after { content: '!'; position: absolute; left: 13px; top: 18px; display: grid; place-items: center; width: 28px; height: 28px; border: 2.5px solid var(--afx-ink); border-radius: 50%; background: #fff; color: var(--afx-coral-t); font: 400 16px/1 var(--afx-d); }
.afx.afx .afx-warn__label { color: var(--afx-coral-t); font: 400 17px/1.2 var(--afx-d); letter-spacing: .06em; text-transform: uppercase; }
.afx.afx .afx-warn__text { margin-top: 6px; color: var(--afx-text); font-size: 16px; line-height: 1.6; }

/* ============================================================ 22. Next stop */
.afx.afx.afx-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 1.8em 0; padding: 12px 18px; background: var(--afx-sky); border: var(--afx-bd); border-radius: 12px; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-next__label { display: flex; align-items: center; gap: 8px; flex: none; padding: 4px 10px; border-radius: 7px; background: var(--afx-ink); color: var(--afx-mustard); font: 700 11.5px/1.4 var(--afx-m); letter-spacing: .12em; text-transform: uppercase; }
.afx.afx .afx-next__label::after { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat; }
.afx.afx .afx-next__link { flex: 1 1 260px; font: 400 16px/1.35 var(--afx-d); }
.afx.afx .afx-next__link a { text-decoration-thickness: 2.5px; font-weight: 400; }

/* ============================================================ 23. Tool mention */
.afx.afx.afx-mention { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 1.8em 0; padding: 14px 16px; background: var(--afx-paper); border: var(--afx-bd); border-radius: 14px; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-mention__left { display: flex; align-items: center; gap: 14px; flex: 1 1 260px; min-width: 0; }
.afx.afx .afx-mention__logo { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border: var(--afx-bd); border-radius: 12px; background: var(--afx-coral-d); color: #fff; font: 400 22px/1 var(--afx-d); }
.afx.afx .afx-mention__name { color: var(--afx-ink); font: 400 19px/1.2 var(--afx-d); }
.afx.afx .afx-mention__what { color: var(--afx-soft); font-size: 14.5px; line-height: 1.45; }
.afx.afx.afx-mention .wp-block-buttons { margin-top: 0; }

/* ============================================================ 24. Flight log */
.afx.afx .afx-log__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--afx-ink); font: 400 17px/1.2 var(--afx-d); letter-spacing: .1em; text-transform: uppercase; }
.afx.afx .afx-log__head::before { content: ''; width: 22px; height: 22px; background: var(--afx-coral); -webkit-mask: var(--afx-plane) center / contain no-repeat; mask: var(--afx-plane) center / contain no-repeat; }
.afx.afx .afx-log__row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1.5px dashed rgba(32, 55, 93, .3); }
.afx.afx .afx-log__date { color: var(--afx-coral-t); font: 700 12.5px/1.6 var(--afx-m); letter-spacing: .06em; text-transform: uppercase; }
.afx.afx .afx-log__text { color: var(--afx-text); font-size: 15px; line-height: 1.55; }
@container afx (max-width: 460px) { .afx.afx .afx-log__row { grid-template-columns: 1fr; gap: 2px; } }

/* ============================================================ 25. Stamp stats */
.afx.afx .afx-pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 22px; margin-top: 22px; filter: drop-shadow(4px 4px 0 var(--afx-ink)); }
.afx.afx .afx-pstat { display: flex; flex-direction: column; padding: 26px 22px 22px; background: var(--afx-coral-d); color: #fff; box-shadow: inset 0 0 0 9px var(--afx-paper), inset 0 0 0 11.5px var(--afx-ink); }
.afx.afx .afx-pstat:nth-child(4n+2) { background: var(--afx-mustard); color: var(--afx-ink); }
.afx.afx .afx-pstat:nth-child(4n+3) { background: var(--afx-teal-t); }
.afx.afx .afx-pstat:nth-child(4n+4) { background: var(--afx-sky); color: var(--afx-ink); }
.afx.afx .afx-pstat:nth-child(odd) { transform: rotate(-1.2deg); }
.afx.afx .afx-pstat:nth-child(even) { transform: rotate(1deg); }
.afx.afx .afx-pstat__num { font: 400 clamp(30px, 5.4cqi, 40px)/1 var(--afx-d); letter-spacing: -.02em; white-space: nowrap; }
.afx.afx .afx-pstat__text { margin-top: 8px; flex-grow: 1; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.afx.afx .afx-pstat__src { margin-top: 12px; font: 400 10.5px/1.4 var(--afx-m); opacity: .85; }

/* ============================================================ 26. Cite this stat */
.afx.afx .afx-cite__top { display: grid; gap: 6px 22px; align-items: center; }
.afx.afx .afx-cite__num { color: var(--afx-coral-d); font: 400 clamp(64px, 13cqi, 104px)/.9 var(--afx-d); letter-spacing: -.04em; text-shadow: 4px 4px 0 var(--afx-ink); -webkit-text-stroke: 2px var(--afx-ink); }
.afx.afx .afx-cite__text { color: var(--afx-ink); font: 400 clamp(18px, 3.2cqi, 23px)/1.3 var(--afx-d); }
.afx.afx .afx-cite__src { margin-top: 8px; color: var(--afx-soft); font: 400 12.5px/1.5 var(--afx-m); }
.afx.afx .afx-cite__label { position: relative; margin-top: 22px; padding: 14px 14px 14px 18px; border-style: solid; background: #fff; box-shadow: 4px 4px 0 var(--afx-ink); }
.afx.afx .afx-cite__label > .afx-k, .afx.afx .afx-cite__label .afx-k { flex-basis: 100%; }
.afx.afx .afx-cite__label .afx-code { flex: 1 1 260px; font: 400 13.5px/1.55 var(--afx-m); letter-spacing: 0; color: var(--afx-text); }
@container afx (min-width: 560px) { .afx.afx .afx-cite__top { grid-template-columns: auto minmax(0, 1fr); } }

/* ============================================================ 27. Bar chart */
.afx.afx .afx-bars__list { display: grid; gap: 12px; margin-top: 22px; }
.afx.afx .afx-bar { --w: 0%; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; }
.afx.afx .afx-bar__label { color: var(--afx-ink); font: 700 13px/1.2 var(--afx-m); letter-spacing: .04em; }
.afx.afx .afx-bar__value {
	position: relative; display: flex; align-items: center; justify-content: flex-end; width: max(var(--w), 64px); min-height: 36px; padding: 4px 10px;
	border: var(--afx-bd); border-radius: 0 10px 10px 0; box-shadow: 3px 3px 0 var(--afx-ink);
	background: var(--afx-coral-d) repeating-linear-gradient(135deg, #0000 0 8px, rgba(255, 255, 255, .16) 8px 14px);
	color: #fff; font: 400 15px/1 var(--afx-d); transition: width 1s cubic-bezier(.2, .7, .2, 1);
}
.afx.afx .afx-bar:nth-child(even) .afx-bar__value { background-color: var(--afx-mustard); color: var(--afx-ink); }
.afx.afx .afx-bar:last-child .afx-bar__value { background-color: var(--afx-sky); color: var(--afx-ink); border-style: dashed; }

/* ============================================================ 28. Fun fact */
.afx.afx.afx-fact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 18px 22px 18px 18px; background: var(--afx-sky); border: var(--afx-bd); border-radius: 16px; box-shadow: var(--afx-sh); }
.afx.afx .afx-burst {
	flex: none; display: grid; place-items: center; width: 104px; height: 104px; padding: 10px; text-align: center; transform: rotate(-10deg);
	background: var(--afx-mustard); color: var(--afx-ink); font: 400 17px/1 var(--afx-d); text-transform: uppercase;
	clip-path: polygon(50% 0%, 61% 13%, 77% 7%, 79% 23%, 95% 25%, 89% 40%, 100% 50%, 89% 60%, 95% 75%, 79% 77%, 77% 93%, 61% 87%, 50% 100%, 39% 87%, 23% 93%, 21% 77%, 5% 75%, 11% 60%, 0% 50%, 11% 40%, 5% 25%, 21% 23%, 23% 7%, 39% 13%);
}
.afx.afx .afx-fact__text { flex: 1 1 260px; min-width: 0; color: var(--afx-ink); font-size: 16.5px; line-height: 1.55; }
.afx.afx .afx-fact__text strong { display: block; color: var(--afx-coral-d); font: 400 clamp(30px, 6cqi, 40px)/1 var(--afx-d); }

/* ============================================================ 29. Airmail envelope */
.afx.afx.afx-env { padding: 12px; border: var(--afx-bd); border-radius: 12px; box-shadow: var(--afx-sh); background: repeating-linear-gradient(135deg, var(--afx-coral) 0 18px, #fff 18px 27px, var(--afx-ink) 27px 45px, #fff 45px 54px); }
.afx.afx .afx-env__paper { display: grid; gap: 18px; padding: clamp(20px, 4.4cqi, 32px); background: var(--afx-paper); border: 2px solid var(--afx-ink); border-radius: 4px; }
.afx.afx .afx-env__post { display: flex; align-items: center; gap: 20px; order: -1; justify-content: flex-end; }
.afx.afx .afx-env__post .afx-postmark { margin-right: 6px; }
@container afx (min-width: 700px) {
	.afx.afx .afx-env__paper { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
	.afx.afx .afx-env__post { order: 0; flex-direction: column-reverse; align-items: center; gap: 4px; }
	.afx.afx .afx-env__post .afx-postmark { margin: 0 0 -16px -40px; }
}

/* ============================================================ 30. Take-off closing */
.afx.afx.afx-takeoff { padding: clamp(22px, 4.6%, 38px); background: var(--afx-sky); border: var(--afx-bd); border-radius: 22px; box-shadow: var(--afx-sh); overflow: hidden; isolation: isolate; }
.afx.afx.afx-takeoff::before { content: ''; position: absolute; z-index: -1; inset: auto -10% -60% -10%; height: 80%; border-radius: 50%; background: #c4e0f0; border-top: 2.5px dashed rgba(32, 55, 93, .25); }
.afx.afx .afx-takeoff__grid { display: grid; gap: 10px 26px; align-items: center; }
.afx.afx .afx-takeoff .afx-title { font-size: clamp(25px, 4.8cqi, 38px); }
.afx.afx .afx-takeoff__img img { width: 100%; max-width: 420px; margin-inline: auto; animation: afx-float 5s ease-in-out infinite; }
@keyframes afx-float { 50% { transform: translateY(-8px) rotate(-1deg); } }
@container afx (min-width: 720px) {
	.afx.afx .afx-takeoff__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}

/* ============================================================ Phones */
@container afx (max-width: 480px) {
	.afx.afx .wp-block-buttons > .wp-block-button:not(.is-style-afx-link):not(.afx-copy-btn) { flex: 1 1 100%; }
	.afx.afx .wp-block-buttons > .wp-block-button:not(.is-style-afx-link):not(.afx-copy-btn) .wp-block-button__link { width: 100%; }
	.afx.afx .afx-stampwrap .afx-stamp { min-width: 104px; min-height: 112px; font-size: 32px; }
	.afx.afx .afx-qfacts { grid-template-columns: 1fr; }
	.afx.afx .afx-qf + .afx-qf { border-left: 0; border-top: 2px dashed rgba(32, 55, 93, .3); }
	.afx.afx .afx-qf { display: flex; justify-content: space-between; align-items: baseline; }
	.afx.afx .afx-codes__head .afx-postmark { width: 72px; height: 72px; font-size: 8.5px; }
}

/* Editor: no motion, keep blocks easy to select */
.editor-styles-wrapper .afx.afx .afx-reveal .afx-code { filter: none; }
.editor-styles-wrapper .afx.afx .wp-block-button__link:hover { transform: none; }
.editor-styles-wrapper .afx.afx .afx-takeoff__img img, .editor-styles-wrapper .afx.afx .afx-board__status a { animation: none; }
.editor-styles-wrapper .afx.afx .afx-meter { --v: 80%; }
.editor-styles-wrapper .afx.afx .afx-bar { --w: 70%; }

@media (prefers-reduced-motion: reduce) {
	.afx.afx *, .afx.afx *::before, .afx.afx *::after, .wp-block-button[class*="is-style-afx-"] .wp-block-button__link { animation: none !important; transition: none !important; }
}
