@import url("/site-inter-font.css?v=4.1");

/* Plum, heather and warm stone. Photographs and product colours stay untouched. */
html[data-theme="dark"] {
  color-scheme:dark;
  --ink:#f4eef5; --muted:#c6baca; --purple:#c9a8ef; --primary:#c9a8ef;
  --purple-deep:#e4cff7; --lavender:#342a3d; --line:#66576f;
  --paper:#241d2c; --wash:#17141c;
}
html[data-theme="dark"] :is(body,.mirts-site,.mobile-home) { background:var(--wash); color:var(--ink); }
html[data-theme="dark"] :is(.site-header,.site-footer,.mobile-flyout,.site-nav,.cookie-consent) { background:#211b29; color:var(--ink); border-color:var(--line); }
html[data-theme="dark"] #mirtsSite :is(.event-merch-concept,.catalog-overview,.legal-hero,.legal-document,.ai-workspace,.ai-workspace-grid,.ai-preview,.ai-preview-empty,.constructor-preview-panel,.constructor-controls,.constructor-stage,.portfolio-card,.product-card,.product-detail-card,.product-detail-description,.tshirt-comparison,.catalog-overview-card,.filter-panel,.contact-card,.about-card,.checkout-panel,.order-summary) {
  background:var(--paper); color:var(--ink); border-color:var(--line);
}
html[data-theme="dark"] #mirtsSite :is(.event-merch-steps li,.event-step,.product-design-choices>a,.ai-dialog,.ai-result,.ai-upload,.ai-print-settings,.ai-scenario-picker,.ai-preview dl,.ai-reference-draft,.ai-reference-upload,.ai-design-step,.ai-workspace-step,.ai-production-note,.ai-dtf-studio-page .is-fixed-technology select) {
  background:#302637; color:var(--ink); border-color:var(--line);
}
html[data-theme="dark"] #mirtsSite :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select) {
  background:#1d1824; color:var(--ink); border-color:#80708a; caret-color:#e4cff7;
}
html[data-theme="dark"] #mirtsSite :is(input,textarea)::placeholder { color:#b5a8bd; opacity:1; }
html[data-theme="dark"] #mirtsSite :is(input,textarea,select):focus-visible { outline:2px solid #c9a8ef; outline-offset:3px; }
html[data-theme="dark"] #mirtsSite :is(.eyebrow,.product-tier-note,.breadcrumbs,.site-hours,.footer-column,.footer-legal,.legal-document p,.legal-hero p,.ai-preview-empty p,.event-merch-copy p) { color:var(--muted); }
html[data-theme="dark"] #mirtsSite :is(h1,h2,h3,h4,label,.product-detail-price strong,.product-color-row-title,.ai-preview h3,.ai-dialog h3,.footer-column>b) { color:var(--ink); }
html[data-theme="dark"] #mirtsSite :is(.button,.ai-dialog-actions>button:first-child,.ai-trial-tools button,.ai-preview nav button,.product-quantity-counter button,.site-icon-link,.theme-toggle,.site-menu-toggle) {
  background:#3e2e50; color:#f4eef5; border-color:#8e77a1;
}
html[data-theme="dark"] #mirtsSite :is(.button,.ai-dialog-actions>button:first-child,.ai-trial-tools button,.ai-preview nav button):hover { background:#503c65; color:#fff; }
html[data-theme="dark"] #mirtsSite :is(button,a,input,select,textarea):focus-visible { outline:2px solid #e0c0ff; outline-offset:3px; }
html[data-theme="dark"] #mirtsSite :is(.ai-preview nav button.active,.button.primary,.product-detail-actions button) { background:#725190; color:#fff; border-color:#c9a8ef; }
html[data-theme="dark"] #mirtsSite :is(.event-merch-concept .event-hero-promo,.event-discount,.product-detail-price [data-product-old-price]+[data-product-unit-price],.catalog-card-current-price) { color:var(--mirts-brand-orange,#ff6b28); }
html[data-theme="dark"] #mirtsSite .product-detail-page[data-product-model="shopper-cotton"] .product-color-minimum {
  background-color:var(--site-raised,#302637);
  color:#fff!important;
}
html[data-theme="dark"] #mirtsSite :is(.event-deadline-dialog,.event-email-dialog,.product-order-dialog,.product-media-dialog,dialog) { background:#241d2c; color:var(--ink); border-color:#80708a; box-shadow:0 20px 70px #0008; }
html[data-theme="dark"] dialog::backdrop { background:#0d0912b3; }
html[data-theme="dark"] #mirtsSite :is(table,thead,tbody,th,td) { border-color:var(--line); }
html[data-theme="dark"] #mirtsSite :is(thead,.tshirt-comparison thead,.ai-workspace-step-title) { background:#342a3d; color:#e4cff7; }
html[data-theme="dark"] #mirtsSite :is(th,td) { color:var(--ink); }
html[data-theme="dark"] .site-footer a:hover { color:#e4cff7; }
html[data-theme="dark"] #mirtsSite :is(.button,button):disabled { opacity:.6; }

#siteMaxContact {
  width: min(28rem, calc(100% - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
}
#siteMaxContact::backdrop { background: #170d22a6; }
#siteMaxContact form { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
#siteMaxContact h2 { margin: 0; }
#siteMaxContact input { width: 100%; border: 1px solid var(--line); border-radius: .55rem; padding: .55rem .75rem; }
.site-max-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.site-max-actions :is(a, button), .site-max-close {
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--lavender);
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.site-max-status:not(:empty) { display: block; margin-top: .65rem; }
.hero-channel-links button.channel-max { cursor: pointer; }
.hero-channel-links button.channel-max img { width: 24px; height: 24px; object-fit: contain; }

.hero-channel-links button.channel-max { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.hero-channel-links button.channel-max img { display: block; max-width: 70%; max-height: 70%; }

#mirtsSite .ai-preview-composer { display: grid; gap: .75rem; }
#mirtsSite .ai-plan-price-time { display: grid; justify-items: center; gap: .15rem; white-space: normal; }
#mirtsSite .ai-plan-free { background: #ffe5ce; color: #752d14; }
#mirtsSite .ai-scenario-options > button { min-width: 0; }
#mirtsSite .ai-scenario-options > button small { overflow-wrap: anywhere; }

html[data-theme="dark"] #mirtsSite :is(.mg-journal,.mg-service,.mg-service>summary,.mg-service-body,.mg-article,.mg-article[open],.mg-article-body) {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] #mirtsSite :is(.mg-heading,.mg-service-body,.mg-article-body) :is(p,li) { color: var(--muted); }
html[data-theme="dark"] #mirtsSite :is(.mg-article,.mg-service) :is(summary,a) { color: var(--ink); }
html[data-theme="dark"] #mirtsSite .ai-scenario-options > button {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] #mirtsSite .ai-scenario-options > button[aria-pressed="true"] {
  background: #49365b;
  color: #fff;
  border-color: #c9a8ef;
}
html[data-theme="dark"] #mirtsSite .ai-plan-free { background: #523527; color: #ffddbe; }

/* Public pages use the same three surfaces, including independently styled sections. */
html[data-theme="dark"] #mirtsSite {
  --site-raised: #302637;
  --site-selected: #49365b;
  --site-accent: var(--mirts-brand-orange,#ff6b28);
  --site-action: var(--mirts-brand-orange,#ff6b28);
  --site-action-ink: #30170e;
  --orange: var(--site-accent);
}
html[data-theme="dark"] #mirtsSite :is(.event-catalog-section,.home-portfolio-link,.content-card,.checkout-layout article,.mobile-request-form,.filter-tabs,.filter-submenu,.catalog-item,.tshirt-model-card,.site-page-card) {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite :is(.event-order-steps li,.event-audience span,.event-catalog-section .category,.event-catalog-section .category-label,.home-unified-cta,.event-deadline,.mobile-home-header,.mobile-card,.about-cta-side) {
  background: var(--site-raised);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite :is(.event-order-steps strong,.event-audience b,.event-deadline strong,.event-catalog-section .category-label) { color: var(--ink); }
html[data-theme="dark"] #mirtsSite :is(.event-order-steps small,.event-audience,.event-merch-description,.event-deadline p,.event-deadline small,.category-count) { color: var(--muted); }
html[data-theme="dark"] #mirtsSite .event-order-steps b { color: var(--ink); }
html[data-theme="dark"] #mirtsSite .event-order-steps li > span { background: var(--site-selected); color: var(--ink); }
html[data-theme="dark"] #mirtsSite .event-actions { background: transparent; }
html[data-theme="dark"] #mirtsSite :is(.event-button-light,.filter-tabs a,.filter-tabs button) { background: var(--site-raised); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] #mirtsSite :is(.event-button-light,.filter-tabs a,.filter-tabs button):hover { background: var(--site-selected); color: var(--ink); }
html[data-theme="dark"] #mirtsSite :is(.button-orange,.event-button-accent,.event-catalog-section .home-section-action .button) {
  background: var(--site-action);
  color: var(--site-action-ink);
  border-color: var(--site-action);
}
html[data-theme="dark"] #mirtsSite :is(.button-orange,.event-button-accent,.event-catalog-section .home-section-action .button):hover {
  background: var(--mirts-brand-orange,#ff6b28);
  color: var(--site-action-ink);
}
html[data-theme="dark"] #mirtsSite :is(.event-sale-banner,.event-catalog-section .category-product-accent,.catalog-overview-card .catalog-card-current-price) { color: var(--site-accent); }
html[data-theme="dark"] #mirtsSite .catalog-overview-card .catalog-card-current-price { color: var(--site-accent) !important; }
html[data-theme="dark"] #mirtsSite :is(.event-catalog-section .event-reserved-category .category-visual,.product-media-dialog .product-caption) {
  background: var(--site-raised);
  color: var(--muted);
}
html[data-theme="dark"] #mirtsSite input[type="file"]::file-selector-button {
  background: var(--site-selected);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* The promotional stylesheet forces these light styles in both modes. */
html[data-theme="dark"] #mirtsSite .event-actions .event-button-light {
  background: var(--site-raised) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
html[data-theme="dark"] #mirtsSite .event-actions .event-button-light:hover {
  background: var(--site-selected) !important;
}
html[data-theme="dark"] #mirtsSite :is(.event-deadline .button,.event-actions .event-button-accent) {
  background: var(--site-action) !important;
  color: var(--site-action-ink) !important;
  border-color: var(--site-action) !important;
}
html[data-theme="dark"] #mirtsSite :is(.event-deadline .button,.event-actions .event-button-accent):hover {
  background: var(--mirts-brand-orange,#ff6b28) !important;
}
html[data-theme="dark"] #mirtsSite .ai-scenario-options > button .ai-plan-free { background: #523527 !important; color: #ffddbe !important; }
html[data-theme="dark"] #mirtsSite .ai-scenario-options > button[aria-pressed="true"] { background: var(--site-selected) !important; }

