/* TW PAY FX 2026 — additive presentation only. Remove these two assets to roll back.
   Specific !important declarations only override the existing v6/v7 important rules. */
html.fx26 {
  --fx26-brand:#7c5cff; --fx26-action:#6240ce; --fx26-ink:#172544;
  --fx26-muted:#56627d; --fx26-line:#e5e3f0; --fx26-soft:#f4f1fe;
  --fx26-shadow:0 8px 28px rgb(44 34 89 / .065);
  --fx26-radius:24px; --fx26-ease:cubic-bezier(.2,.8,.2,1);
}
html.fx26 body.twm-body {
  background:radial-gradient(ellipse at 5% 0%,#eeeaff,transparent 50%),
    radial-gradient(ellipse at 100% 25%,#f5eff9,transparent 50%),#f7f8fc !important;
  color:var(--fx26-ink); -webkit-tap-highlight-color:transparent;
}
html.fx26 #twm-app {color:var(--fx26-ink);font-variant-numeric:tabular-nums;}
html.fx26 #twm-app :is(.twm-main,.mx-content,.sc-main,.sc-grid,.s11b-main,.rx-grid,.cf-grid)>* {min-width:0;}
html.fx26 #twm-app :is(h1,h2,h3,.twm-h1) {text-wrap:balance;letter-spacing:-.025em;}
html.fx26 #twm-app :is(.twm-hint,.mx-small,.mx-ahead p,.twm-sub,.v7-sub) {color:var(--fx26-muted);line-height:1.6;}
html.fx26 #twm-app :is(.twm-card,.mx-card,.sc-card,.rx-saved,.rx-form,.cf-card) {
  border:1px solid var(--fx26-line);border-radius:var(--fx26-radius);
  background:#fff;box-shadow:var(--fx26-shadow);
}
/* Neutral product surfaces give the existing photography room to breathe. */
html.fx26 #twm-app :is(.sc-pc,.shp-pc,.tw5-pc,.h2-pc) {
  border:1px solid var(--fx26-line);border-radius:20px !important;
  box-shadow:0 4px 16px rgb(44 34 89 / .045) !important;
  transition:transform 180ms var(--fx26-ease),opacity 180ms ease;
}
html.fx26 #twm-app .sc-pimg {
  background:linear-gradient(145deg,#f7f8fc,#f0edfb) !important;
  border-radius:14px !important;isolation:isolate;
}
html.fx26 #twm-app .sc-pimg::before {opacity:0;}
html.fx26 #twm-app :is(.sc-price,.sc-pr-row strong,.s11b-price,.cf-get .v,#twm-get,.hx-big,.hmx .rate .v) {
  font-variant-numeric:tabular-nums;letter-spacing:-.025em;
}
html.fx26 #twm-app .sc-price {color:#5a35bd !important;}
html.fx26 #twm-app :is(.hmx .pc .p,.h2-pc .price,.tw5-pc .price,.s11b-price,.mx-price) {color:#5835b4 !important;}
html.fx26 #twm-app :is(.h2-pc .pr,.tw5-pc .pr,.shp-pc .pr) {color:#5835b4 !important;}
html.fx26 #twm-app :is(.rx-form .twm-input,.rx-form .rx-sel,#twm-holder,#twm-bank,#twm-acct,#twm-memo,#mx-logout) {min-height:48px !important;}
html.fx26 #twm-app .cf-terms {min-height:44px;align-items:center;}
/* Stronger than the compact mobile theme's later price/link overrides. */
html.fx26 body #twm-app .hmx .shop .pc .p {color:#5835b4 !important;}
html.fx26 body #twm-app :is(.hmx .shop .sh a,.cf-terms a) {color:#6240ce !important;}
html.fx26 body #twm-app .twm-steps li.done {color:#126147;}
html.fx26 #twm-app :is(.sc-pname,.shp-pname,.hmx .pc .n) {overflow-wrap:anywhere;}
html.fx26 #twm-app :is(.sc-bnpl-pill,.sc-brand) {color:#5835b4;}
/* The rate is a bank-card surface. Original rate strings and numbers are untouched. */
html.fx26 #twm-app :is(.hmx .rate,.tw5-rate.hx-rate) {
  position:relative;isolation:isolate;overflow:hidden;
  background:radial-gradient(ellipse at 100% 0%,#9c80ff55,transparent 65%),
    linear-gradient(125deg,#332664,#53408c) !important;
  border:1px solid #ffffff30 !important;box-shadow:0 12px 28px #47347725 !important;
  border-radius:24px !important;color:#fff;
}
html.fx26 #twm-app :is(.hmx .rate,.tw5-rate.hx-rate)::after {
  content:"";position:absolute;z-index:-1;inset:-80% -50%;pointer-events:none;
  background:linear-gradient(110deg,transparent 35%,#ffffff12 48%,transparent 60%);
  transform:translateX(-25%);opacity:0;
}
html.fx26 #twm-app :is(.hmx .rate .rt,.hmx .rate .rt b,.hmx .rate .v,.hx-rate .pair,.hx-rate .pair b,.hx-big) {color:#fff !important;}
html.fx26 #twm-app :is(.hmx .rate .u,.hx-at) {color:#e5dfff !important;opacity:1;}
html.fx26 #twm-app :is(.hmx .rate .go,.tw5-send) {
  background:#fff !important;color:#493082 !important;box-shadow:none !important;
  border:1px solid #ffffff66;border-radius:16px;min-height:44px;
}
html.fx26 #twm-app .hmx .rate {padding:16px !important;gap:10px;}
html.fx26 #twm-app .hmx .rate .v {font-size:clamp(17px,4.6vw,23px) !important;font-weight:900;line-height:1.4;}
html.fx26 #twm-app .hmx .rate .go img {filter:brightness(.35);}
html.fx26 #twm-app .hmx .rate .rt {min-width:0;}
html.fx26 #twm-app .hmx .rate .go {font-size:13px;padding:10px;flex-shrink:0;}
/* Compact, readable six-service grid — original icon assets are retained. */
html.fx26 #twm-app :is(.hmx .tl .t,.tw5-svc li a) {
  border:1px solid #e9e5f5;border-radius:20px;background:#fff;
  box-shadow:0 3px 12px #30206106;min-height:60px;
  transition:transform 180ms var(--fx26-ease),opacity 180ms ease;
}
html.fx26 #twm-app .hmx .tl .t b {font-size:12px;line-height:1.35;overflow-wrap:normal;}
html.fx26 #twm-app .hmx .tl .q {flex-shrink:0;}
html.fx26 #twm-app :is(.tw-partner-pill,.shp-partner,.hmx .pt a) {border-color:var(--fx26-line);}
html.fx26 #twm-app :is(.tw-partner-pill img,.shp-partner img) {object-fit:contain;}
/* Buttons/fields share a quiet, accessible product language. Never change disabled state. */
html.fx26 #twm-app :is(button,.twm-back) {min-height:44px;min-width:44px;}
html.fx26 #twm-app :is(.twm-btn,.v7-btn,.s11b-buy,.tw5-send) {
  min-height:48px;border-radius:16px;line-height:1.35;white-space:normal;
  transition:transform 160ms var(--fx26-ease),opacity 160ms ease;
}
html.fx26 #twm-app .twm-btn:not(.ghost):not(:disabled) {
  background:linear-gradient(120deg,#6140ca,#7546d6);color:#fff;
  box-shadow:0 6px 16px #6240ce24;
}
html.fx26 #twm-app :is(input.twm-input,select.twm-input,textarea.twm-input,.twm-select,.rx-sel) {
  min-height:48px;font-size:16px;line-height:1.5;border-radius:14px;
  background:#fbfbfe;border:1px solid #d8dbea;color:var(--fx26-ink);
}
html.fx26 #twm-app input.twm-input:focus,
html.fx26 #twm-app select.twm-input:focus {border-color:var(--fx26-brand);box-shadow:0 0 0 3px #7c5cff1c;}
html.fx26 :is(#twm-app,.twm-sheet) :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid #6240ce !important;outline-offset:3px;
}
html.fx26 #twm-app :is(button,a)[aria-disabled=true],
html.fx26 #twm-app button:disabled {cursor:not-allowed;}
html.fx26 #twm-app .twm-steps {gap:8px;margin-block:16px 24px;}
html.fx26 #twm-app .twm-steps li {min-width:0;line-height:1.4;font-size:12px;}
html.fx26 #twm-app .twm-steps .dot {box-shadow:0 0 0 5px #f1edfd;}
html.fx26 #twm-app .twm-steps .on .dot {background:var(--fx26-action);color:#fff;}
html.fx26 #twm-app .twm-steps .done .dot {background:#e7f5f0;color:#126147;}
html.fx26 .twm-sheet {border-radius:28px 28px 0 0;box-shadow:0 -16px 48px #201b4630;}
html.fx26 .twm-sheet :is(input,button) {min-height:44px;}
html.fx26 .twm-sheet #twm-bl button {padding:12px;border-radius:14px;}
html.fx26 .twm-toast {max-width:calc(100vw - 32px);border-radius:16px;line-height:1.5;box-shadow:0 12px 36px #201b4628;}
/* Only existing, honest loading states get a skeleton; no fabricated content or timer. */
html.fx26 .twm-skel {position:relative;overflow:hidden;background:#eceaf5;border-radius:10px;}
html.fx26 .twm-skel::after {content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,#ffffffb0,transparent);transform:translateX(-100%);}
html.fx26 #twm-app .fx26-loading {position:relative;min-height:96px;}
html.fx26 #twm-app .fx26-loading::after {content:"";display:block;width:100%;height:44px;margin-top:16px;border-radius:12px;background:linear-gradient(100deg,#efedf7 25%,#f7f6fc 50%,#efedf7 75%);}
html.fx26 #twm-app .mx-content>.mx-card:has(>p[role=status])::after {content:"";display:block;width:100%;height:44px;margin-top:16px;border-radius:12px;background:#efedf7;}
/* Do not combine old reveal/hover timelines with the new finite transitions. */
html.fx26 #twm-app .fx-reveal {opacity:1 !important;transform:none !important;animation:none !important;}
html.fx26 #twm-app :is(.fx-wave,.v7-float,.v7-float2) {animation:none;}
html.fx26 #twm-app :is(.sc-pc,.shp-pc,.tw5-pc,.h2-pc,.hmx .tl .t) .fx26-ripple {display:none;}
.fx26-ripple {position:absolute;pointer-events:none;border-radius:50%;background:currentColor;opacity:0;z-index:2;}
html.fx26 .fx26-feedback {isolation:isolate;}
html.fx26 .fx26-feedback-static {position:relative;}
html.fx26 #twm-app .fx26-reveal {opacity:1;}
@media (hover:hover) and (pointer:fine) {
  html.fx26 #twm-app :is(.sc-pc,.shp-pc,.tw5-pc,.h2-pc):hover {transform:translateY(-3px);}
  html.fx26 #twm-app :is(.hmx .tl .t,.tw5-svc li a):hover {transform:translateY(-2px);}
}
/* Only transform/opacity animate. No per-frame layout, filters, shadows or background-position. */
@media (prefers-reduced-motion:no-preference) {
  html.fx26 #twm-app :is(.hmx .rate,.tw5-rate.hx-rate)::after {animation:fx26-light 1500ms var(--fx26-ease) 1;}
  html.fx26 .twm-skel::after {animation:fx26-skeleton 1500ms ease-in-out infinite;}
}
@keyframes fx26-light {0%{transform:translateX(-30%);opacity:0}20%{opacity:1}100%{transform:translateX(30%);opacity:0}}
@keyframes fx26-skeleton {to{transform:translateX(100%)}}
/* Fixed-CTA clearance. Keep navigation selectors and DOM untouched. */
@media (max-width:768px) {
  html.fx26 #twm-app .twm-main {padding-bottom:calc(104px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:190px;}
  html.fx26 #twm-app:has(.twm-cta) .twm-main,
  html.fx26 #twm-app:has(.s11b-footer) .twm-main {padding-bottom:calc(184px + env(safe-area-inset-bottom,0px));}
  html.fx26 #twm-app .hmx .m {padding-bottom:100px;}
  html.fx26 #twm-app .hmx .tl {gap:8px;}
  html.fx26 #twm-app .hmx .rate .v {font-size:clamp(14px,3.85vw,18px) !important;white-space:nowrap;}
  html.fx26 #twm-app .hmx .rate .go {width:88px;min-width:88px;padding:8px;font-size:12px;}
  /* The inherited clipped payment viewport must still let users reach all 3 codes. */
  html.fx26 #twm-app[data-scr="s05"] .twm-main {overflow-y:auto !important;padding-bottom:200px !important;}
  html.fx26 #twm-app :is(.mx-content,.sc-toolbar,.sc-filters,.s11b-details,.v7-vpick) {max-width:100%;min-width:0;}
  html.fx26 #twm-app :is(.sc-filters select,.v7-stb) {min-width:0;}
  html.fx26 #twm-app :is(.mx-content p,.mx-link,.rx-f,.cf-row dd) {overflow-wrap:anywhere;}
  html.fx26 #twm-app .twm-steps {gap:4px;}
}
@media (min-width:769px) {
  html.fx26 #twm-app .twm-main {padding-top:24px;}
  html.fx26 #twm-app .twm-head {margin-bottom:24px;}
  html.fx26 #twm-app .mx-content {gap:20px;}
  html.fx26 #twm-app :is(.mx-ahead,.sc-card) {padding:24px;}
}
@media (prefers-reduced-motion:reduce) {
  html.fx26 *,html.fx26 *::before,html.fx26 *::after {
    animation:none !important;scroll-behavior:auto !important;
    transition-property:opacity,color,background-color !important;transition-duration:100ms !important;
  }
  html.fx26 #twm-app .fx26-reveal {opacity:1;transform:none;}
}
/* Code39 is an immutable scan surface. No shine, ripple, entrance or hover on it. */
html.fx26 :is(.mx-barcode,.twm-bc,.s45-bc,.s45-bcs,.s5-code,.s4-code,.v7-zoom) {animation:none !important;transition:none !important;}

/* Secondary screens, round 2. Preserve native routes, labels, ordering and data. */
html.fx26 body #twm-app .sc-pc .sc-pname {
  display:block;height:auto !important;max-height:none !important;min-height:2.8em;
  overflow:visible !important;-webkit-line-clamp:unset !important;
  font-size:14px;line-height:1.4;overflow-wrap:anywhere;
}
html.fx26 body #twm-app .sc-pc .sc-price {color:#5835b4 !important;background:none !important;-webkit-text-fill-color:currentColor !important;}
html.fx26 body #twm-app .mx-ocard.mx-order-item {
  display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;
  padding:16px;margin:0;border:1px solid var(--fx26-line);border-radius:18px;
  box-shadow:0 3px 12px #30206106;background:#fff;
  transition:transform 180ms var(--fx26-ease),opacity 180ms ease;
}
html.fx26 body #twm-app .mx-ocard .ic {width:44px;height:44px;grid-row:1;}
html.fx26 body #twm-app .mx-order-copy {gap:5px;min-width:0;}
html.fx26 body #twm-app .mx-order-copy b {font-size:16px;line-height:1.4;letter-spacing:.015em;}
html.fx26 body #twm-app .mx-order-copy small {color:var(--fx26-muted);line-height:1.45;}
html.fx26 body #twm-app .mx-ocard .mx-cart-side {
  grid-column:1/-1;display:flex;flex-direction:row;justify-content:space-between;
  align-items:center;gap:12px;border-top:1px solid #eeedf5;padding-top:12px;min-width:0;
}
html.fx26 body #twm-app .mx-ocard .mx-cart-side b {font-size:18px;color:#5835b4;}
html.fx26 body #twm-app .mx-ocard .mx-pill {line-height:1.4;white-space:normal;text-align:left;}
html.fx26 body #twm-app .mx-pill.warn {color:#855100;background:#fff2d9;}
html.fx26 body #twm-app .mx-pill.ok {color:#126147;background:#e7f5f0;}
html.fx26[data-twp6-route="account-orders"] #twm-app .mx-content>.mx-card {display:grid;gap:12px;padding:16px;}
html.fx26 #twm-app #mx-order-filter-empty {grid-column:1/-1;}
html.fx26 body #twm-app [data-od-filter][aria-pressed="true"] {background:#6240ce;color:#fff;box-shadow:0 4px 12px #6240ce20;}
html.fx26 body #twm-app .v7-orow {display:grid;grid-template-columns:36px minmax(0,1fr);gap:6px 10px;padding:14px;align-items:center;}
html.fx26 body #twm-app .v7-orow .v7-oi {grid-row:1/3;align-self:start;width:36px;height:36px;}
html.fx26 body #twm-app .v7-orow .v7-ol {grid-column:2;line-height:1.45;font-size:14px;}
html.fx26 body #twm-app .v7-orow .v7-pill {grid-column:2;justify-self:start;max-width:100%;white-space:normal;line-height:1.4;}
html.fx26 body #twm-app .v7-pill.n {color:#56627d;background:#f0f1f6;}
html.fx26 body #twm-app .v7-pill.g {color:#126147;background:#e7f5f0;}
html.fx26 body #twm-app .v7-pill.o {color:#855100;background:#fff2d9;}
html.fx26 body #twm-app .v7-refrow {display:grid;grid-template-columns:1fr 1fr;gap:10px;}
html.fx26 body #twm-app .v7-refrow .v7-code {grid-column:1/-1;font-size:22px;letter-spacing:.06em;padding:18px;color:#493082;background:#f2eefe;overflow-wrap:anywhere;}
html.fx26 body #twm-app .v7-refrow .v7-btn {width:100%;justify-content:center;}
html.fx26 body #twm-app .v7-vrow {display:grid;grid-template-columns:32px minmax(0,1fr) 44px;gap:8px;}
html.fx26 body #twm-app .v7-vrow .v7-pill {grid-column:2;grid-row:2;justify-self:start;white-space:normal;line-height:1.4;}
html.fx26 body #twm-app .v7-vrow .v7-copy {grid-column:3;grid-row:1/3;}
html.fx26 body #twm-app .v7-vrow .v7-vc {min-width:0;overflow-wrap:anywhere;}
html.fx26[data-twp6-route="account"] #twm-app .mx-content>.mx-card:first-child {background:linear-gradient(125deg,#fff,#f1edfd);border-color:#dcd4f2;padding:24px;}
html.fx26[data-twp6-route="account"] #twm-app .mx-content>.mx-card:first-child h2 {font-size:24px;}
html.fx26[data-twp6-route="account"] #twm-app .mx-content>.mx-card:nth-child(2) {display:grid;gap:6px;padding:12px;}
html.fx26:is([data-twp6-route="account"],[data-twp6-route="settings"]) #twm-app .mx-link {
  min-height:52px;border:1px solid #eeebf7;border-radius:14px;padding:12px;
  background:#fff;line-height:1.45;
}
html.fx26[data-twp6-route="account"] #twm-app .mx-content>.mx-card:nth-child(2)::before {display:none;}
html.fx26 #twm-app .mx-content .mx-notification-item {padding:18px 10px;border-radius:16px;}
html.fx26 body #twm-app .mx-notification-item small {color:var(--fx26-muted);line-height:1.5;}
/* A 44px dot hit area must not become a 44px painted circle over banner text. */
html.fx26 #twm-app .twp6-nbanner .twp6-dots {position:relative;left:auto;bottom:auto;justify-content:center;gap:0;padding:0 8px;}
html.fx26 #twm-app .twp6-nbanner .twp6-dot {display:grid;place-items:center;width:44px;height:44px;border-radius:12px;padding:0;background:transparent;box-shadow:none;transition:opacity 180ms;}
html.fx26 #twm-app .twp6-nbanner .twp6-dot::after {content:"";display:block;width:6px;height:6px;border-radius:6px;background:#d6c9ed;}
html.fx26 #twm-app .twp6-nbanner .twp6-dot.on::after {width:18px;background:#fff;}
html.fx26 #twm-app .twp6-nbanner .twp6-pr b {background:none;color:#fff;}
html.fx26 #twm-app .mx-content details {padding:0;margin-bottom:10px;border:1px solid var(--fx26-line);border-radius:16px;background:#fff;}
html.fx26 #twm-app .mx-content summary {min-height:48px;box-sizing:border-box;padding:14px 16px;font-weight:800;line-height:1.45;}
html.fx26 #twm-app .mx-content details[open] {background:#f6f3ff;}
html.fx26 #twm-app .mx-content details p {padding:0 16px 16px;margin:0;color:var(--fx26-muted);}
html.fx26 #twm-app .mx-otp-row {grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;}
html.fx26 #twm-app .mx-otp-row input {min-width:0;min-height:52px;padding:0;text-align:center;}
html.fx26 #twm-app .mx-linkbtn {min-height:44px;padding:8px;color:#6240ce;}
html.fx26 #twm-app .mx-bot p {background:#f3effd;color:#334064;line-height:1.6;padding:14px 16px;}
html.fx26 #twm-app .mx-empty {padding:24px 12px;}
html.fx26 #twm-app .mx-empty p {color:var(--fx26-muted);max-width:40ch;margin-inline:auto;line-height:1.6;}
html.fx26 #twm-app .tw-hq-card {border:1px solid #e8e4f2;box-shadow:0 4px 14px #30206106;}
html.fx26 #twm-app .tw-hq-name {line-height:1.45;}
html.fx26 #twm-app .tw-ch-desc {color:var(--fx26-muted);}
@media(min-width:900px) {
  html.fx26:is([data-twp6-route="account"],[data-twp6-route="account-orders"],[data-twp6-route="promo"],[data-twp6-route="help"],[data-twp6-route="addresses"],[data-twp6-route="notifications"],[data-twp6-route="settings"],[data-twp6-route="faq"],[data-twp6-route="kyc"],[data-twp6-route="installments"],[data-twp6-route="support-chat"],[data-twp6-route="forgot"],[data-twp6-route="verify-email"],[data-twp6-route="reset-password"],[data-twp6-route="terms"]) #twm-app .twm-main.one {width:100%;max-width:1100px !important;display:block;}
  html.fx26:is([data-twp6-route="account"],[data-twp6-route="account-orders"],[data-twp6-route="promo"],[data-twp6-route="help"],[data-twp6-route="addresses"]) #twm-app .mx-content {max-width:1000px;}
  html.fx26[data-twp6-route="account-orders"] #twm-app .mx-content>.mx-card {grid-template-columns:repeat(2,minmax(0,1fr));}
  html.fx26[data-twp6-route="account"] #twm-app .mx-content>.mx-card:nth-child(2) {grid-template-columns:repeat(2,minmax(0,1fr));}
  html.fx26[data-twp6-route="promo"] #twm-app .mx-content {display:grid !important;grid-template-columns:1fr 1fr;align-items:start;}
  html.fx26[data-twp6-route="promo"] #twm-app .v7-hero {grid-column:1/-1;margin-bottom:0;}
  html.fx26[data-twp6-route="addresses"] #twm-app .mx-content {display:grid !important;grid-template-columns:minmax(240px,.75fr) minmax(0,1.25fr);align-items:start;}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html.fx26 #twm-app :is(.mx-ocard,.tw-hq-card,.v7-orow) {transition:transform 200ms var(--fx26-ease),opacity 200ms;transform-origin:center;}
  html.fx26 #twm-app :is(.mx-ocard,.tw-hq-card,.v7-orow):hover {transform:perspective(900px) translateY(-2px) rotateX(1deg);}
  html.fx26 #twm-app :is(.mx-link,.tw-hq-card):hover img {transform:translateY(-2px);transition:transform 200ms var(--fx26-ease);}
}
@media(prefers-reduced-motion:reduce) {
  html.fx26 body #twm-app :is(.mx-ocard,.tw-hq-card,.v7-orow):hover {transform:none;}
}

