/* PixKit Atelier 05: portraits lead; movement and depth support the interaction. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.portrait-guides { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.portrait-guide { display: block; position: relative; isolation: isolate; width: 100%; height: 560px; padding: 0; border-radius: 28px; overflow: hidden; text-align: left; background: #111316; color: #fff; border: 1px solid #85868a55; box-shadow: 0 2px 3px #0002,0 20px 40px -20px #15203366; transition: transform .65s var(--ease-out), box-shadow .5s; }
.guide-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 21%; z-index: -4; transition: transform 1s var(--ease-out); }
.portrait-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg,#0b0d11f7 0%,#0b0d11d6 18%,#0b0d1160 38%,transparent 64%,#0b0d1133); }
.portrait-rim { position: absolute; inset: 1px; border: 1px solid #ffffff2b; border-radius: 26px; pointer-events: none; z-index: 3; box-shadow: inset 0 1px 1px #ffffff35; }
.portrait-light { position: absolute; inset: -50%; pointer-events: none; z-index: -1; background: linear-gradient(118deg,transparent 44%,#ffffff04 48%,#ffffff13 50%,#ffffff05 51%,transparent 55%); transform: translateX(-25%); animation: portraitLight 12s ease-in-out infinite paused; }
.portrait-meta { position: absolute; top: 21px; left: 22px; right: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.portrait-meta>span:first-child { font-size: 10px; background: #ffffff16; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid #ffffff30; border-radius: 100px; padding: 7px 11px; box-shadow: inset 0 1px 0 #ffffff15; }
.portrait-symbol { height: 32px; width: 32px; display: grid; place-items: center; background: #ffffff12; border: 1px solid #ffffff20; border-radius: 50%; backdrop-filter: blur(12px); }.portrait-symbol>.icon { width: 16px; height: 16px; }
.portrait-caption { display: block; position: absolute; bottom: 28px; left: 29px; right: 29px; z-index: 2; }
.portrait-kicker { display: block; font-size: 8px; letter-spacing: 1.7px; color: #c3c5cc; margin-bottom: 11px; }
.portrait-caption>strong { display: block; font: 400 48px/1.05 Georgia,'Times New Roman',serif; letter-spacing: -1.4px; text-shadow: 0 3px 12px #0002; }
.portrait-description { display: block; font-size: 13px; color: #d4d6de; margin-top: 12px; line-height: 1.7; }
.portrait-cta { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #ffffff25; margin-top: 22px; padding-top: 18px; font-size: 12px; }
.portrait-cta>span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#ffffff2b,#ffffff08); border: 1px solid #ffffff2d; box-shadow: inset 0 1px 0 #ffffff25; }.portrait-cta .icon { width: 16px; height: 16px; }
.portrait-depth { position: absolute; top: 49%; right: 24px; width: 115px; height: 115px; pointer-events: none; perspective: 700px; opacity: .85; }
.floating-mini-card { display: block; width: 43px; height: 65px; position: absolute; left: 33px; top: 16px; border-radius: 5px; box-shadow: 2px 3px 0 #a5afbc,0 10px 18px #0005; animation: miniCardFloat 8s ease-in-out infinite paused; }
.floating-mini-card>svg { width: 100%; height: 100%; border-radius: 5px; }.mini-one { transform: rotate(-17deg); }.mini-two { left: 56px; top: 28px; transform: rotate(12deg); animation-name: miniCardFloatSecond; animation-delay: -2s; }
.portrait-orbit { position: absolute; height: 50px; width: 115px; left: 0; top: 30px; border: 1px solid #d6deea80; border-radius: 50%; transform: rotate(-28deg); box-shadow: 0 1px 0 #ffffff22; animation: portraitOrbit 10s ease-in-out infinite alternate paused; }.orbit-two { transform: rotate(55deg); animation-delay: -5s; height: 82px; width: 65px; left: 25px; top: 12px; opacity: .7; }
.portrait-planet { position: absolute; width: 54px; height: 54px; left: 31px; top: 28px; border-radius: 50%; background: radial-gradient(circle at 28% 20%,#fff,#bfc8d7 23%,#6d798d 45%,#202a39 69%,#c3cddd); box-shadow: inset -2px -3px 5px #ffffff50,0 12px 18px #0005; }
.portrait-guide.in-view .portrait-light, .portrait-guide.in-view .floating-mini-card, .portrait-guide.in-view .portrait-orbit { animation-play-state: running; }
@keyframes portraitLight { 0%,35% { transform: translateX(-27%); opacity: 0; } 50%,65% { opacity: .75; } 90%,100% { transform: translateX(27%); opacity: 0; } }
@keyframes miniCardFloat { 0%,100% { transform: translateY(0) rotate(-17deg) rotateY(-10deg); } 50% { transform: translateY(-7px) rotate(-11deg) rotateY(8deg); } }
@keyframes miniCardFloatSecond { 0%,100% { transform: translateY(-2px) rotate(12deg); } 50% { transform: translateY(5px) rotate(17deg); } }
@keyframes portraitOrbit { from { transform: rotate(-28deg) rotateY(8deg); } to { transform: rotate(-12deg) rotateY(-8deg); } }

/* A continuous dialog shell avoids flashes between questions. */
.modal-onboarding { display: flex; flex-direction: column; max-width: 510px; height: min(760px,92dvh); overflow: hidden; border-radius: 28px; background: var(--bg); }
.modal-onboarding .modal-head { padding: 21px 27px 17px; }
.modal-onboarding .modal-head h2 { font-size: 16px; letter-spacing: -.2px; font-weight: 550; }
.journey-body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; padding: 21px 31px 25px; }
.modal-onboarding .modal-head, .journey-progress, .journey-controls, .journey-skip-row { flex-shrink: 0; }
.journey-progress { display: flex; align-items: center; gap: 15px; font-size: 9px; color: var(--muted); margin-bottom: 15px; }
.journey-progress>span { min-width: 58px; }.journey-progress>div { flex: 1; display: flex; gap: 4px; }.journey-progress i { display: block; height: 5px; border-radius: 4px; background: var(--panel2); flex: 1; box-shadow: inset 0 1px 1px #00000005; }.journey-progress i.done { background: linear-gradient(150deg,#778191,#282e39); box-shadow: inset 0 1px 0 #ffffff30; }.journey-progress small { font-size: 9px; min-width: 30px; text-align: right; }
.journey-step { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 2px 5px; scrollbar-width: thin; animation: journeyNext .35s var(--ease-out); }.journey-step.step-back { animation-name: journeyBack; }
.journey-art { position: relative; height: 205px; margin: 0 auto 7px; max-width: 330px; isolation: isolate; perspective: 850px; }
.journey-halo { position: absolute; inset: 0 -20px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse,#bec8da1a,transparent 65%); }
.light .journey-halo { background: radial-gradient(ellipse,#fff 15%,#d8dfe948 36%,transparent 70%); }
.portrait-frame { display: block; position: absolute; width: 124px; height: 171px; left: calc(50% - 62px); top: 7px; overflow: hidden; border-radius: 20px; border: 4px solid var(--panel); background: #111; box-shadow: 2px 4px 0 var(--line),0 16px 24px -9px #11213945; transform: rotate(-6deg) rotateY(-7deg); animation: portraitFrameFloat 8s ease-in-out infinite paused; }
.portrait-frame>img { width: 100%; height: 100%; object-fit: cover; object-position: center 17%; }
.portrait-frame:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#080b10cd,transparent 60%); }
.portrait-frame>span { position: absolute; z-index: 1; bottom: 11px; left: 13px; right: 13px; color: #fff; font: 400 19px/1.1 Georgia,serif; }
.floating-greeting { display: flex; align-items: center; gap: 7px; position: absolute; left: 12px; top: 131px; padding: 11px 14px; background: var(--raised); border: 1px solid var(--edge); border-radius: 14px; box-shadow: inset 0 1px 0 var(--edge),0 8px 15px #15233b12; transform: rotate(-4deg); font-size: 10px; z-index: 3; }
.floating-greeting>.icon { width: 14px; height: 14px; }
.journey-seal { position: absolute; right: 30px; top: 26px; display: grid; place-items: center; width: 53px; height: 53px; border-radius: 17px; background: linear-gradient(150deg,#606b7d,#282e3b 53%,#151b26); color: #edf1f8; border: 1px solid #7a879b; box-shadow: inset 0 1px 1px #ffffff66,2px 4px 0 #727e92,0 9px 15px #15233b30; transform: rotate(13deg); }.journey-seal>.icon { width: 24px; height: 24px; }
.journey-question { text-align: center; margin: 0 auto 23px; }.journey-question>span { display: block; color: var(--muted); font-size: 7px; letter-spacing: 1.5px; margin-bottom: 11px; }.journey-question h2 { font-size: 28px; line-height: 1.14; letter-spacing: -.9px; font-weight: 570; }.journey-question p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 10px auto 0; max-width: 310px; }
.journey-input { background: var(--panel); border: 1px solid var(--line); box-shadow: inset 0 1px 2px #15203605; border-radius: 15px; font-size: 16px !important; min-height: 54px; padding: 15px 17px; }
#onboard-name { text-align: center; font-size: 19px !important; letter-spacing: -.4px; }
.journey-optional { margin-top: 13px; }.journey-optional>summary { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); padding: 5px; }.journey-optional>summary>.icon { width: 13px; height: 13px; }
.journey-privacy { font-size: 9px; color: var(--muted); text-align: center; line-height: 1.7; margin-top: 10px; }
.journey-controls { display: flex; gap: 9px; margin-top: 27px; }.journey-controls>.btn { flex: 1; min-height: 49px; font-size: 13px; border-radius: 15px; }.journey-controls>.iconbtn { height: 49px; width: 49px; border-radius: 15px; }.journey-controls>.iconbtn>.icon { transform: rotate(180deg); width: 19px; height: 19px; }
.journey-skip-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 15px; }.journey-skip-row>button { font-size: 10px; color: var(--muted); padding: 5px 3px; }

/* A physical calendar and a globe, with live values outside the input fields. */
.journey-calendar { height: 190px; }
.calendar-leaf { display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; left: calc(50% - 71px); top: 15px; width: 142px; height: 155px; border-radius: 20px; transform-origin: center 80%; }
.leaf-back { background: linear-gradient(150deg,#8792a4,#313a4a); box-shadow: 3px 4px 0 #6a7890,0 13px 21px #11223d20; transform: rotate(-13deg) translate(-8px,-5px); }
.leaf-front { background: linear-gradient(145deg,#fff,#e4e9f0 60%,#bfc9d8); color: #30394a; border: 1px solid #fff; box-shadow: inset 0 1px 1px #fff,2px 4px 0 #9eacc0,0 12px 18px #1a2a4524; transform: rotate(6deg); animation: calendarFloat 8s ease-in-out infinite paused; }
.leaf-front>i { position: absolute; top: -8px; left: 31px; width: 10px; height: 23px; border-radius: 9px; background: linear-gradient(90deg,#647083,#e5ebf5 43%,#6d7d94); box-shadow: 1px 2px 2px #0003; }.leaf-front>i:nth-child(2) { left: auto; right: 31px; }
.leaf-front>small { font-size: 10px; margin: 13px 0 1px; text-transform: uppercase; letter-spacing: 1px; }.leaf-front>strong { font-size: 58px; letter-spacing: -3px; line-height: 1.05; font-weight: 500; }.leaf-front>span { font-size: 8px; margin-top: 9px; color: #76849a; }
.calendar-spark { position: absolute; right: 43px; top: 23px; color: #8b9bb2; transform: rotate(15deg); }.calendar-spark>.icon { width: 26px; height: 26px; }
.calendar-shadow { position: absolute; height: 11px; width: 140px; left: calc(50% - 70px); bottom: 7px; border-radius: 50%; background: #15223c14; filter: blur(9px); }
.journey-location { height: 180px; }
.journey-globe { position: absolute; left: calc(50% - 70px); top: 5px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(ellipse at 28% 22%,#fff 0%,#e1e7f1 22%,#a0adc2 40%,#56657e 63%,#29384f 81%,#b5c2d7); box-shadow: inset -4px -5px 8px #ffffff55,0 16px 20px -10px #14223e40; transform: rotate(-17deg); overflow: hidden; animation: globeFloat 8s ease-in-out infinite paused; }
.globe-equator { position: absolute; width: 150px; height: 49px; border: 1px solid #c7d0dfb3; border-radius: 50%; left: -5px; top: 45px; transform: rotate(4deg); }.globe-meridian { position: absolute; width: 45px; height: 140px; border: 1px solid #a3b2ca; border-radius: 50%; left: 47px; top: 0; }.globe-meridian.m2 { width: 103px; left: 18px; }.globe-latitude { position: absolute; width: 125px; height: 35px; border: 1px solid #d3daea8a; border-radius: 50%; left: 7px; top: 25px; }.globe-latitude.l2 { top: 80px; }
.globe-pin { display: grid; place-items: center; width: 26px; height: 26px; position: absolute; top: 41px; left: 65px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: linear-gradient(145deg,#6b7b91,#1c293b); border: 1px solid #9caac0; box-shadow: 2px 4px 5px #15233a40; }.globe-pin>i { height: 8px; width: 8px; border-radius: 50%; background: #e7edf8; box-shadow: inset 0 1px 2px #556b8c55; }
.location-label { position: absolute; display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 250px; left: 50%; transform: translateX(-50%) rotate(3deg); top: 128px; padding: 11px 15px; border-radius: 13px; background: var(--raised); border: 1px solid var(--edge); box-shadow: var(--surface-shadow),var(--inset); font-size: 10px; white-space: nowrap; }.location-label>span { overflow: hidden; text-overflow: ellipsis; }.location-label>.icon { width: 15px; height: 15px; }
.journey-time { margin-top: 18px; }.journey-time>div { display: flex; justify-content: space-between; align-items: center; font-size: 11px; margin-bottom: 9px; }.journey-time button { color: var(--muted); font-size: 10px; }.journey-time>input { background: var(--panel); min-height: 48px; font-size: 16px; }
[data-ambient].in-view>.portrait-frame, [data-ambient].in-view>.leaf-front, [data-ambient].in-view>.journey-globe { animation-play-state: running; }
@keyframes portraitFrameFloat { 0%,100% { transform: rotate(-6deg) rotateY(-7deg) translateY(0); } 50% { transform: rotate(-3deg) rotateY(5deg) translateY(-5px); } }
@keyframes calendarFloat { 0%,100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-5px); } }
@keyframes globeFloat { 0%,100% { transform: rotate(-17deg) translateY(0); } 50% { transform: rotate(-12deg) translateY(-5px); } }
@keyframes journeyNext { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes journeyBack { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* Topics use tactile objects. Choice feedback remains immediate. */
.topics-question { margin: 29px 0 25px; }
.journey-topics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.journey-topic { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 134px; padding: 12px 7px 15px; border-radius: 20px; border: 1px solid var(--edge); background: var(--raised); box-shadow: var(--surface-shadow),var(--inset); text-align: center; transition: transform .3s var(--ease-out),border-color .2s,box-shadow .2s; }
.journey-topic>strong { font-size: 11px; font-weight: 550; margin-top: 9px; }
.topic-object { display: block; position: relative; width: 63px; height: 65px; perspective: 400px; }
.topic-back { display: block; position: absolute; left: 10px; top: 9px; width: 43px; height: 45px; border-radius: 13px; transform: rotate(-15deg) translate(-3px,-4px); background: linear-gradient(145deg,#fff,#b1bdd0); box-shadow: 2px 3px 0 #8d9cb4,0 7px 10px #1830521a; }
.topic-front { display: grid; place-items: center; position: absolute; left: 10px; top: 9px; width: 43px; height: 45px; border-radius: 13px; background: linear-gradient(145deg,#727e92,#354156 55%,#1e293c); color: #eef2fa; border: 1px solid #9aa7bc; box-shadow: inset 0 1px 1px #ffffff50,2px 3px 0 #586880,0 7px 10px #18305222; transform: rotate(8deg); transition: transform .4s var(--ease-out); }.topic-front>.icon { width: 22px; height: 22px; stroke-width: 1.5; filter: drop-shadow(0 2px 1px #0003); }
.topic-heart .topic-front { border-radius: 50%; background: linear-gradient(145deg,#fff,#bec8d8); color: #4e607b; }.topic-user .topic-front { border-radius: 50%; }.topic-pen .topic-front { transform: rotate(-9deg); }.topic-home .topic-front { background: linear-gradient(145deg,#eff3fa,#9aaac1); color: #34465f; }
.topic-check { position: absolute; right: 8px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .2s,transform .3s var(--ease-out); }.topic-check>.icon { width: 11px; height: 11px; }
.journey-topic.selected { border-color: #8593aa; box-shadow: inset 0 0 0 1px #8593aa30,var(--surface-shadow); }.journey-topic.selected .topic-front { transform: translateY(-3px) rotate(-4deg); }.journey-topic.selected .topic-check { opacity: 1; transform: scale(1); }
.style-question { margin: 24px 0 10px; }
.style-stage { position: relative; height: 184px; margin: 6px auto 16px; max-width: 350px; perspective: 800px; }
.style-ghost { position: absolute; top: 22px; left: 10%; width: 80%; height: 125px; border-radius: 19px; border: 1px solid var(--line); background: var(--panel2); transform: rotate(-7deg); box-shadow: 0 7px 15px #15243b09; }.style-ghost.g2 { transform: rotate(5deg); top: 27px; background: var(--panel); }
.style-sample { position: relative; display: flex; flex-direction: column; width: 90%; min-height: 145px; margin: auto; top: 14px; padding: 17px 20px; border-radius: 20px; background: var(--raised); border: 1px solid var(--edge); box-shadow: var(--surface-shadow),var(--inset); transform: rotate(-2deg); font-size: 12px; line-height: 1.7; }
.style-speaker { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; margin-bottom: 8px; color: var(--muted); }.style-speaker>img { height: 23px; width: 23px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.style-sample-caption { display: block; margin-top: 9px; font-size: 8px; color: var(--muted); }.style-shadow { position: absolute; width: 70%; left: 15%; bottom: 5px; height: 8px; background: #15223c15; border-radius: 50%; filter: blur(8px); }
.journey-styles { display: grid; gap: 9px; }.journey-style { display: flex; align-items: center; gap: 12px; min-height: 67px; width: 100%; text-align: left; border-radius: 16px; padding: 12px 15px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s,transform .3s,box-shadow .3s; }
.style-token { width: 34px; height: 34px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--edge); border-radius: 11px; box-shadow: var(--surface-shadow),var(--inset); flex-shrink: 0; }.style-token>.icon { width: 17px; height: 17px; }
.journey-style strong { display: block; font-size: 13px; font-weight: 550; }.journey-style small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.style-check { margin-left: auto; opacity: 0; }.style-check>.icon { width: 16px; height: 16px; }
.journey-style.selected { border-color: #8593aa; background: var(--raised); box-shadow: var(--surface-shadow); }.journey-style.selected>.style-check { opacity: 1; }

/* Inner screens keep the same photographic language. */
.companion-settings-cover { position: relative; display: flex; align-items: flex-end; isolation: isolate; padding: 22px; height: 190px; border-radius: 22px; background: #1b1d24; color: #fff; overflow: hidden; margin-bottom: 20px; box-shadow: 0 7px 16px #0d172825; }
.companion-settings-cover>img { position: absolute; z-index: -3; width: 54%; height: 100%; right: 0; top: 0; object-fit: cover; object-position: center 21%; }.settings-cover-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,#151820,#151820d9 38%,#15182011 78%),linear-gradient(0deg,#10121bc7,transparent 65%); }
.companion-settings-cover>div>span { display: block; font-size: 6px; letter-spacing: 1.2px; color: #c0c4ce; margin-bottom: 10px; }.companion-settings-cover strong { display: block; font: 400 31px/1.1 Georgia,serif; }.companion-settings-cover small { display: block; font-size: 10px; color: #d3d7e0; margin-top: 9px; }.companion-settings-cover>button { display: flex; align-items: center; gap: 8px; position: absolute; top: 16px; left: 18px; font-size: 9px; padding: 7px 9px; border-radius: 100px; background: #ffffff15; border: 1px solid #ffffff30; }.companion-settings-cover>button>.icon { width: 12px; height: 12px; }.companion-settings-cover>.assistant-orb { position: absolute; right: 32px; top: 53px; width: 77px; height: 77px; }
.settings-quick-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 17px; }.settings-quick-pair>button { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; position: relative; padding: 18px; border: 1px solid var(--edge); border-radius: 18px; background: var(--raised); box-shadow: var(--surface-shadow),var(--inset); }.settings-quick-pair>button>.icon:first-child { width: 21px; height: 21px; }.settings-quick-pair>button>.icon:last-child { width: 12px; height: 12px; position: absolute; top: 20px; right: 15px; color: var(--muted); }.settings-quick-pair strong { display: block; font-size: 12px; font-weight: 550; }.settings-quick-pair small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.settings-style-stage { margin-top: 0; }
.companion-sidebar-portrait { height: 230px; max-width: 180px; margin: 8px auto 25px; border-radius: 20px; border: 4px solid var(--panel); overflow: hidden; box-shadow: 0 14px 25px -12px #15243b55; transform: rotate(-3deg); }.companion-sidebar-portrait>img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.conversation-portrait { position: relative; width: 245px; height: 210px; margin: 0 auto 8px; perspective: 700px; }.conversation-portrait>.portrait-frame { width: 120px; height: 162px; left: 44px; top: 13px; }.conversation-portrait>.agent-scene { position: absolute; width: 125px; height: 125px; top: 86px; right: 6px; }.conversation-portrait .scene-orbit, .conversation-portrait .scene-star { display: none; }
.format-preview { position: relative; width: 230px; height: 158px; margin: -4px auto 20px; perspective: 600px; }.format-photo { position: absolute; top: 10px; left: 62px; height: 120px; width: 91px; border-radius: 11px; overflow: hidden; border: 4px solid var(--panel); box-shadow: 1px 3px 0 var(--line),0 10px 15px #16223c24; transform: rotate(9deg); }.format-photo>img { width: 100%; height: 100%; object-fit: cover; }.p-back { left: 39px; top: 3px; transform: rotate(-13deg); opacity: .7; }.format-badge { position: absolute; bottom: 14px; right: 32px; padding: 7px 12px; border: 1px solid var(--edge); background: var(--raised); box-shadow: var(--surface-shadow),var(--inset); border-radius: 11px; font-size: 11px; transform: rotate(-4deg); }
.parameter-sculpture { display: flex; justify-content: center; margin: 5px 0 28px; height: 85px; }.parameter-sculpture>.object-icon { transform: scale(1.1); }
.modal-parameter .ratio-options .ratio-icon { background: linear-gradient(135deg,var(--panel),var(--panel2)); box-shadow: inset 0 1px 0 var(--edge),2px 3px 0 var(--line),0 7px 9px #15243b15; border-color: #7d8ba2; transform: rotate(-5deg); transition: transform .35s var(--ease-out); }.modal-parameter .ratio-options .selected .ratio-icon { transform: rotate(0deg) translateY(-2px); }

@media(hover:hover) and (pointer:fine) {
  .portrait-guide:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-4px); box-shadow: 0 5px 8px #15203320,0 28px 42px -19px #15203366; }.portrait-guide:nth-child(2):hover { transform: perspective(1200px) rotateY(2deg) rotateX(1deg) translateY(-4px); }
  .portrait-guide:hover>.guide-photo { transform: scale(1.035); }.portrait-guide:hover .portrait-cta>span { transform: translateX(3px); }
  .journey-topic:hover { transform: translateY(-3px); }.journey-topic:hover .topic-front { transform: translateY(-5px) rotate(-4deg); }
  .journey-style:hover, .settings-quick-pair>button:hover { transform: translateY(-2px); border-color: #8795ac; }
}
@media(max-width:1120px) {
  .portrait-guide { height: 510px; }.portrait-guides { gap: 18px; }.portrait-caption>strong { font-size: 43px; }
}
@media(max-width:800px) {
  .guides-heading h1 { font-size: 31px; }.guides-heading p { font-size: 11px; max-width: 280px; }.guides-heading { margin-bottom: 21px; }
  .portrait-guides { gap: 12px; }.portrait-guide { height: 394px; border-radius: 22px; }.portrait-rim { border-radius: 20px; }.guide-photo { object-position: 50% 21%; }
  .portrait-meta { top: 13px; left: 12px; right: 12px; gap: 4px; }.portrait-meta>span:first-child { font-size: 7px; padding: 5px 7px; white-space: nowrap; }.portrait-symbol { display: none; }
  .portrait-caption { bottom: 20px; left: 16px; right: 16px; }.portrait-kicker { font-size: 5px; letter-spacing: .9px; line-height: 1.5; margin-bottom: 9px; }.portrait-caption>strong { font-size: 31px; letter-spacing: -1px; }.portrait-description { font-size: 10px; line-height: 1.7; margin-top: 9px; }
  .portrait-cta { font-size: 10px; margin-top: 17px; padding-top: 14px; gap: 4px; }.portrait-cta>span { height: 25px; width: 25px; flex-shrink: 0; }.portrait-cta .icon { height: 13px; width: 13px; }
  .portrait-depth { top: 43%; right: 5px; transform: scale(.7); transform-origin: center right; opacity: .7; }
  .modal-onboarding { width: 100%; height: min(780px,94dvh); max-height: 94dvh; border-radius: 29px 29px 0 0; }.modal-onboarding .modal-head { padding: 23px 22px 16px; }.modal-onboarding .modal-head h2 { font-size: 15px; }
  .journey-body { padding: 18px 24px 23px; }.journey-progress { gap: 12px; margin-bottom: 13px; font-size: 9px; }.journey-progress>span { min-width: 52px; }
  .journey-art { height: 183px; max-width: 290px; margin-bottom: 7px; }.portrait-frame { width: 112px; height: 156px; left: calc(50% - 56px); border-radius: 18px; border-width: 3px; }.portrait-frame>span { font-size: 17px; bottom: 10px; }
  .floating-greeting { top: 120px; left: 13px; font-size: 9px; padding: 10px 11px; border-radius: 12px; }.journey-seal { right: 23px; top: 25px; height: 46px; width: 46px; border-radius: 15px; }.journey-seal>.icon { height: 21px; width: 21px; }
  .journey-question { margin-bottom: 20px; }.journey-question>span { font-size: 6px; letter-spacing: 1.2px; margin-bottom: 10px; }.journey-question h2 { font-size: 26px; letter-spacing: -.8px; }.journey-question p { font-size: 11px; max-width: 280px; margin-top: 9px; }
  .journey-input { min-height: 53px; padding: 15px; font-size: 16px !important; }.journey-step .field-label { font-size: 11px; margin-top: 20px; }.journey-controls { margin-top: 23px; }.journey-controls>.btn { min-height: 49px; font-size: 13px; }.journey-skip-row { margin-top: 13px; gap: 19px; }.journey-skip-row>button { font-size: 10px; }
  .journey-calendar { height: 177px; }.calendar-leaf { width: 128px; height: 141px; left: calc(50% - 64px); top: 14px; border-radius: 18px; }.leaf-front>strong { font-size: 53px; }.leaf-front>small { font-size: 9px; }.leaf-front>span { font-size: 7px; }.calendar-spark { right: 34px; top: 25px; }.calendar-spark>.icon { width: 22px; height: 22px; }
  .journey-location { height: 165px; }.journey-globe { width: 130px; height: 130px; left: calc(50% - 65px); }.globe-equator { top: 40px; }.globe-meridian { height: 130px; }.location-label { top: 119px; padding: 10px 12px; font-size: 9px; }.journey-time { margin-top: 17px; }.journey-time>div { font-size: 11px; }.journey-time>input { min-height: 46px; }
  .topics-question { margin-top: 26px; margin-bottom: 23px; }.journey-topics { gap: 10px; }.journey-topic { min-height: 124px; padding: 11px 6px 13px; border-radius: 17px; }.journey-topic>strong { font-size: 10px; margin-top: 7px; }.topic-object { transform: scale(.93); height: 61px; }.topic-check { height: 16px; width: 16px; right: 7px; top: 7px; }
  .style-question { margin-top: 24px; margin-bottom: 6px; }.style-stage { height: 172px; max-width: 320px; margin-bottom: 14px; }.style-sample { min-height: 137px; padding: 15px 17px; font-size: 11px; border-radius: 18px; }.style-ghost { height: 117px; }.style-speaker { font-size: 9px; }.style-sample-caption { font-size: 7px; }.journey-style { min-height: 65px; padding: 11px 13px; gap: 11px; border-radius: 15px; }.journey-style strong { font-size: 13px; }.journey-style small { font-size: 10px; }.style-token { width: 31px; height: 31px; border-radius: 10px; }.style-token>.icon { height: 16px; width: 16px; }
  .companion-settings-cover { height: 177px; padding: 20px; border-radius: 20px; }.companion-settings-cover strong { font-size: 29px; }.companion-settings-cover>div>span { font-size: 5px; }.companion-settings-cover small { font-size: 10px; }.settings-quick-pair { gap: 10px; margin-bottom: 16px; }.settings-quick-pair>button { padding: 16px 13px; border-radius: 16px; gap: 11px; }.settings-quick-pair strong { font-size: 11px; }.settings-quick-pair small { font-size: 9px; }
  .conversation-portrait { height: 190px; width: 230px; }.conversation-portrait>.portrait-frame { height: 148px; width: 108px; left: 42px; }.conversation-portrait>.agent-scene { height: 111px; width: 111px; top: 83px; right: 8px; }
  .format-preview { height: 142px; margin-bottom: 18px; }.format-photo { height: 110px; width: 83px; }.format-badge { bottom: 9px; font-size: 10px; }.parameter-sculpture { height: 77px; margin-bottom: 25px; }
}
@media(max-width:370px) {
  .guides-heading h1 { font-size: 28px; }.portrait-guide { height: 374px; border-radius: 20px; }.portrait-rim { border-radius: 18px; }.portrait-caption { left: 13px; right: 13px; bottom: 18px; }.portrait-caption>strong { font-size: 28px; }.portrait-description { font-size: 9px; }.portrait-meta { left: 10px; top: 11px; }.portrait-meta>span:first-child { font-size: 6px; padding: 5px 6px; }.portrait-cta { font-size: 9px; }.portrait-cta>span { height: 22px; width: 22px; }.portrait-depth { transform: scale(.6); right: 3px; }
  .journey-body { padding-left: 20px; padding-right: 20px; }.journey-question h2 { font-size: 24px; }.journey-question p { font-size: 10px; }.journey-art { height: 170px; }.journey-calendar { height: 169px; }.journey-location { height: 160px; }.journey-topic { min-height: 116px; border-radius: 15px; }.journey-topic>strong { font-size: 9px; }.topic-object { transform: scale(.85); height: 55px; }.style-sample { font-size: 10px; }.journey-style strong { font-size: 12px; }.journey-style small { font-size: 9px; }.journey-skip-row>button { font-size: 9px; }
}
@media(max-height:720px) and (max-width:800px) {
  .modal-onboarding { max-height: 96dvh; }.journey-art { height: 145px; transform: scale(.82); margin-top: -10px; margin-bottom: -10px; }.journey-question { margin-bottom: 15px; }.journey-question h2 { font-size: 24px; }.journey-controls { margin-top: 20px; }.journey-progress { margin-bottom: 11px; }.topics-question,.style-question { margin-top: 19px; }.style-stage { height: 158px; }.journey-topic { min-height: 110px; }.style-sample { min-height: 126px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .portrait-guide:hover,.portrait-guide:nth-child(2):hover,.journey-topic:hover { transform: none; }
}