#dariaSavedPagePanel > .daria-saved-page-close {
 inset-inline-end:max(24px,calc(env(safe-area-inset-right) + 14px)); top:10px;
 display:grid; place-items:center; width:36px; height:36px; border-radius:50%;
 background:#fff; color:#3d2d51; border:1px solid #cec2dd; box-shadow:0 2px 7px #2e17421a;
 font:600 23px/1 system-ui,sans-serif;
}
html[data-theme="dark"] #dariaSavedPagePanel > .daria-saved-page-close {
 background:#30263e; color:#f3e8ff; border-color:#705a86; box-shadow:0 2px 7px #10091b66;
}
#dariaSavedPagePanel > .daria-saved-page-close:focus-visible { outline:2px solid currentColor; outline-offset:2px; }

/* mirts-composer-close-v2 */
#dariaSavedPagePanel > .daria-saved-page-close { right:max(24px,calc(env(safe-area-inset-right) + 14px))!important; width:36px!important; height:36px!important; background:#fff!important; color:#3d2d51!important; border-color:#cec2dd!important; }
html[data-theme=dark] #dariaSavedPagePanel > .daria-saved-page-close { background:#30263e!important; color:#f3e8ff!important; border-color:#705a86!important; }

/* Keep preview surfaces and controls in Darya's dark palette. */
html[data-theme="dark"] #mirtsSite .constructor-workbench {
  --constructor-surface:#201a28;
  --constructor-raised:#2d2337;
  --constructor-selected:#473254;
  --constructor-text:#f4eef5;
  --constructor-muted:#d0c3d6;
  --constructor-line:#655472;
  color:var(--constructor-text);
}
html[data-theme="dark"] #mirtsSite .constructor-workbench :is(.constructor-controls,.constructor-preview-panel,.constructor-stage,.constructor-review-dialog,.constructor-requirements-dialog) {
  background:var(--constructor-surface);
  color:var(--constructor-text);
  border-color:var(--constructor-line);
}
html[data-theme="dark"] #mirtsSite .constructor-workbench .constructor-preview-placeholder,
html[data-theme="dark"] #mirtsSite .constructor-workbench .constructor-stage > p:not(.constructor-preview-placeholder) {
  background:var(--constructor-raised);
  color:var(--constructor-muted);
  border-color:var(--constructor-line);
}
html[data-theme="dark"] #mirtsSite .constructor-workbench .constructor-preview-placeholder {
  font-size:clamp(13px,1.4vw,16px);
  line-height:1.5;
}
html[data-theme="dark"] #mirtsSite .constructor-workbench :is(.constructor-source-picker > span,.constructor-source-note,.constructor-text-rule,.constructor-upload-note,.constructor-instruction-link,.constructor-size-guide-source,.constructor-limit,.constructor-requirements-dialog p,.constructor-requirements-dialog li) {
  color:var(--constructor-muted);
}
html[data-theme="dark"] #mirtsSite .constructor-workbench :is(.constructor-source-picker > button,.constructor-add-zone,.constructor-zone-row,.constructor-requirements-open,.constructor-add-order-item,.constructor-dialog-close,.constructor-order-items > *) {
  background:var(--constructor-raised);
  color:var(--constructor-text);
  border-color:var(--constructor-line);
}
html[data-theme="dark"] #mirtsSite .constructor-workbench :is(.constructor-source-picker > button[aria-pressed="true"],.constructor-zone-row.is-active) {
  background:var(--constructor-selected);
  color:var(--constructor-text);
  border-color:#bc97df;
}
html[data-theme="dark"] #mirtsSite .constructor-workbench :is(.constructor-limit.is-warning,.constructor-text-rule.is-warning) {
  color:#ffc291;
}
html[data-theme="dark"] #mirtsSite :is(.constructor-intro,.constructor-flow,.constructor-stepbar,.ai-payment,.ai-reference-field,.ai-draft-preview,.ai-revision-help,.ai-voice-button,.ai-studio .ai-placement-picker details) {
  color:var(--ink);
  background-color:var(--paper);
  border-color:var(--line);
}
html[data-theme="dark"] #mirtsSite :is(.constructor-intro,.constructor-flow,.constructor-stepbar) :is(a,span,button) {
  color:var(--ink);
  background-color:#302637;
  border-color:var(--line);
}
html[data-theme="dark"] #mirtsSite :is(.constructor-flow,.constructor-stepbar) :is([aria-current="step"],.is-active) {
  color:#241427;
  background:#ffab7c;
  border-color:#ffab7c;
}

