/* MyPage preview placed directly after the home offer carousel. */
body.duilink-theme .mypageShowcase{overflow:hidden;background:linear-gradient(180deg,transparent,rgba(93,53,207,.035) 45%,transparent);}
body.duilink-theme .mypageShowcase .myPageIntro{max-width:720px;margin:0 auto 34px;text-align:center;}
body.duilink-theme .mypageShowcase .myPageIntro .pillTag{display:inline-block;margin:0 0 10px;}
body.duilink-theme .mypageShowcase .myPageIntro .h2{margin:0 0 10px;}
body.duilink-theme .mypageShowcase .myPageIntro p:last-child{margin:0;color:var(--dui-muted);line-height:1.55;}
body.duilink-theme .myPageStage{display:grid;grid-template-columns:minmax(170px,1fr) minmax(260px,320px) minmax(170px,1fr);gap:clamp(20px,4vw,58px);align-items:center;max-width:1060px;margin:0 auto;}
body.duilink-theme .myPageCalloutColumn{display:grid;gap:28px;}
body.duilink-theme .myPageCallout{position:relative;z-index:2;max-width:240px;padding:15px 16px;border:1px solid var(--dui-border);border-radius:15px;background:var(--dui-surface);box-shadow:0 10px 28px rgba(26,24,42,.07);}
body.duilink-theme .myPageCallout--left{justify-self:end;text-align:right;}
body.duilink-theme .myPageCallout--right{justify-self:start;}
body.duilink-theme .myPageCallout strong{display:block;margin-bottom:4px;color:var(--dui-text);font-size:15px;}
body.duilink-theme .myPageCallout>span:not(.myPageCalloutNum):not(.myPagePointer){display:block;color:var(--dui-muted);font-size:13px;line-height:1.45;}
body.duilink-theme .myPagePointer{position:absolute;z-index:4;top:50%;display:grid;place-items:center;width:25px;height:25px;border:2px solid var(--dui-surface);border-radius:50%;background:var(--dui-accent-strong);color:#fff;font-size:16px;font-weight:900;line-height:1;box-shadow:0 3px 10px rgba(38,22,79,.18);transform:translateY(-50%);}
body.duilink-theme .myPageCallout--left .myPagePointer{right:-13px;}
body.duilink-theme .myPageCallout--right .myPagePointer{left:-13px;}
body.duilink-theme .myPageCalloutNum{display:inline-grid!important;place-items:center;width:25px;height:25px;margin-bottom:8px;border-radius:50%;background:var(--dui-accent);color:#19151f!important;font-size:12px!important;font-weight:900;line-height:1;}
body.duilink-theme .myPageCallout--left::after,body.duilink-theme .myPageCallout--right::after{content:"";position:absolute;top:50%;width:clamp(24px,4vw,58px);border-top:2px solid var(--dui-accent-strong);opacity:.95;}
body.duilink-theme .myPageCallout--left::after{left:100%;}
body.duilink-theme .myPageCallout--right::after{right:100%;}
body.duilink-theme .myPageCallout--left::before,body.duilink-theme .myPageCallout--right::before{content:"";position:absolute;top:calc(50% - 4px);width:7px;height:7px;border-top:1.5px solid var(--dui-accent-strong);border-right:1.5px solid var(--dui-accent-strong);}
body.duilink-theme .myPageCallout--left::before{left:calc(100% + clamp(24px,4vw,58px) - 6px);transform:rotate(45deg);}
body.duilink-theme .myPageCallout--right::before{right:calc(100% + clamp(24px,4vw,58px) - 6px);transform:rotate(225deg);}
body.duilink-theme .myPageDevice{position:relative;z-index:1;width:100%;padding:9px;border:1px solid rgba(255,255,255,.72);border-radius:35px;background:linear-gradient(145deg,#faf9ff 0%,#c5bdde 23%,#24202e 52%,#f6f4fb 100%);box-shadow:0 26px 60px rgba(37,25,79,.2),inset 0 0 0 1px rgba(255,255,255,.72);transform:rotate(-1.2deg);transition:transform .35s ease,box-shadow .35s ease;}
body.duilink-theme .myPageDevice:hover{transform:rotate(0) translateY(-4px);box-shadow:0 32px 68px rgba(37,25,79,.25),inset 0 0 0 1px rgba(255,255,255,.72);}
body.duilink-theme .myPageDevice::before{content:"";position:absolute;z-index:2;top:14px;left:50%;width:66px;height:16px;border-radius:0 0 12px 12px;background:#211e29;transform:translateX(-50%);}
body.duilink-theme .myPageScreen{overflow:hidden;min-height:566px;padding:48px 15px 17px;border-radius:27px;background:linear-gradient(155deg,#e6d8ff 0%,#c5a9f7 48%,#8253e7 100%);color:#181321;}
body.duilink-theme .myPageProfile{text-align:center;}
body.duilink-theme .myPageAvatar{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 8px;border:3px solid rgba(255,255,255,.8);border-radius:50%;background:linear-gradient(145deg,#fff,#c7b5f5);color:#5d35cf;font-size:17px;font-weight:900;box-shadow:0 5px 14px rgba(36,16,83,.16);}
body.duilink-theme .myPageBrand{margin:0 0 10px;color:#4d34a0;font-size:9px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;}
body.duilink-theme .myPageScreen h3{margin:0;font-size:25px;line-height:1.1;letter-spacing:-.04em;}
body.duilink-theme .myPageRole{margin:9px 0 13px;color:#4d3b71;font-size:12px;}
body.duilink-theme .myPageSocials{display:flex;justify-content:center;gap:7px;margin:0 0 14px;}
body.duilink-theme .myPageSocials span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#5d35cf;color:#fff;font-size:11px;font-weight:900;box-shadow:0 4px 9px rgba(47,21,113,.17);}
body.duilink-theme .myPageActionMain,.myPageActionPair span{display:grid;place-items:center;min-height:34px;border:1px solid rgba(255,255,255,.75);border-radius:22px;background:linear-gradient(180deg,#fff,#d4c4ff);color:#28194d;font-size:12px;font-weight:800;box-shadow:0 4px 9px rgba(48,23,106,.13);}
body.duilink-theme .myPageActionMain{margin-bottom:8px;background:linear-gradient(180deg,#7a43ef,#5525d4);color:white;}
body.duilink-theme .myPageActionPair{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px;}
body.duilink-theme .myPageContacts{overflow:hidden;border:1px solid rgba(255,255,255,.65);border-radius:13px;background:rgba(255,255,255,.62);}
body.duilink-theme .myPageContactsTitle{padding:8px 10px;border-bottom:1px solid rgba(91,58,150,.13);color:#5c536d;font-size:9px;font-weight:900;letter-spacing:.12em;}
body.duilink-theme .myPageContactRow{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid rgba(91,58,150,.12);color:#4f4760;font-size:10px;}
body.duilink-theme .myPageContactRow:last-child{border-bottom:0;}
body.duilink-theme .myPageContactIcon{display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;border-radius:50%;background:#663ad1;color:#fff;font-size:9px;font-weight:800;}
body.duilink-theme .myPageQrRow{display:flex;align-items:center;gap:10px;margin-top:12px;padding:8px 10px;border:1px solid rgba(255,255,255,.55);border-radius:12px;background:rgba(255,255,255,.35);color:#3e315b;font-size:10px;font-weight:700;}
body.duilink-theme .myPageQr{display:grid;grid-template-columns:repeat(5,4px);grid-template-rows:repeat(5,4px);gap:2px;padding:4px;border-radius:5px;background:white;}
body.duilink-theme .myPageQr i{display:block;width:4px;height:4px;background:#211638;}
body.duilink-theme .myPageQr i:nth-child(2),body.duilink-theme .myPageQr i:nth-child(4),body.duilink-theme .myPageQr i:nth-child(6),body.duilink-theme .myPageQr i:nth-child(9),body.duilink-theme .myPageQr i:nth-child(13),body.duilink-theme .myPageQr i:nth-child(15),body.duilink-theme .myPageQr i:nth-child(18),body.duilink-theme .myPageQr i:nth-child(22),body.duilink-theme .myPageQr i:nth-child(24){background:#fff;}
@media(max-width:820px){
 body.duilink-theme .myPagePointer{display:none;}
 body.duilink-theme .myPageStage{grid-template-columns:minmax(0,1fr) minmax(230px,290px);gap:18px 24px;max-width:700px;}
 body.duilink-theme .myPageCalloutColumn--left{grid-column:1;grid-row:1;align-self:end;}
 body.duilink-theme .myPageCalloutColumn--right{grid-column:1;grid-row:2;align-self:start;}
 body.duilink-theme .myPageDevice{grid-column:2;grid-row:1 / span 2;}
 body.duilink-theme .myPageCalloutColumn{gap:14px;}
 body.duilink-theme .myPageCallout{max-width:none;}
 body.duilink-theme .myPageCallout--left{justify-self:stretch;text-align:left;}
 body.duilink-theme .myPageCallout--left::after,body.duilink-theme .myPageCallout--left::before{display:none;}
 body.duilink-theme .myPageCallout--right::after,body.duilink-theme .myPageCallout--right::before{display:none;}
}
@media(max-width:560px){
 body.duilink-theme .mypageShowcase .myPageIntro{margin-bottom:24px;text-align:left;}
 body.duilink-theme .myPageStage{grid-template-columns:minmax(0,1fr);gap:18px;}
 body.duilink-theme .myPageDevice{grid-column:1;grid-row:1;width:min(100%,310px);}
 body.duilink-theme .myPageScreen{min-height:554px;padding:46px 14px 16px;}
 body.duilink-theme .myPageCalloutColumn--left,body.duilink-theme .myPageCalloutColumn--right{grid-column:1;grid-row:auto;grid-template-columns:1fr;gap:10px;}
 body.duilink-theme .myPageCallout{padding:12px 14px;}
 body.duilink-theme .myPageCalloutNum{display:inline-grid!important;float:left;margin:0 9px 0 0;}
 body.duilink-theme .myPageCallout strong{display:inline-block;margin:2px 0 3px;}
}
@media(prefers-reduced-motion:reduce){body.duilink-theme .myPageDevice{transition:none;}body.duilink-theme .myPageDevice:hover{transform:none;}}


/* Original live MyPage preview and action legend. */
body.duilink-theme .myPageShowcaseLayout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,322px);gap:clamp(36px,7vw,88px);align-items:start;max-width:1060px;margin:0 auto;}
body.duilink-theme .myPageInfo{min-width:0;}
body.duilink-theme .mypageShowcase .myPageIntro{max-width:none;margin:0 0 24px;text-align:left;}
body.duilink-theme .mypageShowcase .myPageIntro .pillTag{display:inline-block;margin:0 0 10px;}
body.duilink-theme .mypageShowcase .myPageIntro .h2{margin:0 0 10px;}
body.duilink-theme .mypageShowcase .myPageIntro p:last-child{margin:0;color:var(--dui-muted);line-height:1.55;}
body.duilink-theme .myPageLegend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 22px;margin:0;padding:0;list-style:none;}
body.duilink-theme .myPageLegendItem{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:center;min-width:0;padding:12px 0;border-top:1px solid var(--dui-border);}
body.duilink-theme .myPageLegendIcon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--mypage-accent,#176b5b);color:#fff;transition:background-color .8s ease,transform .25s ease;}
body.duilink-theme .myPageLegendIcon svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
body.duilink-theme .myPageLegendCopy{display:grid;gap:3px;min-width:0;}
body.duilink-theme .myPageLegendCopy strong{color:var(--dui-text);font-size:14px;line-height:1.25;}
body.duilink-theme .myPageLegendCopy>span{color:var(--dui-muted);font-size:12px;line-height:1.4;}
body.duilink-theme .myPageDevice{position:relative;z-index:1;width:min(100%,322px);margin:0 auto;padding:11px;border:1px solid rgba(255,255,255,.72);border-radius:38px;background:linear-gradient(145deg,#f8fafc 0%,#b8c0cc 22%,#1f2937 52%,#f3f4f6 100%);box-shadow:0 22px 50px rgba(15,23,42,.24),inset 0 0 0 1px rgba(255,255,255,.72);transform:none;transition:box-shadow .35s ease;}
body.duilink-theme .myPageDevice::before{content:"";position:absolute;z-index:2;inset:4px;width:auto;height:auto;border:1px solid rgba(15,23,42,.35);border-radius:34px;background:transparent;transform:none;pointer-events:none;}
body.duilink-theme .myPageScreen{position:relative;overflow:hidden;width:100%;aspect-ratio:720/1616;border-radius:28px;background:#f8fafc;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);}
body.duilink-theme .myPageScreen iframe{display:block;width:133.333%;height:133.333%;border:0;transform:scale(.75);transform-origin:top left;background:#f8fafc;}
body.duilink-theme .myPageScreen::-webkit-scrollbar{display:none;}
@media(max-width:760px){
 body.duilink-theme .myPageShowcaseLayout{grid-template-columns:minmax(0,1fr);gap:28px;}
 body.duilink-theme .myPageLegend{grid-template-columns:repeat(2,minmax(0,1fr));}
 body.duilink-theme .myPageDevice{width:min(100%,300px);}
}
@media(max-width:480px){
 body.duilink-theme .myPageLegend{grid-template-columns:minmax(0,1fr);gap:0;}
 body.duilink-theme .myPageLegendItem{padding:10px 0;}
}

/* Local MyPage snapshot carousel: uses the live DuiLink theme palette without cross-site iframe access. */
body.duilink-theme .myPageScreen{isolation:isolate;}
body.duilink-theme .myPagePreview{
  --mock-accent:#c7a462;--mock-accent-soft:rgba(199,164,98,.16);--mock-accent-strong:#23636a;
  --mock-surface:#fff;--mock-surface-2:#fff;--mock-text:#182528;--mock-muted:#59676a;--mock-button-text:#17140d;
  width:100%;height:100%;overflow:hidden;box-sizing:border-box;padding:22px 11px 10px;
  background:radial-gradient(circle at top left,var(--mock-accent-soft),transparent 38%),linear-gradient(145deg,var(--mock-surface),var(--mock-surface-2));
  color:var(--mock-text);font-family:var(--mock-font,Arial,Helvetica,sans-serif);transition:background .55s ease,color .45s ease;
}
body.duilink-theme .myPageMockStatus{display:flex;justify-content:space-between;align-items:center;height:12px;margin:0 2px 8px;font:700 8px/1 Arial,sans-serif;letter-spacing:.02em;color:var(--mock-text);opacity:.8;}
body.duilink-theme .myPageMockBody{display:flex;flex-direction:column;align-items:center;height:calc(100% - 20px);min-height:0;}
body.duilink-theme .myPageMockPhoto{display:block;flex:0 0 48px;width:48px;height:48px;margin:0 auto 5px;border:2px solid var(--mock-accent-strong);border-radius:50%;object-fit:cover;object-position:center 40%;box-shadow:0 3px 10px rgba(0,0,0,.12);}
body.duilink-theme .myPageMockLogo{display:grid;place-items:center;width:min(132px,82%);height:38px;margin:0 0 5px;padding:4px 10px;border-radius:7px;background:rgba(255,255,255,.82);box-shadow:0 2px 8px rgba(0,0,0,.08);}\nbody.duilink-theme .myPageMockLogo img{display:block;width:100%;height:100%;object-fit:contain;}
body.duilink-theme .myPageMockLogo span{padding-left:2px;font-size:8px;}
body.duilink-theme .myPageMockName{margin:0;color:var(--mock-text);font-size:20px;line-height:1.08;letter-spacing:-.035em;text-align:center;}
body.duilink-theme .myPageMockRole{margin:5px 0 8px;color:var(--mock-muted);font-size:9px;line-height:1.2;}
body.duilink-theme .myPageMockSocials{display:flex;justify-content:center;gap:4px;width:100%;margin:0 0 9px;}
body.duilink-theme .myPageMockSocials span{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:50%;background:var(--mock-accent-strong);color:var(--mock-button-text);font:800 9px/1 Arial,sans-serif;box-shadow:0 2px 5px rgba(0,0,0,.12);}
body.duilink-theme .myPageMockActions{width:100%;display:grid;gap:5px;margin:0 0 8px;}
body.duilink-theme .myPageMockSave,body.duilink-theme .myPageMockActions>div span{display:grid;place-items:center;min-height:24px;padding:0 7px;border:1px solid var(--mock-accent-strong);border-radius:999px;background:var(--mock-accent-strong);color:var(--mock-button-text);font-size:9px;font-weight:800;line-height:1;}
body.duilink-theme .myPageMockActions>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;}
body.duilink-theme .myPageMockActions>div span{background:linear-gradient(180deg,var(--mock-surface),var(--mock-surface-2));color:var(--mock-text);}
body.duilink-theme .myPageMockContacts{display:grid;width:100%;overflow:hidden;border:1px solid var(--mock-accent);border-radius:9px;background:color-mix(in srgb,var(--mock-surface) 78%,var(--mock-accent-soft));}
body.duilink-theme .myPageMockContacts strong{padding:6px 8px;border-bottom:1px solid var(--mock-accent);color:var(--mock-muted);font-size:7px;letter-spacing:.09em;}
body.duilink-theme .myPageMockContacts span{overflow:hidden;padding:5px 8px;border-bottom:1px solid var(--mock-accent-soft);color:var(--mock-muted);font-size:8px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap;}
body.duilink-theme .myPageMockContacts span:last-child{border-bottom:0;}
body.duilink-theme .myPageMockQrWrap{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:7px;color:var(--mock-muted);font-size:8px;font-weight:700;}
body.duilink-theme .myPageMockQr{display:flex;align-items:center;justify-content:center;padding:3px;border:1px solid var(--mock-accent);border-radius:5px;background:var(--mock-surface);box-shadow:0 2px 7px rgba(0,0,0,.1);}
body.duilink-theme .myPageMockQr i{display:block;width:3px;height:3px;background:transparent;}
body.duilink-theme .myPageMockQr i.is-dark{background:var(--mock-accent-strong);}
body.duilink-theme .myPageStyleNav{display:flex;align-items:center;justify-content:center;gap:9px;margin:13px auto 7px;color:var(--dui-muted);font-size:12px;font-weight:800;}
body.duilink-theme .myPageStyleNav button{display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid var(--dui-border);border-radius:50%;background:var(--dui-surface);color:var(--dui-text);font-size:20px;line-height:1;cursor:pointer;}
body.duilink-theme .myPageStyleNav button:hover{border-color:var(--dui-accent-strong);color:var(--dui-accent-strong);}
body.duilink-theme .myPageStyleDots{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;max-width:310px;margin:0 auto;}
body.duilink-theme .myPageStyleDot{display:grid;place-items:center;flex:0 0 8px;width:8px;height:8px;margin:0;padding:0;border:0;border-radius:50%;background:#c9c5d2;cursor:pointer;}
body.duilink-theme .myPageStyleDot[aria-current="true"]{background:var(--dui-accent-strong);box-shadow:0 0 0 2px var(--dui-accent-soft);}
@media(max-width:760px){body.duilink-theme .myPageStyleNav{margin-top:11px;}}
@media(prefers-reduced-motion:reduce){body.duilink-theme .myPagePreview{transition:none;}}

/* Keep carousel controls outside the metallic phone frame. */
body.duilink-theme .myPageDeviceColumn{width:min(100%,322px);margin:0 auto;}
body.duilink-theme .myPageDevice{width:100%;box-sizing:border-box;transform:none;}
body.duilink-theme .myPageDevice:hover{transform:none;box-shadow:0 26px 60px rgba(15,23,42,.24),inset 0 0 0 1px rgba(255,255,255,.72);}
body.duilink-theme .myPageMockContacts{flex:1;grid-template-rows:auto repeat(6,minmax(22px,1fr));}
body.duilink-theme .myPageMockContacts span{display:flex;align-items:center;min-height:0;}
body.duilink-theme .myPageMockQrWrap{margin-top:8px;}
body.duilink-theme .myPageMockSocials{gap:3px;}
body.duilink-theme .myPageMockSocials span{flex-basis:19px;width:19px;height:19px;font-size:8px;}
@media(max-width:760px){body.duilink-theme .myPageDeviceColumn{width:min(100%,300px);}}

body.duilink-theme .myPageMockQr{display:flex;align-items:center;justify-content:center;flex:0 0 72px;width:72px;height:72px;padding:3px;box-sizing:border-box;}
body.duilink-theme .myPageMockQr svg{display:block;width:100%;height:100%;}
body.duilink-theme .myPageMockQr svg path{fill:var(--mock-accent-strong);}

body.duilink-theme .myPageMockQr img{display:block;width:100%;height:100%;object-fit:contain;}

/* Real public MyPage rendered in the phone display. */
body.duilink-theme .myPageScreen{padding:0!important;background:#f8fafc!important;}
body.duilink-theme .myPageScreen .myPagePreview{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;border-radius:inherit;background:#f8fafc;}
body.duilink-theme .myPageScreen iframe.myPageFrame{display:block;width:100%;height:100%;border:0;transform:none;background:#f8fafc;pointer-events:none;}

/* Home journey: clear, alternating steps matching the updated landing page. */
body.duilink-theme .journeyList{display:grid;gap:22px;max-width:1000px;margin:34px auto 0;}
body.duilink-theme .journeyStep{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.72fr);align-items:stretch;gap:clamp(20px,4vw,48px);padding:clamp(22px,4vw,38px);border:1px solid var(--dui-border);border-radius:24px;background:linear-gradient(135deg,var(--dui-surface),color-mix(in srgb,var(--dui-surface) 92%,var(--dui-accent-soft)));box-shadow:0 12px 34px rgba(24,39,43,.06);}

body.duilink-theme .journeyCopy{align-self:center;}
body.duilink-theme .journeyStepHead{display:flex;align-items:center;gap:12px;margin:0 0 12px;}
body.duilink-theme .journeyStepNum{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:var(--dui-accent-strong);color:#fff;font-weight:900;}
body.duilink-theme .journeyCopy h3{margin:0;color:var(--dui-text);font-size:clamp(21px,2.5vw,28px);line-height:1.15;}
body.duilink-theme .journeyCopy p{margin:0;color:var(--dui-muted);font-size:16px;line-height:1.6;}
body.duilink-theme .journeyVisual{display:grid;place-items:center;min-height:180px;padding:18px;border-radius:20px;background:radial-gradient(circle at 20% 18%,rgba(255,255,255,.85),transparent 45%),linear-gradient(145deg,var(--dui-accent-soft),color-mix(in srgb,var(--dui-accent) 24%,var(--dui-surface)));color:var(--dui-accent-strong);text-align:center;}
body.duilink-theme .journeyVisual svg{width:62px;height:62px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
body.duilink-theme .journeyVisual strong{display:block;margin-top:10px;color:var(--dui-text);font-size:15px;}
body.duilink-theme .journeyVisual span{display:block;margin-top:4px;color:var(--dui-muted);font-size:13px;line-height:1.4;}
body.duilink-theme .journeyNote{margin-top:14px!important;padding:12px 14px;border-left:3px solid var(--dui-accent-strong);border-radius:0 10px 10px 0;background:var(--dui-accent-soft);font-size:14px!important;}
body.duilink-theme .journeyCta{margin-top:30px;text-align:center;}
@media(max-width:680px){body.duilink-theme .journeyStep,body.duilink-theme .journeyStep:nth-child(even){grid-template-columns:minmax(0,1fr);gap:18px;padding:20px;}body.duilink-theme .journeyStep:nth-child(even) .journeyVisual,body.duilink-theme .journeyStep:nth-child(even) .journeyCopy{grid-column:1;grid-row:auto;}body.duilink-theme .journeyVisual{min-height:130px;}body.duilink-theme .journeyVisual svg{width:46px;height:46px;}}

body.duilink-theme .journeyIntro{max-width:760px;margin:0 auto 28px;text-align:center;}
body.duilink-theme .journeyIntro .pillTag{display:inline-block;margin:0 0 10px;}
body.duilink-theme .journeyIntro .h2{margin:0 0 10px;}
body.duilink-theme .journeyIntro>p:last-child{margin:0;color:var(--dui-muted);line-height:1.6;}
@media(max-width:680px){body.duilink-theme .journeyIntro{text-align:left;margin-bottom:22px;}}

/* All journey steps use the same left-copy, right-visual order. */
body.duilink-theme .journeyCta{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;}
body.duilink-theme .journeyCta>p{margin:0;}
body.duilink-theme .journeyStepNum{background:#5eead4;color:#064e3b;}
body.duilink-theme .journeyVisual{background:radial-gradient(circle at 20% 18%,rgba(255,255,255,.9),transparent 45%),linear-gradient(145deg,rgba(94,234,212,.22),rgba(45,212,191,.12));color:#0f766e;}
body.duilink-theme .myPageLegendIcon{background:#5eead4!important;color:#064e3b!important;transition:background-color .25s ease,transform .25s ease;}


/* 2026-10-16: brand mint and alternating home section surfaces. */
body.duilink-theme #offerte,body.duilink-theme #offers{background:#f4f6f4;}
body.duilink-theme .mypageShowcase{background:#fff;}
body.duilink-theme #come-funziona,body.duilink-theme #how-it-works{background:#f4f6f4;}
body.duilink-theme .hero{background:#fff;}
body.duilink-theme .myPageShowcaseLayout{width:100%;max-width:1200px;margin-inline:auto;}
body.duilink-theme .journeyStart{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.35fr);align-items:center;gap:clamp(24px,4vw,56px);max-width:none;margin:0;}
body.duilink-theme .journeyStart .journeyIntro{max-width:none;margin:0;text-align:left;}
body.duilink-theme .journeyStart .journeyStep{min-width:0;}
body.duilink-theme .journeyList{max-width:none;margin:30px 0 0;}
body.duilink-theme .journeyStepNum{background:#5eead4;color:#064e3b;}
@media(max-width:900px){
 body.duilink-theme .journeyStart{grid-template-columns:minmax(0,1fr);gap:20px;}
 body.duilink-theme .journeyStart .journeyIntro{max-width:680px;}
 body.duilink-theme .journeyStart .journeyStep{grid-template-columns:minmax(0,1fr) minmax(190px,.72fr);}
}
@media(max-width:680px){
 body.duilink-theme .journeyStart .journeyStep{grid-template-columns:minmax(0,1fr);}
 body.duilink-theme .journeyList{margin-top:20px;}
}


/* Compact homepage journey: three setup steps plus one shared card note. */
body.duilink-theme .journeyStart{grid-template-columns:minmax(250px,.78fr) minmax(0,1.55fr);gap:clamp(22px,3.4vw,44px);align-items:start;}
body.duilink-theme .journeyStepsCompact{display:grid;gap:12px;min-width:0;}
body.duilink-theme .journeyStepsCompact .journeyStep{grid-template-columns:minmax(0,1fr) minmax(130px,.62fr);gap:14px;padding:14px 16px;align-items:center;}
body.duilink-theme .journeyStepsCompact .journeyStep h3{font-size:clamp(15px,1.25vw,18px);}
body.duilink-theme .journeyStepsCompact .journeyStep p{margin:6px 0 0;font-size:13px;line-height:1.45;}
body.duilink-theme .journeyStepsCompact .journeyVisual{min-height:76px;padding:10px 12px;}
body.duilink-theme .journeyStepsCompact .journeyVisual svg{width:30px;height:30px;}
body.duilink-theme .journeyCardInfo{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0 0;padding:20px 24px;border:1px solid rgba(15,23,42,.1);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05);}
body.duilink-theme .journeyCardInfo h3{margin:0 0 6px;font-size:16px;}
body.duilink-theme .journeyCardInfo p{margin:0;color:#536173;font-size:14px;line-height:1.55;}
body.duilink-theme .journeyList{display:none;}
@media(max-width:900px){body.duilink-theme .journeyStart{grid-template-columns:minmax(0,1fr);gap:20px;}body.duilink-theme .journeyStepsCompact{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}body.duilink-theme .journeyStepsCompact .journeyStep{grid-template-columns:minmax(0,1fr);align-content:start;padding:14px;}}
@media(max-width:680px){body.duilink-theme .journeyStepsCompact{grid-template-columns:minmax(0,1fr);}body.duilink-theme .journeyStepsCompact .journeyStep{grid-template-columns:minmax(0,1fr) 110px;align-items:center;}body.duilink-theme .journeyStepsCompact .journeyVisual{min-height:70px;padding:8px;}body.duilink-theme .journeyStepsCompact .journeyVisual span{display:none;}body.duilink-theme .journeyCardInfo{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px;padding:18px;}}

/* Consistent step placement and full-height phone preview. */
body.duilink-theme .journeyStepsCompact .journeyStep .journeyCopy{grid-column:1;grid-row:1}
body.duilink-theme .journeyStepsCompact .journeyStep .journeyVisual{grid-column:2;grid-row:1}
body.duilink-theme .journeyCta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:850px;margin:30px auto 0}
body.duilink-theme .journeyCta .btn{width:100%;box-sizing:border-box}
body.duilink-theme .myPageScreen{min-height:0;aspect-ratio:375/850}
body.duilink-theme .myPagePreview{padding:0;position:relative}
body.duilink-theme .myPageScreen iframe.myPageFrame{position:absolute;top:0;left:0;max-width:none;transform-origin:top left}
@media(min-width:681px) and (max-width:900px){body.duilink-theme .journeyStepsCompact .journeyStep .journeyVisual{grid-column:1;grid-row:2}}
@media(max-width:760px){body.duilink-theme .myPageDeviceColumn{grid-row:1}body.duilink-theme .myPageInfo{grid-row:2}}
@media(max-width:680px){body.duilink-theme .journeyCta{grid-template-columns:1fr;max-width:360px}}

body.duilink-theme .journeyStepsCompact{grid-auto-rows:1fr}


/* Keep the final journey information panel legible in dark mode. */
@media (prefers-color-scheme: dark) {
  body.duilink-theme .journeyCardInfo {
    background:#202b2d;
    border-color:rgba(240,247,245,.16);
    box-shadow:0 10px 30px rgba(0,0,0,.16);
  }
  body.duilink-theme .journeyCardInfo h3 {
    color:#f2f7f6;
  }
  body.duilink-theme .journeyCardInfo p {
    color:#b5c4c2;
  }
}
