/* Three distinct, selectable installation stories. */
body .integration-grid { gap: 18px; }
body .integration-card { padding: 25px; border-radius: 26px; display: flex; flex-direction: column; min-width: 0; gap: 0; background: radial-gradient(ellipse at 90% 0,#ff745c08,transparent 65%),#18131be8; transition: border-color .25s,box-shadow .25s; }
body .integration-card:focus-within { border-color: #ff745c55; box-shadow: 0 0 0 1px #ff745c08; }
.route-card-top { display: flex; align-items: center; gap: 11px; }
.route-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ff745c28; border-radius: 13px; background: #ff745c0c; color: #ff9d88; flex-shrink: 0; }
.route-icon .icon { width: 24px; height: 24px; }
.route-category { font-size: 11px; color: #c4b6c5; }
.route-card-number { margin-left: auto; color: #89798c; font-size: 10px; letter-spacing: 1px; }
.route-illustration { position: relative; height: 170px; display: grid; place-items: center; margin: 23px 0 24px; overflow: hidden; border-radius: 18px; border: 1px solid #ffffff09; background: radial-gradient(ellipse at 50% 95%,#f3334320,transparent 70%),#100d1480; }
.route-visual-badge { position: absolute; left: 12px; bottom: 11px; z-index: 3; display: flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #ffffff20; border-radius: 8px; font-size: 9px; background: #16131ce8; color: #decfdc; }
.route-visual-badge .icon { width: 14px; height: 14px; }
.route-visual-badge i { width: 4px; height: 4px; border-radius: 50%; background: #ff9d88; margin-left: 5px; }
.route-visual-play { position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #ffa69488; border-radius: 50%; color: white; background: #f24450dd; z-index: 4; opacity: 0; transform: scale(.5); transition: opacity .3s,transform .4s; }
.route-visual-play .icon { width: 17px; height: 17px; fill: currentColor; }
[data-install-route=steam][data-route-step="2"] .route-visual-play { opacity: 1; transform: scale(1); }
.route-file-stack { position: relative; width: 110px; height: 122px; transform: translateX(-30px); transition: transform .45s; }
.route-file-stack > span { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 78px; height: 106px; border: 1px solid #ff937c55; border-radius: 12px; background: linear-gradient(155deg,#41202c,#20151f); box-shadow: 0 8px 20px #0004; }
.route-file-back { transform: translate(25px,10px) rotate(13deg); font-size: 15px; color: #bb8e9d; }
.route-file-front { transform: rotate(-8deg); gap: 3px; transition: transform .45s; }
.route-file-front .icon { width: 25px; height: 25px; color: #ff9d88; margin-bottom: 4px; }
.route-file-front b { font-weight: 550; font-size: 17px; color: #f4d6df; }
.route-file-front small { font-size: 8px; color: #b492a8; }
.route-environment { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 68px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #ffffff20; border-radius: 14px; color: #bba3ba; background: #20171f; transition: border-color .4s,box-shadow .4s,background .4s; }
.route-environment .icon { width: 27px; height: 27px; }
.route-environment span { font-size: 8px; }
.route-environment i { width: 5px; height: 5px; position: absolute; top: 8px; right: 8px; border-radius: 50%; background: #776178; }
.route-file-dots { position: absolute; display: flex; gap: 5px; left: 52%; top: 48%; }
.route-file-dots i { width: 3px; height: 3px; background: #ff937c; border-radius: 50%; opacity: .25; transition: opacity .4s; }
[data-install-route=file][data-route-step="1"] .route-file-stack { transform: translateX(-47px) scale(.9); }
[data-install-route=file][data-route-step="1"] .route-file-dots i { opacity: 1; animation: route-dot 1.5s ease-in-out infinite; }
[data-install-route=file][data-route-step="1"] .route-file-dots i:nth-child(2) { animation-delay: .2s; }
[data-install-route=file][data-route-step="1"] .route-file-dots i:nth-child(3) { animation-delay: .4s; }
[data-install-route=file][data-route-step="2"] .route-environment { border-color: #ff937c88; background: #40202d; box-shadow: 0 0 35px #f3334320; }
[data-install-route=file][data-route-step="2"] .route-environment i { background: #ff9d88; box-shadow: 0 0 8px #ff937c; }
.route-chip { position: relative; width: 128px; height: 128px; z-index: 1; }
.route-chip > svg { width: 100%; height: 100%; stroke: #b77788; stroke-width: 1.5; fill: none; transition: stroke .4s; }
.route-chip-frame { fill: #251521; }
.route-chip-core { fill: #3c2030; stroke: #ff937c80; }
.route-chip > span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; letter-spacing: 1px; color: #ffd1c5; }
.route-graphics-tag { position: absolute; top: 64px; color: #a591ac; font-size: 9px; z-index: 2; transition: color .4s,transform .4s; }
.route-tag-input { left: 18px; }
.route-tag-output { right: 18px; }
.route-auto-badge { display: flex; align-items: center; gap: 6px; position: absolute; bottom: 13px; font-size: 8px; color: #b79bb6; }
.route-auto-badge > i { width: 4px; height: 4px; background: #b77a93; border-radius: 50%; }
.route-chip-ring { position: absolute; width: 126px; height: 126px; border: 1px dashed #ff937c2a; border-radius: 50%; opacity: 0; transform: scale(.75); transition: opacity .4s,transform .5s; }
[data-install-route=graphics][data-route-step="1"] .route-chip-ring { opacity: 1; transform: scale(1); animation: route-spin 20s linear infinite; }
[data-install-route=graphics][data-route-step="1"] .route-chip > svg { stroke: #ff9d88; }
[data-install-route=graphics][data-route-step="2"] .route-tag-output { color: #ffad95; transform: scale(1.2); }
[data-install-route=graphics][data-route-step="2"] .route-chip { filter: drop-shadow(0 0 13px #ff745c25); }
[data-install-route=graphics][data-route-step="2"] .route-auto-badge > i { background: #ff9d88; box-shadow: 0 0 8px #ff937c; }
body .integration-card h3 { margin: 0 0 10px; font-size: clamp(19px,2vw,24px); line-height: 1.3; }
body .integration-card .route-card-intro { flex: 0; font-size: 12px; line-height: 1.75; color: #b1a4b5; margin: 0 0 23px; min-height: 43px; }
.route-stepper { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 5px; border: 1px solid #ffffff0d; border-radius: 12px; background: #0d0a1150; }
.route-stepper button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 35px; padding: 7px 4px; border: 1px solid transparent; border-radius: 8px; font-size: 9px; color: #99859e; background: transparent; transition: background .2s,border-color .2s,color .2s; white-space: nowrap; }
.route-stepper button > span { font-size: 8px; opacity: .7; }
.route-stepper button:hover { color: #ecd3df; background: #ffffff05; }
.route-stepper button[aria-pressed=true] { color: #ffb49e; background: #ff745c12; border-color: #ff745c30; }
body .integration-card .route-step-note { flex: 1; margin: 15px 1px 22px; min-height: 68px; font-size: 11px; line-height: 1.75; color: #b09db3; }
.route-more { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 17px; border-top: 1px solid #ffffff12; font-size: 11px; color: #d9c8d9; }
.route-more .icon { width: 16px; height: 16px; color: #ff9d88; transition: transform .2s; }
.route-more:hover .icon { transform: translateX(3px); }
@keyframes route-dot { 50% { opacity: .15; } }
@keyframes route-spin { to { rotate: 360deg; } }
@media(max-width:900px) { body .integration-card { padding: 21px; } .route-stepper button { font-size: 8px; } }
@media(prefers-reduced-motion:reduce) { .integration-card *, .integration-card { animation: none !important; transition: none !important; } }

.route-library-window { width: 190px; border: 1px solid #c1a2c330; border-radius: 10px; overflow: hidden; background: #1a121de8; box-shadow: 0 12px 30px #0005; transform: translateY(-4px); transition: transform .45s,border-color .45s; }
.route-library-titlebar { height: 22px; display: flex; align-items: center; gap: 4px; padding: 0 8px; border-bottom: 1px solid #ffffff09; background: #ffffff04; }
.route-library-titlebar > i { width: 3px; height: 3px; border-radius: 50%; background: #70536f; }
.route-library-titlebar > span { color: #a391ad; font-size: 6px; margin-left: auto; }
.route-library-toolbar { display: flex; align-items: center; gap: 7px; margin: 9px 10px 8px; padding: 5px 7px; border: 1px solid #ffffff0d; border-radius: 5px; background: #09080d60; }
.route-library-toolbar .icon { width: 10px; height: 10px; color: #82678b; }
.route-library-toolbar > span { height: 2px; width: 67px; margin-right: auto; border-radius: 2px; background: #70536f44; }
.route-library-items { display: grid; gap: 5px; padding: 0 10px 10px; }
.route-library-items > span { display: flex; align-items: center; gap: 9px; height: 20px; padding: 4px 6px; border: 1px solid #ffffff08; border-radius: 5px; background: #ffffff03; transition: border-color .4s,background .4s,transform .4s; }
.route-library-items .icon { width: 12px; height: 12px; color: #b38da9; }
.route-library-items i { width: 60px; height: 2px; border-radius: 2px; background: #bfa0bf30; }
.route-library-items b { width: 4px; height: 4px; border-radius: 50%; background: #70536f; margin-left: auto; transition: background .4s,box-shadow .4s; }
[data-install-route=steam][data-route-step="1"] .route-library-window { border-color: #ff937c66; transform: translateY(-4px) scale(1.04); }
[data-install-route=steam][data-route-step="1"] .route-library-items b { background: #ffad91; box-shadow: 0 0 6px #ff937c55; }
[data-install-route=steam][data-route-step="2"] .route-library-items > span:first-child { border-color: #ff937c66; background: #ff745c15; }
[data-install-route=steam][data-route-step="2"] .route-library-window { transform: translateY(-4px) scale(1.08); }
[data-install-route=steam][data-route-step="2"] .route-visual-play { opacity: 1; transform: scale(1); }
@media(max-width:900px) { body .integration-grid { grid-template-columns: 1fr; gap: 16px; } body .integration-card { display: grid; grid-template-columns: 150px minmax(0,1fr); column-gap: 23px; padding: 24px; } .route-card-top { grid-column: 1/-1; margin-bottom: 18px; } .route-illustration { grid-row: 2/5; margin: 0; height: 185px; } body .integration-card h3 { align-self: start; margin: 3px 0 10px; } body .integration-card .route-card-intro { margin-bottom: 15px; min-height: 0; } .route-stepper { align-self: end; } body .integration-card .route-step-note { grid-column: 1/-1; min-height: 0; margin: 18px 0; } .route-more { grid-column: 1/-1; } .route-library-window { width: 125px; } .route-library-toolbar > span { width: 35px; } .route-environment { right: 9px; width: 51px; height: 65px; } .route-file-stack { scale: .8; transform: translateX(-18px); } .route-chip { width: 106px; height: 106px; } .route-graphics-tag { top: 18px; } .route-tag-input { left: 10px; } .route-tag-output { right: 10px; } }
@media(max-width:430px) { body .integration-card { display: flex; padding: 22px; } .route-card-top { margin-bottom: 0; } .route-illustration { margin: 20px 0; height: 170px; } .route-library-window { width: 190px; } .route-environment { right: 28px; width: 68px; height: 76px; } .route-file-stack { scale: 1; transform: translateX(-30px); } .route-chip { width: 128px; height: 128px; } .route-graphics-tag { top: 64px; } .route-stepper button { font-size: 10px; } body .integration-card .route-step-note { margin: 16px 0 20px; min-height: 60px; } }
@media(prefers-reduced-motion:reduce) { .integration-card *, .integration-card { animation: none !important; transition: none !important; } }
@media(min-width:701px) and (max-width:1050px) { .route-graphics-tag { top: 14px; } .route-illustration { height: 160px; } .route-file-stack { scale: .85; transform: translateX(-20px); } .route-environment { width: 53px; right: 10px; } .route-library-window { width: 150px; } .route-library-toolbar > span { width: 45px; } }

@media(min-width:431px) and (max-width:900px) { .route-stepper button { font-size: 10px; } }
.route-library-window { max-width: calc(100% - 18px); }
@media(min-width:431px) and (max-width:900px) { [data-install-route=file][data-route-step="1"] .route-file-stack { transform: translateX(-20px) scale(.9); } }