html[data-theme="dark"] #mirtsSite .constructor-progress :is(span,a,summary),
html[data-theme="dark"] #mirtsSite .constructor-technology-picker nav {
  background:#2d2337;
  color:#e5d8ec;
  border-color:#655472;
}
html[data-theme="dark"] #mirtsSite .constructor-progress .done {
  background:#473254;
  color:#f4eef5;
  border-color:#9679ac;
}
html[data-theme="dark"] #mirtsSite .constructor-progress .active {
  background:#ffab7c;
  color:#241427;
  border-color:#ffab7c;
}
html[data-theme="dark"] #mirtsSite .channel-link.channel-max {
  background:#342443;
  border-color:#8265a1;
  color:#f4eef5;
}
html[data-theme="dark"] #mirtsSite input[type="checkbox"] {
  background-color:#2d2337;
  accent-color:#b897dd;
}

/* Homepage contact groups share one surface and one set of messenger controls. */
#mirtsSite .home-page .event-actions > .button {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
#mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) {
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px 10px;
}
#mirtsSite .home-page .event-contact-action {
  padding: 5px 10px;
  font-size: 12px;
}
#mirtsSite .home-page .about-cta-side {
  min-width: 0;
}
#mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) > span {
  white-space: nowrap;
}
#mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) .hero-channel-links {
  max-width: 100%;
  flex-wrap: wrap;
  gap: 5px;
}
#mirtsSite .home-page .event-contact-action .channel-link {
  width: 38px;
  min-width: 38px;
  height: 38px;
}
html[data-theme="dark"] #mirtsSite .home-page .event-contact-action.event-contact-action {
  background-color: var(--mirts-brand-orange) !important;
  border-color: var(--mirts-brand-orange) !important;
  color: var(--mirts-on-orange, #211335) !important;
}
html[data-theme="dark"] #mirtsSite .home-page .about-cta-messengers {
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) .channel-link {
  background-color: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) .channel-link:is(a,button):hover {
  background-color: var(--site-selected);
}
html[data-theme="dark"] #mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) .channel-telegram {
  color: #a6d9f0;
}
html[data-theme="dark"] #mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) .channel-whatsapp {
  color: #a0ddbd;
}
@media (max-width: 640px) {
  #mirtsSite .home-page .event-contact-action .channel-link {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  #mirtsSite .home-page .about-cta-messengers {
    align-items: center;
    flex-direction: row;
  }
}