/* Original rendered films; route palettes remain useful with video disabled. */
html.fx26 {--fx26-a:#e8e3ff;--fx26-b:#f9edf5;--fx26-angle:130deg;--fx26-poster:url(cinema-2026/aurora.webp);}
html.fx26[data-twp6-route="home"] {--fx26-a:#e3dcff;--fx26-b:#f4e6f6;}
html.fx26[data-twp6-route="shop"] {--fx26-a:#f8e4ee;--fx26-b:#ece6ff;--fx26-poster:url(cinema-2026/studio.webp);}
html.fx26[data-twp6-route="catalog"] {--fx26-a:#ede8fb;--fx26-b:#fff0e6;--fx26-angle:155deg;--fx26-poster:url(cinema-2026/studio.webp);}
html.fx26[data-twp6-route="product"] {--fx26-a:#e3effb;--fx26-b:#f5e8f6;--fx26-angle:110deg;}
html.fx26[data-twp6-route="cart"] {--fx26-a:#eee7fb;--fx26-b:#fbeee8;--fx26-angle:145deg;}
html.fx26:is([data-twp6-route="checkout"],[data-twp6-route="checkout-review"]) {--fx26-a:#e5eff5;--fx26-b:#f3eefb;}
html.fx26[data-twp6-route="promo"] {--fx26-a:#ffe9dc;--fx26-b:#f1e3f7;--fx26-poster:url(cinema-2026/bloom.webp);}
html.fx26[data-twp6-route="account"] {--fx26-a:#e9e3fc;--fx26-b:#eef0fb;--fx26-angle:160deg;}
html.fx26:is([data-twp6-route="account-orders"],[data-twp6-route="orders"]) {--fx26-a:#dfeafb;--fx26-b:#eee9f8;}
html.fx26[data-twp6-route="notifications"] {--fx26-a:#e8e8fb;--fx26-b:#eff3ff;--fx26-angle:100deg;}
html.fx26[data-twp6-route="addresses"] {--fx26-a:#e4f0ef;--fx26-b:#f1edfb;}
html.fx26[data-twp6-route="installments"] {--fx26-a:#eae5fa;--fx26-b:#faf0df;--fx26-poster:url(cinema-2026/bloom.webp);}
html.fx26[data-twp6-route="kyc"] {--fx26-a:#e0f2ec;--fx26-b:#eef0fb;}
html.fx26[data-twp6-route="help"] {--fx26-a:#dff0fa;--fx26-b:#eee5fc;--fx26-angle:115deg;}
html.fx26[data-twp6-route="faq"] {--fx26-a:#e7eefb;--fx26-b:#f5edf8;}
html.fx26[data-twp6-route="support-chat"] {--fx26-a:#e7e3fb;--fx26-b:#e8f3fc;--fx26-angle:150deg;}
html.fx26[data-twp6-route="settings"] {--fx26-a:#e8ecf7;--fx26-b:#f2edfa;}
html.fx26:is([data-twp6-route="login"],[data-twp6-route="signup"],[data-twp6-route="forgot"],[data-twp6-route="reset-password"],[data-twp6-route="verify-email"]) {--fx26-a:#e3eafa;--fx26-b:#edf5f2;}
html.fx26:is([data-twp6-route="terms"],[data-twp6-route="privacy"]) {--fx26-a:#edf0f7;--fx26-b:#f4f0fa;}
html.fx26 body.twm-body {background:radial-gradient(ellipse at 5% 10%,var(--fx26-a),transparent 62%),linear-gradient(var(--fx26-angle),#f8f9fc,var(--fx26-b)) !important;}
html.fx26 #twm-app {position:relative;z-index:1;background:transparent !important;}
html.fx26 #twm-app>.twm-main {background:transparent;}
html.fx26 #twm-app :is(.hmx,.hmx .m) {background:transparent !important;}
.fx26-atmosphere {position:fixed;inset:0;z-index:0;pointer-events:none;background-image:var(--fx26-poster);background-size:cover;background-position:center !important;opacity:.20;}
.fx26-film {width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;}
.fx26-film[hidden] {display:none !important;}
html.fx26 #twm-app .fx26-film-control {min-width:44px;min-height:44px;border:1px solid #dad4ec;border-radius:12px;background:#fffffff0;color:#493082;font:800 12px/1.3 system-ui;padding:8px 12px;cursor:pointer;flex-shrink:0;}
.fx26-banner-host {position:relative;isolation:isolate;}
.fx26-banner-host>.fx26-film {position:absolute;inset:0;width:100%;height:100%;z-index:2;opacity:.30;mix-blend-mode:soft-light;mask-image:linear-gradient(90deg,transparent 38%,#000 90%);border-radius:inherit;}
.v7-hero.fx26-banner-host>.fx26-film {opacity:.18;z-index:-1;}
.fx26-banner-controls {position:relative;}
html.fx26 #twm-app .fx26-banner-controls>.fx26-film-control {position:absolute;z-index:8;width:60px;height:44px !important;max-width:66px;max-height:44px !important;}
@media(max-width:768px) {
  .fx26-atmosphere {opacity:.14;}
}

/* User reference package: size only navigation icons, never Code39 SVGs. */
html.fx26 #twm-app :is(.twm-nav,.twm-desk-nav) :is(svg,img),
html.fx26 #twm-app .hmx .tb img {width:24px !important;height:24px !important;max-width:28px !important;max-height:28px !important;flex:0 0 24px;object-fit:contain;}
html.fx26 #twm-app :is(.hmx .tl .q,.tw5-svc .ic) :is(svg,img) {max-width:48px;max-height:48px;flex-shrink:0;object-fit:contain;}
html.fx26 #twm-app :is(.hmx .tl .t,.tw5-svc li a) {background:linear-gradient(145deg,#ffffffed,#f4eeffcc);border:1px solid #fff;box-shadow:0 7px 20px #7954c214,inset 0 1px 0 #fff;border-radius:20px;}
html.fx26 #twm-app :is(.tw5-pc,.h2-pc,.hmx .pc) {background:linear-gradient(155deg,#fff,#f7f0ff);border-color:#e9ddfb;box-shadow:0 5px 16px #7954c212 !important;}
html.fx26 #twm-app :is(.tw5-pc .im,.h2-pc .im) {background:radial-gradient(ellipse at 50% 91%,#ae78e745,transparent 58%),linear-gradient(145deg,#faf7ff,#efe6fb);border-radius:16px;}
html.fx26 body #twm-app :is(.hmx .shop .pc .p,.tw5-pc .pr,.h2-pc .pr) {color:#b0196e !important;-webkit-text-fill-color:currentColor !important;background:none !important;}
html.fx26 #twm-app .hmx .pt {background:#ffffffd9;border:1px solid #fff;border-radius:24px;box-shadow:0 8px 24px #7954c210;}
@media(min-width:1024px) {
  html.fx26 #twm-app :is(.tw5-svc li a,.hmx .tl .t) {min-height:92px;flex-direction:column;justify-content:center;gap:8px;}
  html.fx26 #twm-app :is(.tw5-svc .ic,.hmx .tl .q) {width:44px;height:44px;}
  html.fx26 #twm-app :is(.tw5-svc .ic,.hmx .tl .q) img {width:44px;height:44px;}
}
@media(min-width:600px) and (max-width:1023px) {
  html.fx26 #twm-app .hmx .shop>.pr {display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;}
  html.fx26 #twm-app .hmx .shop .pc {width:auto !important;min-width:0;}
  html.fx26 #twm-app[data-scr="home"]>.twm-main {overflow-y:auto !important;}
}

/* Selected by owner: exact Aurora Pop artwork; captions remain native/translatable. */
html.fx26 #twm-app .fx26-service-icon {
  font-size:0 !important;color:transparent !important;display:block;width:36px !important;height:32px !important;min-width:36px;flex:0 0 36px;
  background-image:url(premium-2026/aurora-pop.webp) !important;background-repeat:no-repeat !important;
  background-size:355.555556% 266.666667% !important;mix-blend-mode:multiply;
  mask-image:radial-gradient(ellipse 70% 70% at center,#000 60%,transparent 99%);
}
html.fx26 #twm-app .fx26-service-icon>* {opacity:0 !important;}
html.fx26 #twm-app .fx26-service-icon[data-fx-icon="send"] {background-position:5.072464% 13.125% !important;}
html.fx26 #twm-app .fx26-service-icon[data-fx-icon="exchange"] {background-position:50% 13.125% !important;}
html.fx26 #twm-app .fx26-service-icon[data-fx-icon="installment"] {background-position:94.927536% 13.125% !important;}
html.fx26 #twm-app .fx26-service-icon[data-fx-icon="reward"] {background-position:5.072464% 85% !important;}
html.fx26 #twm-app .fx26-service-icon[data-fx-icon="account"] {background-position:50% 85% !important;}
html.fx26 #twm-app .fx26-service-icon[data-fx-icon="support"] {background-position:94.927536% 85% !important;}
@media(min-width:1024px) {
  html.fx26 #twm-app .fx26-service-icon {width:54px !important;height:48px !important;min-width:54px;flex-basis:54px;}
}

/* Premium release: campaigns retain native localized copy, logo, links and slide geometry. */
html.fx26 #twm-app .fx26-campaign-host {position:relative;isolation:isolate;overflow:hidden;}
html.fx26 #twm-app .fx26-campaign-film {position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:1;opacity:0;border-radius:inherit;transition:opacity 240ms ease;}
html.fx26 #twm-app .fx26-campaign-ready>.fx26-campaign-film {opacity:1;}
html.fx26 #twm-app .fx26-campaign-ready>img {position:relative;z-index:2;mask-image:linear-gradient(90deg,#000 42%,transparent 58%);}
html.fx26 #twm-app .fx26-campaign-film[hidden] {display:none !important;}
html.fx26 #twm-app .fx26-campaign-host:has(>.fx26-campaign-film[hidden])>img {mask-image:none;}
html.fx26 #twm-app .fx26-campaign-host .dots {z-index:3;}
html.fx26 #twm-app .fx26-film-control {box-shadow:0 4px 12px #17254412;font-variant-numeric:normal;}
/* The backdrop is static; cinematic motion belongs inside the existing ads. */
html.fx26 body.twm-body {background:radial-gradient(ellipse at 0 0,var(--fx26-a) 0,transparent 54%),radial-gradient(ellipse at 100% 85%,var(--fx26-b),transparent 60%),#f7f8fc !important;}
html.fx26 body #twm-app>.twm-main {background:transparent !important;}
html.fx26 body #twm-app :is(.twm-top,.twm-nav,.hmx .hd,.hmx .tb) {border-color:#ffffffbd;background:#ffffffed;box-shadow:0 6px 24px #352f6510;}
html.fx26 body #twm-app :is(.twm-h1,.twm-head h1) {font-weight:900;letter-spacing:-.035em;color:#18284b;}
html.fx26 body #twm-app :is(.twm-btn,.sc-btn,.s11b-buy):not(.ghost):not(:disabled) {background:linear-gradient(120deg,#6542d7,#8054dc) !important;color:#fff !important;box-shadow:0 7px 18px #6240ce24 !important;}
html.fx26 body #twm-app :is(.twm-card,.mx-card,.sc-card,.rx-form,.cf-card) {background:linear-gradient(145deg,#fff,#fefeff);border:1px solid #e4e3ef;box-shadow:0 8px 28px #32235909;}
html.fx26 body #twm-app :is(.sc-price,.s11b-price,.sc-total b,.cf-get .v,#twm-get) {font-variant-numeric:tabular-nums;letter-spacing:-.035em;}
html.fx26 body #twm-app :is(.sc-toolbar,.sc-filters,.sc-search) {border-radius:16px;}
html.fx26 body #twm-app :is(.sc-cat,.shp-cat)[aria-pressed=true] {outline:2px solid #7c5cff;outline-offset:-2px;}
html.fx26 body #twm-app :is(.sc-pimg,.hmx .pc>img,.tw5-pc .im) {background:radial-gradient(ellipse at 50% 85%,#bfa8ef30,transparent 68%),#f7f5fc !important;}
html.fx26 body #twm-app :is(.sc-pname,.shp-pname) {font-weight:800;color:#18284b;}
html.fx26 body #twm-app :is(.sc-bnpl-pill,.s11b-installment-teaser) {background:#f1edfb;border:1px solid #ddd3f7;color:#51329b;line-height:1.5;}
html.fx26 body #twm-app .s11b-gallery {border:1px solid #e6e2f2;border-radius:26px;overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#c2a9ef35,transparent 65%),linear-gradient(140deg,#f4f6ff,#faeff6);}
html.fx26 body #twm-app .s11b-summary {min-width:0;}
html.fx26 body #twm-app :is(.v7-swb,.v7-stb,.pdp-photo-slot) {min-height:44px;border-radius:12px;}
html.fx26 body #twm-app :is(.v7-swb,.v7-stb)[aria-checked=true] {border-color:#7c5cff;box-shadow:0 0 0 2px #7c5cff22;background:#f2edff;color:#51329b;}
html.fx26 body #twm-app :is(.s11b-capacity,.s11b-text-row,.pdp-dossier-row) {border-color:#e9e5f2;line-height:1.5;}
html.fx26 body #twm-app .sc-item {border:1px solid #e8e4f2;border-radius:18px;background:#fff;padding:16px;gap:12px;}
html.fx26 body #twm-app .sc-item img {object-fit:contain;border-radius:12px;background:#f7f5fc;}
html.fx26 body #twm-app .sc-total {margin-top:12px;padding:16px;border-radius:16px;background:#f1edfb;color:#342263;border-top:0;gap:12px;}
html.fx26 body #twm-app .sc-total b {font-size:24px;white-space:nowrap;}
html.fx26 body #twm-app :is(.sc-sr,.cf-row,.rx-f) {min-width:0;line-height:1.5;}
html.fx26 body #twm-app :is(.pf-opt,.twm-opt) {border-radius:18px;border-color:#e2deed;min-height:64px;}
html.fx26 body #twm-app .pf-opt[aria-checked=true] {background:#f3effc;border-color:#8d6bdc;box-shadow:0 0 0 2px #7c5cff12;}
html.fx26 body #twm-app :is(.twm-input,.rx-sel):not([type=checkbox]):not([type=radio]) {border-color:#d8dbea;background:#fbfcff;}
html.fx26 body #twm-app :is(.twm-input,.rx-sel)[aria-invalid=true] {border-color:#b3263e;box-shadow:0 0 0 3px #b3263e12;}
html.fx26 body #twm-app :is(.mx-error,.twm-err) {color:#a21c36;font-size:13px;line-height:1.5;}
html.fx26 body #twm-app .twm-recv {background:linear-gradient(115deg,#edf7f5,#f4efff);border:1px solid #d7e6e4;border-radius:22px;box-shadow:0 6px 18px #1a5b4b08;}
html.fx26 body #twm-app .twm-recv .v {color:#51329b !important;font-weight:900;}
html.fx26 body #twm-app .cf-get {background:linear-gradient(120deg,#eff9f5,#f1edfc);border-color:#dce8e4;}
html.fx26 body #twm-app :is(.cf-row dd,.twm-row dd) {overflow-wrap:anywhere;min-width:0;}
html.fx26 body #twm-app .mx-timeline {border-color:#e1e5ed;}
html.fx26 body #twm-app .mx-timeline li {padding-block:12px;}
html.fx26 body #twm-app .mx-timeline-node {border-radius:50%;}
html.fx26 body #twm-app .mx-timeline .complete .mx-timeline-node {background:#e1f3ec;color:#126147;}
html.fx26 body #twm-app :is(.mx-notification-item,.mx-link,.mx-ocard) {overflow-wrap:anywhere;}
html.fx26 body #twm-app .mx-auth-tabs {border:1px solid #e9e3f5;box-shadow:0 6px 20px #352f6509;}
html.fx26 body #twm-app .mx-auth-tabs .on {background:linear-gradient(120deg,#6542d7,#8054dc) !important;}
html.fx26 body #twm-app :is(.mx-otp-row input,.mx-auth-tabs a) {min-height:48px;}
html.fx26 body #twm-app .mx-content :is(.mx-small,.sc-small) {color:#56627d;line-height:1.55;}
html.fx26 body #twm-app .mx-content :is(details p,.mx-legal p) {line-height:1.7;}
html.fx26 body #twm-app .mx-content :is(.mx-upload,.mx-file) {border-radius:16px;background:#f7fafc;border-color:#d5dfec;}
html.fx26 body #twm-app #ns-v3-pager {border:1px solid #e4deef;border-radius:18px;background:#fffffff5;}
html.fx26 body #twm-app :is(button,a,input,select,textarea) {scroll-margin-block:80px 180px;}
@media(min-width:1024px) {
  html.fx26 body #twm-app :is(.sc-co,.sc-cart) {max-width:1000px;margin-inline:auto;}
  html.fx26 body #twm-app :is(.rx-form,.cf-card) {padding:28px;}
  html.fx26 body #twm-app .s11b-summary {padding:8px 4px 8px 20px;}
  html.fx26 body #twm-app .mx-content {line-height:1.55;}
}
@media(max-width:768px) {
  html.fx26 body #twm-app :is(.sc-card,.mx-card) {border-radius:22px;}
  html.fx26 body #twm-app .sc-item {padding:12px;}
  html.fx26 body #twm-app .sc-total {padding:12px;}
  html.fx26 body #twm-app .sc-total b {font-size:22px;}
  html.fx26 body #twm-app .hmx .tl .t {gap:6px;}
  html.fx26 body #twm-app .hmx .tl .t b {font-size:11.5px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-rows {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px;min-width:0;padding:7px 8px;border:1px solid #ece9f4;border-radius:12px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row dt {font-size:11px;line-height:1.35;gap:4px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row dd {font-size:13px;line-height:1.4;margin:0;max-width:100%;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row .twm-ico {width:18px;height:18px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row.total {background:#f2edff;border-color:#d9ccfa;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row.total dd {color:#51329b;font-weight:900;}
  html.fx26 body #twm-app[data-scr=s01] .twm-col-side>.twm-card {padding:12px !important;}
  html.fx26 body #twm-app[data-scr=s01] .twm-limit {margin-top:8px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-hint {font-size:11px;line-height:1.4;}
  html.fx26 body #twm-app[data-scr=s01] .twm-recv {padding:12px !important;}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html.fx26 #twm-app .s11b-gallery .pdp-gallery-img {transition:transform 260ms var(--fx26-ease),opacity 200ms ease;}
  html.fx26 #twm-app .s11b-gallery .pdp-gallery-img:hover {transform:scale(1.035);}
}
@media(prefers-reduced-motion:reduce) {
  html.fx26 #twm-app .fx26-campaign-film {display:none !important;}
  html.fx26 #twm-app .fx26-campaign-host>img {mask-image:none !important;}
}

/* Enlarge only real gallery photos. Native modal focus/ESC; payment codes are excluded. */
html.fx26 #twm-app .pdp-stage {position:relative;}
html.fx26 #twm-app .fx26-photo-open {position:absolute;right:12px;top:12px;z-index:4;width:44px;height:44px;border:1px solid #e0daee;border-radius:14px;background:#ffffffed;color:#51329b;font:700 28px/1 system-ui;cursor:zoom-in;box-shadow:0 4px 16px #32235912;}
.fx26-photo-dialog {position:fixed;inset:0;width:min(1100px,calc(100vw - 32px));height:min(800px,calc(100dvh - 32px));max-width:none;max-height:none;margin:auto;padding:56px 52px 24px;box-sizing:border-box;border:1px solid #e3dcec;border-radius:28px;background:linear-gradient(140deg,#fcfcff,#f6f0fb);box-shadow:0 24px 90px #1a123b44;color:#172544;}
.fx26-photo-dialog::backdrop {background:#19122cbd;}
.fx26-photo-dialog figure {margin:0;display:flex;flex-direction:column;gap:16px;width:100%;height:100%;}
.fx26-photo-dialog figure img {min-height:0;width:100%;flex:1;object-fit:contain;}
.fx26-photo-dialog figcaption {text-align:center;font:600 14px/1.5 system-ui;overflow-wrap:anywhere;}
.fx26-photo-dialog button {position:absolute;width:44px;height:44px;min-height:44px;border:1px solid #ded8ec;border-radius:14px;background:#fff;color:#51329b;font:600 28px/1 system-ui;cursor:pointer;}
.fx26-photo-dialog button:focus-visible {outline:3px solid #6240ce;outline-offset:3px;}
.fx26-photo-close {top:12px;right:12px;}
.fx26-photo-prev {left:8px;top:45%;}
.fx26-photo-next {right:8px;top:45%;}
.fx26-photo-dialog button[hidden] {display:none;}
@media(max-width:600px) {.fx26-photo-dialog {padding:62px 24px 24px;border-radius:22px;}.fx26-photo-dialog figure {gap:12px;}.fx26-photo-prev {left:4px;}.fx26-photo-next {right:4px;}}

/* Anchor financial actions above the bottom navigation, never relative to old offsets. */
@media(max-width:768px) {
  html.fx26 body #twm-app[data-scr]>.twm-cta {position:fixed !important;inset:auto 12px calc(82px + env(safe-area-inset-bottom,0px)) !important;width:auto !important;z-index:30;box-sizing:border-box;padding:8px 12px;background:#faf9fff5;border:1px solid #ece7f7;border-radius:20px;box-shadow:0 -4px 20px #32235909;}
}
@media(min-width:1024px) {
  html.fx26 body #twm-app .tw5-svc :is(li,a,.lb) {min-width:0;}
  html.fx26 body #twm-app .tw5-svc .lb {overflow-wrap:anywhere;line-height:1.35;}
  html.fx26 body #twm-app .tw5-svc li a {gap:8px;padding:12px;}
}
@media(min-width:1024px) and (max-width:1199px) {
  html.fx26 body #twm-app .tw5-svc li a {flex-direction:column;justify-content:center;text-align:center;padding:8px;gap:4px;}
  html.fx26 body #twm-app .tw5-svc .lb {font-size:12px;}
}
@media(min-width:1024px) {
  html.fx26 body #twm-app[data-scr=shop]>.twm-main {padding-top:12px;}
  html.fx26 body #twm-app[data-scr=shop] .twm-head {margin-bottom:10px !important;min-height:28px;}
  html.fx26 body #twm-app[data-scr=shop] .twm-h1 {font-size:16px !important;color:#59627d;}
  html.fx26 body #twm-app[data-scr=shop] .shp-aurora {gap:10px !important;}
  html.fx26 body #twm-app[data-scr=shop] :is(.shp-catalog-intro,.shp-partner-wrap) {padding:10px 12px;}
  html.fx26 body #twm-app[data-scr=shop] .shp-cat {min-height:72px;padding:8px;}
  html.fx26 body #twm-app[data-scr=shop] .shp-pt {min-height:58px;padding:8px;}
  html.fx26 body #twm-app[data-scr=shop] .shp-search button {background:linear-gradient(120deg,#6542d7,#8054dc);}
}

@media(max-width:768px) {
  html.fx26 body #twm-app .hmx .rate {box-sizing:border-box;height:84px !important;padding:12px !important;}
}
/* Short phones keep all Home sections visible; product cards switch to a compact row. */
@media(max-width:768px) and (max-height:760px) {
  html.fx26 body #twm-app .hmx .m {gap:5px !important;padding:4px 12px !important;height:calc(100dvh - 52px - 72px - env(safe-area-inset-bottom,0px)) !important;}
  html.fx26 body #twm-app .hmx :is(.car,.sl) {height:100px !important;}
  html.fx26 body #twm-app .hmx .sl {flex:0 0 260px !important;max-width:260px;}
  html.fx26 body #twm-app .hmx .rate {height:68px !important;padding:8px 10px !important;border-radius:20px !important;}
  html.fx26 body #twm-app .hmx .rate .rt b {font-size:13px;}
  html.fx26 body #twm-app .hmx .rate .u {font-size:10px;}
  html.fx26 body #twm-app .hmx .tl {gap:6px !important;}
  html.fx26 body #twm-app .hmx .tl .t {height:44px !important;min-height:44px;padding:0 6px;border-radius:16px;}
  html.fx26 body #twm-app .hmx .tl .t b {font-size:11px;}
  html.fx26 body #twm-app .hmx .shop {flex:1 1 auto !important;min-height:124px;padding:8px 0 8px 10px !important;}
  html.fx26 body #twm-app .hmx .shop .sh {margin-bottom:6px;}
  html.fx26 body #twm-app .hmx .shop .sh b {font-size:14px;}
  html.fx26 body #twm-app .hmx .shop .sh a {font-size:12px;}
  html.fx26 body #twm-app .hmx .shop .pr {min-height:80px;}
  html.fx26 body #twm-app .hmx .shop .pc {display:grid !important;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto 1fr;gap:2px 8px;flex:0 0 196px !important;min-height:80px;height:auto !important;padding:6px;align-content:center;}
  html.fx26 body #twm-app .hmx .shop .pc>img {grid-row:1/4;grid-column:1;width:52px !important;height:64px !important;align-self:center;}
  html.fx26 body #twm-app .hmx .shop .pc>:not(img) {grid-column:2;margin:0;}
  html.fx26 body #twm-app .hmx .shop .pc .n {font-size:12px;white-space:normal;line-height:1.2;}
  html.fx26 body #twm-app .hmx .shop .pc .p {font-size:13px;line-height:1.3;}
  html.fx26 body #twm-app .hmx .shop .pc .v7-vtag {font-size:10px;line-height:1.2;}
  html.fx26 body #twm-app .hmx .pt {padding:3px 8px !important;}
  html.fx26 body #twm-app .hmx .pt .h {font-size:10px;line-height:12px;margin-bottom:4px;}
  html.fx26 body #twm-app .hmx .pg a {height:44px !important;}
  html.fx26 body #twm-app[data-scr=s01] .twm-col-main>* {margin-bottom:6px !important;}
  html.fx26 body #twm-app[data-scr=s01] .s1-tab {min-height:44px;padding:4px 6px;}
  html.fx26 body #twm-app[data-scr=s01] .s1-tab .tx b {font-size:12px;}
  html.fx26 body #twm-app[data-scr=s01] .s1-tab .tx small {font-size:10px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-card {padding:8px 12px !important;}
  html.fx26 body #twm-app[data-scr=s01] .twm-col-side>.twm-card {padding:8px 10px !important;}
  html.fx26 body #twm-app[data-scr=s01] .twm-input {height:44px !important;min-height:44px !important;font-size:20px !important;}
  html.fx26 body #twm-app[data-scr=s01] .twm-recv {padding:6px 10px !important;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row {padding:4px 6px !important;gap:2px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row dt {font-size:10.5px;}
  html.fx26 body #twm-app[data-scr=s01] .twm-row dd {font-size:12px;}
}
@media(max-width:768px) and (max-height:760px) {
  html.fx26 body #twm-app .hmx .m {overflow:visible !important;}
  html.fx26 body #twm-app .cf-wrap {gap:6px;}
  html.fx26 body #twm-app .cf-get {padding:8px 12px;gap:10px;}
  html.fx26 body #twm-app .cf-get .ic {width:44px;height:44px;}
  html.fx26 body #twm-app .cf-get .ic :is(img,svg) {width:44px;height:44px;}
  html.fx26 body #twm-app .cf-get .v {font-size:23px;}
  html.fx26 body #twm-app .cf-get :is(.k,.h) {font-size:11px;line-height:1.35;}
  html.fx26 body #twm-app .cf-sum {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;padding:10px 12px !important;}
  html.fx26 body #twm-app .cf-sum h3 {font-size:12px;margin:0;}
  html.fx26 body #twm-app .cf-sum h3:first-of-type {grid-column:1;grid-row:1;}
  html.fx26 body #twm-app .cf-sum h3:last-of-type {grid-column:2;grid-row:1;}
  html.fx26 body #twm-app .cf-sum dl:first-of-type {grid-column:1;grid-row:2;}
  html.fx26 body #twm-app .cf-sum dl:last-of-type {grid-column:2;grid-row:2;}
  html.fx26 body #twm-app .cf-sum hr {display:none;}
  html.fx26 body #twm-app .cf-sum dl>div {display:flex;flex-direction:column;gap:1px;padding:3px 0;line-height:1.3;}
  html.fx26 body #twm-app .cf-sum dt {font-size:10.5px;}
  html.fx26 body #twm-app .cf-sum dd {font-size:12px;overflow-wrap:anywhere;}
  html.fx26 body #twm-app .cf-sum .tot dd {font-size:16px;}
  html.fx26 body #twm-app .cf-terms {font-size:11.5px;line-height:1.35;}
  html.fx26 body #twm-app .cf-pt .pt {padding:4px 8px;}
  html.fx26 body #twm-app .cf-pt .pg a {height:44px;}
}
@media(max-width:599px) {
  html.fx26 body #twm-app .hmx .m {height:calc(100dvh - 52px - 74px - env(safe-area-inset-bottom,0px)) !important;min-height:0 !important;overflow:visible !important;}
  html.fx26 body #twm-app .hmx .m>.shop {flex:1 1 auto !important;min-height:124px !important;}
}
/* Confirmation uses the space above the real nav instead of an inherited 100px gap. */
@media(max-width:768px) {
  html.fx26 body #twm-app.cf-page[data-scr=s03] {padding-bottom:76px !important;}
  html.fx26 body #twm-app.cf-page[data-scr=s03]>.twm-main {padding-bottom:0 !important;}
}
@media(max-width:768px) and (max-height:760px) {
  html.fx26 body #twm-app .cf-wrap {gap:5px;}
}
/* Tablets may scroll the long Home product grid; its partner links stay reachable. */
@media(min-width:600px) and (max-width:768px) {
  html.fx26 body #twm-app[data-scr=home]>.twm-main {height:100dvh !important;max-height:100dvh !important;overflow-y:auto !important;}
  html.fx26 body #twm-app .hmx .m {height:auto !important;max-height:none !important;overflow:visible !important;margin-bottom:0;padding-bottom:92px !important;}
}
/* Quiet mint/ice backgrounds for financial flows; silver-blue for order lookup. */
html.fx26:is([data-twp6-route=s00],[data-twp6-route=s01],[data-twp6-route=s02],[data-twp6-route=s03],[data-twp6-route=s04],[data-twp6-route=s05],[data-twp6-route=s06],[data-twp6-route=s07],[data-twp6-route=s08],[data-twp6-route=s09]) {--fx26-a:#e2eef8;--fx26-b:#e6f4ef;--fx26-angle:135deg;}
html.fx26:is([data-twp6-route=track],[data-twp6-route=order-detail]) {--fx26-a:#e1eaf6;--fx26-b:#edf0f8;}
html.fx26:is([data-twp6-route=inst],[data-twp6-route=s14]) {--fx26-a:#ece5fa;--fx26-b:#faf0e1;}
/* The original fixed body overlay must inherit the selected route palette. */
html.fx26 body.twm-body::before {background:inherit;}
/* Video controls live in the existing header, leaving every campaign logo unobstructed. */
html.fx26 body #twm-app .fx26-header-control {position:static !important;width:44px;height:44px !important;min-width:44px;max-width:44px;flex:0 0 44px;padding:8px;border-radius:50%;font-size:18px;line-height:1;}
html.fx26 body #twm-app .fx26-header-control[hidden] {display:none !important;}
@media(max-width:374px) {html.fx26 body #twm-app .hmx .hd.fx26-video-tools {gap:6px;padding-inline:10px;}}

/* Claude 20261110 merge fix: in the fixed-height flex card the name was shrunk (39px->27px) and overflowed onto spec/price. Keep name/spec from shrinking and clamp names to 2 lines like live. */
html.fx26 body #twm-app .sc-pc .sc-pname{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:0!important;max-height:none!important;height:auto!important;flex-shrink:0!important}
html.fx26 body #twm-app .sc-pc :is(.sc-brand,.sc-pspec){flex-shrink:0!important}

/* Claude 20261110: subtle motion on EVERY banner (owner request) — slow Ken Burns zoom toward the product side + periodic light sweep.
   Transform/opacity only; off for prefers-reduced-motion; videos (Xiaomi/MacBook/transfer) still overlay when ready. */
@media (prefers-reduced-motion: no-preference){
  html.fx26 #twm-app :is(a.bv2,.sl.bv2m){position:relative;overflow:hidden;isolation:isolate}
  html.fx26 #twm-app :is(a.bv2,.sl.bv2m) > img{animation:fx26kb 16s ease-in-out infinite alternate;transform-origin:72% 55%;will-change:transform}
  html.fx26 #twm-app :is(a.bv2,.sl.bv2m)::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;
    background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.34) 48%,rgba(255,255,255,.08) 56%,transparent 70%);transform:translateX(-130%);animation:fx26sweep 7s ease-in-out infinite}
  html.fx26 #twm-app :is(a.bv2,.sl.bv2m):nth-child(2n)::after{animation-delay:2.3s}
  html.fx26 #twm-app :is(a.bv2,.sl.bv2m):nth-child(3n)::after{animation-delay:4.1s}
  html.fx26 #twm-app :is(a.bv2,.sl.bv2m):hover > img{animation-play-state:paused}
}
@keyframes fx26kb{from{transform:scale(1)}to{transform:scale(1.045)}}
@keyframes fx26sweep{0%,62%{transform:translateX(-130%)}88%,100%{transform:translateX(130%)}}

/* Claude 20261110: compact home product card (phones with viewport height <= 760px — most real phones with browser bars).
   The card also carries the variant tag line, so lay out image | name/price/tag in 3 tight rows, left aligned, card height = content. */
@media (max-width:768px) and (max-height:760px){
  html.fx26 body #twm-app .hmx .shop .pr{align-items:flex-start!important}
  html.fx26 body #twm-app .hmx .shop .pc{grid-template-rows:auto auto auto!important;align-content:center!important;align-items:center;height:auto!important;min-height:76px!important;text-align:left!important}
  html.fx26 body #twm-app .hmx .shop .pc>img{grid-row:1/4!important;align-self:center!important;height:64px!important;object-fit:contain}
  html.fx26 body #twm-app .hmx .shop .pc :is(.n,.p,.v7-vtag){text-align:left!important;align-self:center;justify-self:start}
  html.fx26 body #twm-app .hmx .shop .pc .v7-vtag{grid-column:2!important;margin-top:1px}
}
/* Claude 20261110: keep the "TW PAY" wordmark on one line on 320px phones (iPhone SE 1st gen). */
@media (max-width:340px){
  html body #twm-app :is(.hmx .hd a.lg, .twm-brand span){white-space:nowrap!important;font-size:15px}
}
/* Claude 20261110: very narrow phones — header controls must stay inside the screen. */
@media (max-width:340px){ html.fx26 body #twm-app .fx26-film-control{display:none!important} }
@media (max-width:300px){ html body #twm-app .twm-brand span, html body #twm-app .hmx .hd a.lg{font-size:0!important} html body #twm-app .hmx .hd a.lg img{font-size:initial} }

/* TW PAY DESKTOP POLISH — 20261110 fx3. Append only; no JS/business changes. */
@media(min-width:1024px) {
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app>.twm-main.one {
    display:block !important;width:100% !important;max-width:1240px !important;
    padding:24px 28px 48px !important;margin-inline:auto !important;
  }
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app :is(.mx-content,.sc-cat) {
    width:100% !important;max-width:none !important;min-width:0;
  }
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .twm-head {margin-bottom:20px !important;}
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-grid {
    display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:16px !important;align-items:stretch;
  }
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-pc {
    display:flex !important;flex-direction:column;min-width:0;height:100%;padding:14px !important;gap:6px !important;
  }
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-pname {
    display:block !important;white-space:normal !important;overflow:visible !important;
    -webkit-line-clamp:unset !important;max-height:none !important;height:auto !important;
    min-height:3.9em;line-height:1.3;font-size:14px;overflow-wrap:anywhere;
  }
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-pimg {width:100%;aspect-ratio:1;flex:none;}
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-pr-row {margin-top:auto !important;}
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-price {font-size:18px !important;line-height:1.35;}
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-bnpl-pill {white-space:normal;max-width:100%;line-height:1.4;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app>.twm-main.one {
    display:block !important;width:100% !important;max-width:1240px !important;padding:16px 28px 48px !important;margin-inline:auto !important;
  }
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .twm-head {min-height:28px !important;margin:0 0 12px !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-lead {padding:0 !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-aurora {gap:12px !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app :is(.shp-catalog-intro,.shp-partner-wrap) {padding:12px !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-cat {min-height:76px !important;padding:8px 4px !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pt {min-height:60px !important;padding:8px 4px !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-row {align-items:stretch !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-row>li {display:flex;min-width:0;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pc {display:flex !important;flex-direction:column !important;width:100%;height:100%;gap:8px !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pc .nm {
    display:block !important;white-space:normal !important;overflow:visible !important;-webkit-line-clamp:unset !important;
    max-height:none !important;min-height:2.8em !important;line-height:1.4;overflow-wrap:anywhere;
  }
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pc .im {flex:none;aspect-ratio:2/1;height:auto !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pc .im img {width:100%;height:100%;object-fit:contain;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pc .pr {margin-top:auto !important;font-size:17px !important;}
}
@media(min-width:1280px) {
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-grid {grid-template-columns:repeat(5,minmax(0,1fr)) !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp.shp-aurora {
    display:grid !important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) !important;align-items:stretch;
  }
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-aurora>* {grid-column:1/-1;min-width:0;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-aurora>.shp-catalog-intro {grid-column:1;grid-row:4;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-aurora>.shp-partner-wrap {grid-column:2;grid-row:4;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pts {gap:6px !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pt .lg {height:24px !important;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-pt .nm {font-size:10px;line-height:1.3;white-space:normal;}
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-cat .nm {font-size:11px;line-height:1.3;white-space:normal;}
}
/* END TW PAY DESKTOP POLISH — 20261110 fx3 */
@media(min-width:1024px) {
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-pr-row {display:grid !important;grid-template-rows:26px minmax(18px,auto) auto;gap:6px;align-content:start;min-height:88px;}
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-pr-row .sc-price {grid-row:1;}
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-pr-row .v7-vtag {grid-row:2;margin:0;}
  html.fx26[data-twp6-route="catalog"] body #twm-app#twm-app .sc-pr-row .sc-bnpl-pill {grid-row:3;align-self:start;}
}
@media(min-width:1280px) {
  html.fx26[data-twp6-route="shop"] body #twm-app#twm-app .shp-aurora>:is(.shp-lead,.twp-bv2-shared,.shp-search,.shp-sec) {grid-column:1/-1 !important;}
}


/* FX4 visual refinement — 2026-11-10. Presentation only; no hidden content or business changes. */
html.fx26 body #twm-app#twm-app {
 --fx26-muted:#53607a;
}
html.fx26 body #twm-app#twm-app :is(.mx-small,.sc-small,.pdp-stock-notice) {
 color:#53607a;line-height:1.55;
}
html.fx26 body #twm-app#twm-app :is(.twm-input,.mx-input,.sc-input) {
 border-color:#cbc6df;border-radius:14px;min-height:48px;
}
html.fx26 body #twm-app#twm-app :is(input,select,textarea):focus {
 outline:3px solid #7c5cff35;outline-offset:2px;border-color:#7350d7;
}
html.fx26 body #twm-app#twm-app :is(a,button,input,select,textarea,[tabindex]):focus-visible {
 outline:3px solid #6240bf;outline-offset:3px;
}
html.fx26 body #twm-app#twm-app .mx-notification-item[href] {
 border:1px solid transparent;transition:transform 180ms ease,opacity 180ms ease;
}
html.fx26 body #twm-app#twm-app .mx-notification-item[href]:hover {
 border-color:#d7cbf5;background:#f8f5ff;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-summary {
 border:1px solid #e3ddee;border-radius:24px;background:linear-gradient(150deg,#fff 65%,#f7f3ff);
 box-shadow:0 12px 36px #29204b09;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-summary .sc-price-lg {
 color:#5835b4;font-size:clamp(25px,2.5vw,34px);font-weight:900;line-height:1.2;
 font-variant-numeric:tabular-nums;letter-spacing:-.035em;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-summary .sc-info-name {
 line-height:1.25;letter-spacing:-.025em;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .v7-vpick {
 border-color:#e1daef;border-radius:18px;background:#fff;box-shadow:0 4px 16px #35204c06;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app [role="radio"][aria-checked="true"] {
 outline:2px solid #7c5cff;outline-offset:1px;background:#f3edff;box-shadow:0 3px 10px #6742b91a;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-footer {
 position:fixed !important;left:0;right:0;transform:none;bottom:20px !important;z-index:99 !important;height:auto !important;max-height:none !important;min-height:0 !important;overflow:visible !important;
 width:min(1080px,calc(100% - 48px)) !important;max-width:1080px !important;box-sizing:border-box;
 padding:12px !important;margin:0 auto !important;border:1px solid #e1d8f2;border-radius:22px;
 background:rgba(255,255,255,.97);box-shadow:0 8px 36px #30204e24;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale {
 gap:12px !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;max-width:none !important;width:100% !important;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale :is(.sc-btn,.sc-linkc) {
 min-height:52px !important;height:auto !important;width:100% !important;max-width:none !important;min-width:0 !important;line-height:1.4;border-radius:14px;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale #mx-add {
 background:#f7f3ff !important;color:#5835b4 !important;border:1px solid #cbbbec !important;
 box-shadow:none !important;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app>.twm-main {
 padding-bottom:220px !important;
}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-details-page {
 background:#fff;border:1px solid #e6e0ef;box-shadow:0 5px 20px #29204b05;
}
@media(min-width:1024px) {
 html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-summary {
  padding:24px;gap:14px;
 }
 html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-overview {
  gap:24px;align-items:start;
 }
 html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-gallery {
  position:sticky;top:20px;max-height:580px;
 }
 html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-summary .sc-cond {
  font-size:14px;line-height:1.5;
 }
}
@media(max-width:767px) {
 html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-footer {
  bottom:calc(12px + env(safe-area-inset-bottom,0px)) !important;width:calc(100% - 24px) !important;
  padding:10px !important;border-radius:18px;
 }
 html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale {gap:8px;}
 html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale :is(.sc-btn,.sc-linkc) {
  font-size:14px !important;min-height:48px !important;
 }
 html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-summary {padding:16px;gap:12px;}
 html.fx26 body #twm-app#twm-app :is(.hmx .pc .meta,.h2-pc .meta) {color:#53607a;}
}
@media(prefers-reduced-motion:reduce) {
 html.fx26 body #twm-app#twm-app .mx-notification-item[href] {transition:none;}
}
/* END FX4 visual refinement */

/* Opaque product cards do not need a blur containing block around fixed actions. */
html.fx26[data-twp6-route="product"] body #twm-app#twm-app :is(.s11b-summary,.s11b-overview,.s11b-pages,.s11b-shell,.sc-pdp,.mx-content,.twm-main){backdrop-filter:none !important;-webkit-backdrop-filter:none !important;perspective:none !important;content-visibility:visible !important;}

html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale :is(.sc-btn,.sc-linkc){display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:center !important;gap:8px !important;box-sizing:border-box;padding:10px 12px !important;}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale #mx-add span{display:inline !important;font-size:14px;line-height:1.35;white-space:normal;}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale .sc-svg{width:20px !important;height:20px !important;flex:0 0 20px;}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-summary .sc-info .sc-price{font-size:clamp(25px,2.5vw,34px) !important;line-height:1.25 !important;font-weight:900;color:#5835b4 !important;}

html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale{align-items:stretch !important;}
html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale :is(#mx-add,#sc-buy){align-self:stretch !important;}
@media(min-width:1024px){html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale :is(#mx-add,#sc-buy){height:52px !important;min-height:52px !important;max-height:52px !important;padding:10px 16px !important;}}

html.fx26[data-twp6-route="product"] body #twm-app#twm-app .s11b-sale :is(#mx-add,#sc-buy){margin:0 !important;}


/* FX5 — ID / Filipino readability. Monetary values and business states are untouched. */
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app :is(.hx-big,.hmx .rate .v,.sc-price,#twm-get) {
 font-variant-numeric:tabular-nums;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate {
 display:grid !important;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;
 gap:8px !important;padding:12px !important;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate .fl {
 width:28px !important;height:28px !important;min-width:0;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate .rt {min-width:0;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate .rt>b {
 font-size:15px !important;line-height:1.3;white-space:nowrap;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate .v {
 font-size:clamp(13px,3.4vw,15px) !important;line-height:1.45;white-space:nowrap;
 letter-spacing:-.025em;margin:2px 0;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate .u {
 font-size:11px !important;line-height:1.4;color:#f0eaff;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate .go {
 min-width:0 !important;max-width:120px;width:auto !important;gap:5px;
 padding:10px !important;font-size:13px !important;white-space:nowrap;min-height:44px;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate .go img {
 width:18px;height:18px;flex:0 0 18px;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl {
 gap:8px !important;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t {
 display:grid !important;grid-template-columns:28px minmax(0,1fr);align-items:center;
 gap:4px !important;padding:6px !important;min-width:0;min-height:60px;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .q {
 width:28px !important;height:32px !important;display:grid;place-items:center;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .q img {
 max-width:32px;width:32px;height:32px;object-fit:contain;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t b {
 font-size:13px !important;line-height:1.3;white-space:normal !important;
 overflow:visible !important;text-overflow:clip !important;word-break:normal;overflow-wrap:normal;
 min-width:0;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app :is(.hmx .pc .n,.h2-pc .name) {
 line-height:1.4;color:#142448;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .pc .p {
 font-size:15px !important;line-height:1.35;white-space:nowrap;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .twm-recv .k {
 line-height:1.45;overflow-wrap:normal;
}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .twm-recv #twm-get {
 line-height:1.25;white-space:nowrap;letter-spacing:-.025em;
}
@media(max-width:374px) {
 html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t b {font-size:12px !important;}
}
/* End FX5 locale presentation */

html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t{grid-template-columns:24px minmax(0,1fr);padding:5px !important;gap:3px !important;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .q{width:24px !important;}

html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate{grid-template-columns:28px minmax(0,1fr) max-content !important;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .rate .go{position:static !important;transform:none !important;display:inline-flex !important;align-items:center;justify-content:center;width:max-content !important;max-width:none !important;overflow:visible !important;flex:none !important;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t{grid-template-columns:26px minmax(0,1fr);padding:4px !important;gap:3px !important;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .q{width:26px !important;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .q :is(img,svg){width:26px !important;height:26px !important;max-width:26px !important;}

html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .q{position:static !important;transform:none !important;margin:0 !important;padding:0 !important;box-sizing:border-box;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .q :is(img,svg){position:static !important;transform:none !important;margin:0 !important;display:block !important;}
html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t b{position:static !important;transform:none !important;margin:0 !important;padding:0 !important;width:auto !important;}

html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t{column-gap:7px !important;}

@media(max-width:374px){html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t{grid-template-columns:minmax(0,1fr) !important;grid-template-rows:26px auto;justify-items:center;row-gap:3px !important;padding:4px !important;text-align:center;}html.fx26:is([data-fx-locale="id"],[data-fx-locale="fil"]) body #twm-app#twm-app .hmx .tl .t b{font-size:12px !important;text-align:center;}}


/* 20261111: order detail only. Keep the existing hero, payment cards and barcodes. */
html[data-twp6-route="order-detail"] #twm-app .mx-content{max-width:900px;min-width:0;margin-inline:auto;display:grid;gap:16px}
#twm-app .mx-od-hero,#twm-app .mx-od-summary,#twm-app .mx-od-chat,#twm-app .mx-od-timeline{margin:0;min-width:0;overflow-wrap:anywhere}
#twm-app .mx-od-summary,#twm-app .mx-od-chat,#twm-app .mx-od-timeline{padding:20px;border:1px solid #e4e1ef;border-radius:20px;background:#fff;box-shadow:0 8px 26px #20255d0b}
#twm-app :is(.mx-od-summary,.mx-od-chat,.mx-od-timeline)>h2{margin:0 0 12px;font-size:clamp(17px,2vw,20px);font-weight:900;color:#10234c}
#twm-app .mx-od-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;max-width:74%}
#twm-app .mx-od-hero-meta .mx-pill{white-space:normal;line-height:1.35;text-align:left}
#twm-app .mx-od-code,#twm-app .mx-od-date{color:#47546c;font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}
#twm-app .mx-od-hero-total{display:grid;gap:3px;margin-top:16px;max-width:74%;color:#344465;font-size:13px;font-weight:750}
#twm-app .mx-od-hero-total strong{color:#16234b;font-size:clamp(22px,3.5vw,29px);line-height:1.15;font-weight:950;font-variant-numeric:tabular-nums}
#twm-app .mx-od-date{margin:10px 0 0}
#twm-app .mx-od-timeline ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#twm-app .mx-od-timeline li{align-items:center;min-width:0;padding:10px 8px;border-radius:12px;gap:8px;line-height:1.35}
#twm-app .mx-od-timeline li.current{color:#3c2490;background:#f3eeff}
#twm-app .mx-od-timeline li.current .mx-timeline-node{background:#6841d7;color:#fff;border-color:#6841d7}
#twm-app .mx-od-timeline li small{font-variant-numeric:tabular-nums}
#twm-app .mx-od-items{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:6px}
#twm-app .mx-od-items li{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:12px;padding:12px;border-radius:12px;background:#f6f5fb;color:#17254a;font-weight:750;font-size:14px}
#twm-app .mx-od-items b,#twm-app .mx-od-costs dd{font-variant-numeric:tabular-nums}
#twm-app :is(.mx-od-costs,.mx-od-delivery){margin:0;display:grid;gap:0}
#twm-app :is(.mx-od-costs,.mx-od-delivery)>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:10px;padding:9px 0;border-bottom:1px solid #eeedf5;font-size:14px;line-height:1.45}
#twm-app :is(.mx-od-costs,.mx-od-delivery) dt{color:#4f5a73}
#twm-app :is(.mx-od-costs,.mx-od-delivery) dd{margin:0;text-align:right;color:#18274d;font-weight:800;overflow-wrap:anywhere}
#twm-app .mx-od-costs .mx-od-grand{font-weight:900;padding:12px;margin:6px 0 10px;background:#f0eaff;border:0;border-radius:12px}
#twm-app .mx-od-grand dt,#twm-app .mx-od-grand dd{color:#37238a;font-weight:900}
#twm-app .mx-od-original{margin-top:12px;border:1px solid #e4e1ef;border-radius:12px;padding:10px 12px;color:#44506e;font-size:13px}
#twm-app .mx-od-original summary{cursor:pointer;font-weight:800}
#twm-app .mx-od-original p,#twm-app .mx-od-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;line-height:1.55}
#twm-app .mx-od-thread{display:grid;gap:8px;margin:0 0 14px}
#twm-app .mx-od-empty,#twm-app .mx-od-message{margin:0;padding:12px 14px;border-radius:14px;background:#f6f5fb;color:#46536f;font-size:14px}
#twm-app .mx-od-message.mine{background:#f3efff}
#twm-app .mx-od-message header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;color:#1b2850}
#twm-app .mx-od-message header small{color:#54617a}
#twm-app .mx-od-attachment{margin:8px 0 0}
#twm-app .mx-od-attachment img{display:block;width:auto;height:auto;max-width:100%;max-height:480px;border-radius:10px}
#twm-app .mx-od-attachment figcaption{font-size:13px;color:#54617a}
#twm-app .mx-od-chat #mx-order-message{margin:0;padding-top:12px;border-top:1px solid #e7e4f2;display:grid;gap:10px}
#twm-app .mx-od-chat .twm-field{margin:0;min-width:0}
/* The site's older form styles use !important for single-line input height. */
html.fx26[data-twp6-route="order-detail"] #twm-app .mx-od-chat #mx-order-message textarea.twm-input{box-sizing:border-box;width:100%;height:auto!important;min-height:90px!important;resize:vertical;font-size:16px;line-height:1.5;padding:12px}
#twm-app .mx-od-send{display:flex;justify-content:flex-end;width:100%;justify-self:stretch}
#twm-app .mx-od-send .twm-btn{min-height:44px;width:auto;min-width:156px;margin:0;padding:10px 18px}
/* Override the old gradient CTA only while this composer cannot send. */
html.fx26[data-twp6-route="order-detail"] #twm-app .mx-od-chat #mx-order-message .mx-od-send .twm-btn:disabled{background:#eeedf5!important;color:#626b80!important;box-shadow:none!important;opacity:1;cursor:default}
#twm-app .mx-od-chat :focus-visible,#twm-app .mx-od-original summary:focus-visible{outline:2px solid #5e36cf;outline-offset:3px}
@media(max-width:700px){
  html[data-twp6-route="order-detail"] #twm-app .mx-content{gap:12px}
  #twm-app .mx-od-summary,#twm-app .mx-od-chat,#twm-app .mx-od-timeline{padding:14px;border-radius:16px}
  #twm-app .mx-od-timeline ol{grid-template-columns:1fr;gap:3px}
  #twm-app .mx-od-timeline li{padding:8px}
  #twm-app .mx-od-hero h2{max-width:100%}
  #twm-app .mx-od-hero-meta,#twm-app .mx-od-hero-total{max-width:72%}
  #twm-app .mx-od-hero .v7-oart{right:12px;width:78px;height:72px;bottom:12px;top:auto;transform:none}
  #twm-app .mx-od-hero .v7-oart img{max-width:53px;max-height:60px;object-fit:contain}
  #twm-app .mx-od-hero .v7-oart img:first-child{max-width:45px;max-height:45px}
  #twm-app .mx-od-items li{gap:8px;padding:10px;font-size:13px}
  #twm-app .mx-od-send .twm-btn{width:100%}
}