html[data-theme="dark"] #mirtsSite .home-portfolio-link .button {
  background: var(--site-raised) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
html[data-theme="dark"] #mirtsSite .home-portfolio-link .button:hover {
  background: var(--site-selected) !important;
  border-color: var(--purple) !important;
}
html[data-theme="dark"] #mirtsSite :is(.theme-toggle,.site-menu-toggle,.ai-scenario-options > button,.constructor-workbench .constructor-source-picker > button,.constructor-workbench .constructor-requirements-open):enabled:hover,
html[data-theme="dark"] #mirtsSite a.site-icon-link:hover {
  background-color: var(--site-selected);
  border-color: var(--purple);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite .ai-scenario-options > button[aria-pressed="true"]:enabled:hover {
  background-color: #574369 !important;
}
html[data-theme="dark"] #mirtsSite .event-catalog-section .home-section-action .button {
  color: var(--site-action-ink) !important;
}

/* Shared dark palette for informational pages and the constructor picker. */
html[data-theme="dark"] #mirtsSite :is(.event-about-page .hero-approved-workbench,.about-faq,.event-order-section,.event-order-info,.event-contact-card-v2,.constructor-method-card,.unified-portfolio,.mirts-route-trail) {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite :is(.about-values-grid article,.about-story-grid article,.about-faq-list details,.event-order-info.event-order-delivery,.event-order-section article,.constructor-note,.event-contact-list-v2 > *) {
  background: var(--site-raised);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite :is(.event-about-page,.event-order-page,.event-contact-page-v2,.legal-document) :is(p:not(.kicker),li,small),
html[data-theme="dark"] #mirtsSite .legal-hero span {
  color: var(--muted);
}
html[data-theme="dark"] #mirtsSite :is(.about-faq-list summary,.mirts-route-trail strong,.constructor-note b) { color: var(--ink); }
html[data-theme="dark"] #mirtsSite :is(.mirts-route-trail a,.event-order-section .event-inline-chat,.constructor-note a) { color: var(--purple); }
html[data-theme="dark"] #mirtsSite :is(.mirts-route-trail a,.constructor-note a):hover { color: var(--ink); text-decoration: underline; }
html[data-theme="dark"] #mirtsSite :is(.constructor-method-card,.about-faq-list details,.mg-read):hover {
  background-color: var(--site-selected);
  border-color: var(--purple);
}
html[data-theme="dark"] #mirtsSite .mg-read {
  background-color: var(--site-raised);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite :is(.button.button-orange,.button.event-button-accent,.button.event-order-primary) {
  color: var(--site-action-ink) !important;
}
html[data-theme="dark"] #mirtsSite .button.event-order-primary {
  background-color: var(--site-action);
  border-color: var(--site-action);
}
html[data-theme="dark"] #mirtsSite .button.event-order-primary:hover {
  background-color: var(--site-accent);
  border-color: var(--site-accent);
}
html[data-theme="dark"] #mirtsSite .constructor-progress .active {
  color: var(--site-action-ink) !important;
}
html[data-theme="dark"] #dariaSavedPagePanel { background-color: var(--wash) !important; }

#mirtsSite .event-order-page :is(.event-order-section,.event-order-direct-contacts,.event-order-info) a:not(.button):not(.channel-link):hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
html[data-theme="dark"] #mirtsSite .event-order-page .channel-link {
  background-color: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite .event-order-page .channel-link:is(a,button):hover {
  background-color: var(--site-selected);
  border-color: var(--purple);
}
html[data-theme="dark"] #mirtsSite .event-order-page .channel-telegram { color: #a6d9f0; }
html[data-theme="dark"] #mirtsSite .event-order-page .channel-whatsapp { color: #a0ddbd; }

html[data-theme="dark"] #dariaSavedPagePanel > .daria-saved-page-close:hover {
  background-color: #453558 !important;
  border-color: #b19ac9 !important;
}
html[data-theme="dark"] #dariaSavedPagePanel > .daria-saved-page-close:active {
  background-color: #514065 !important;
}
@media (max-width: 600px) {
  #dariaSavedPagePanel > .daria-saved-page-close {
    inset-inline-end: max(8px, env(safe-area-inset-right)) !important;
  }
}

html[data-theme="dark"] #mirtsSite :is(.event-order-page .event-order-hero,.event-contact-page-v2 .event-contact-hero-v2,.event-contact-page-v2 .event-contact-grid-v2,.constructor-page .constructor-intro) {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite .event-about-page .hero-messengers > span {
  color: var(--muted);
}
#mirtsSite .event-contact-page-v2 a:not(.button):not(.channel-link):hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

html[data-theme="dark"] #mirtsSite .about-story-grid article > span {
  background-color: var(--site-selected);
  color: var(--ink);
}
html[data-theme="dark"] #mirtsSite .unified-portfolio .portfolio-yandex-widget > a {
  color: var(--muted) !important;
}

/* Desktop header controls */
@media (width > 980px) {
  #mirtsSite > .site-header {
    grid-template-columns: 160px minmax(0, 1fr) minmax(156px, 184px) 44px 44px;
  }
}

/* Responsive type and controls in the event hero. */
#mirtsSite .home-page .event-merch-intro h1 {
  font-size: clamp(30px, 3.65vw, 48px);
  line-height: 1.22;
  letter-spacing: -.035em;
}
#mirtsSite .home-page .event-merch-description {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
}
#mirtsSite .home-page .event-order-steps {
  gap: 12px;
}
#mirtsSite .home-page .event-order-steps li {
  gap: 8px;
  min-width: 0;
}
#mirtsSite .home-page .event-order-steps b {
  font-size: 14px;
  line-height: 1.28;
}
#mirtsSite .home-page .event-order-steps small {
  font-size: 13px;
  line-height: 1.38;
}
#mirtsSite .home-page .event-merch-intro > .event-deadline {
  align-self: start;
  justify-content: flex-start;
  padding-block: 20px;
}
#mirtsSite .home-page .event-deadline h2 {
  font-size: clamp(22px, 2.15vw, 28px);
  line-height: 1.22;
}
#mirtsSite .home-page .event-deadline p {
  font-size: 14px;
  line-height: 1.5;
}
#mirtsSite .home-page .event-deadline > small {
  font-size: 12px;
  line-height: 1.4;
}
#mirtsSite .home-page :is(.event-actions > .button, #eventDeadlineOpen) {
  padding-block: 9px;
  font-size: 13px;
  line-height: 1.35;
  text-wrap: balance;
}
#mirtsSite .home-page .event-contact-action > span {
  font-size: 13px;
  line-height: 1.35;
}

/* MAX shares the same outer circle as the other contact controls. */
#mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) {
  --home-channel-surface: #fff;
  --home-channel-line: #e2d5ed;
  --home-channel-hover: #f3ebfa;
}
html[data-theme="dark"] #mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) {
  --home-channel-surface: #473752;
  --home-channel-line: #796584;
  --home-channel-hover: #594469;
}
html #mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) .hero-channel-links .channel-link {
  background: var(--home-channel-surface);
  border-color: var(--home-channel-line);
}
html #mirtsSite .home-page :is(.event-contact-action, .about-cta-messengers) .hero-channel-links .channel-link:is(a, button):hover {
  background: var(--home-channel-hover);
}
@media (max-width: 900px) {
  #mirtsSite .home-page .event-merch-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
@media (min-width: 681px) and (max-width: 980px) {
  #mirtsSite .home-page .event-order-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 355px) {
  #mirtsSite .home-page .event-merch-intro h1 { font-size: 28px; }
}


/* Keep the same tracks for order steps and the actions directly below them. */
#mirtsSite .home-page .event-merch-concept {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(260px,.55fr);
  column-gap:34px;
}
#mirtsSite .home-page .event-merch-intro { display:contents; }
#mirtsSite .home-page .event-intro-copy { grid-area:1 / 1; min-width:0; }
#mirtsSite .home-page .event-deadline { grid-area:1 / 2; align-self:start; }
#mirtsSite .home-page .event-actions { grid-area:2 / 1 / 3 / -1; margin-top:12px; }
#mirtsSite .home-page .event-audience { grid-column:1 / -1; }
#mirtsSite .home-page :is(.event-order-steps,.event-actions) {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
#mirtsSite .home-page :is(.event-order-steps > li,.event-actions > *) { min-inline-size:0; }
#mirtsSite .home-page .event-actions > .button {
  width:auto;
  min-height:68px;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:center;
}
#mirtsSite .home-page .event-actions > .event-contact-action {
  width:auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  min-height:68px;
  padding:7px 6px;
  background:var(--mirts-brand-orange,#ff6b28);
  border-color:var(--mirts-brand-orange,#ff6b28);
  color:#211335;
}
html[data-theme='dark'] #mirtsSite .home-page .event-actions > .event-contact-action {
  background:var(--mirts-brand-orange,#ff6b28);
  border-color:var(--mirts-brand-orange,#ff6b28);
  color:#211335;
}
#mirtsSite :is(.hero-channel-links,.contact-channel-links) { max-inline-size:100%; min-inline-size:0; flex-wrap:wrap; }
#mirtsSite .home-page .event-actions .hero-channel-links { justify-content:center; gap:5px; }
#mirtsSite .home-page .event-actions .channel-link {
  width:clamp(32px,3.55vw,38px);
  min-width:clamp(32px,3.55vw,38px);
  height:clamp(32px,3.55vw,38px);
}
@media (min-width:981px) {
  #mirtsSite .home-page .event-actions {
    grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) max(260px,calc((100% - 34px)*.55/2.1));
    gap:10px;
  }
  #mirtsSite .home-page .event-actions > .button {
    min-height:48px;
    font-size:12px;
    white-space:nowrap;
  }
  #mirtsSite .home-page .event-actions > .event-contact-action {
    flex-flow:row nowrap;
    gap:8px;
    min-height:48px;
    padding:5px 6px;
  }
  #mirtsSite .home-page .event-actions .hero-channel-links { flex-wrap:nowrap; }
}
@media (max-width:900px) {
  #mirtsSite .home-page .event-merch-concept { grid-template-columns:minmax(0,1fr); }
  #mirtsSite .home-page .event-deadline { grid-area:2 / 1; margin-top:16px; }
  #mirtsSite .home-page .event-actions { grid-area:3 / 1; }
  #mirtsSite .home-page .event-audience { grid-row:4; }
}
@media (max-width:680px) {
  #mirtsSite .home-page :is(.event-order-steps,.event-actions) { grid-template-columns:minmax(0,1fr); gap:8px; }
  #mirtsSite .home-page .event-actions > .event-contact-action { flex-flow:row wrap; gap:8px; }
  #mirtsSite .home-page .event-actions .channel-link { width:44px; min-width:44px; height:44px; }
}
