.d1-profile{position:absolute;inset:0;z-index:95;background:#f5f5f9;color:#17171c;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:62px 20px 44px}.d1-profile-body{max-width:430px;margin:auto}.d1-profile h1{font-size:28px;letter-spacing:-1px;margin:10px 0}.d1-profile h2{font-size:19px;margin:26px 0 14px}.d1-profile p{font-size:12px;line-height:1.6;color:#787981}.d1-profile label{display:block;font-size:13px;margin:12px 0}.d1-profile input,.d1-profile textarea{box-sizing:border-box;display:block;width:100%;font:16px -apple-system,BlinkMacSystemFont,sans-serif;border:1px solid #dedee5;background:#fff;color:#202027;border-radius:12px;padding:12px;margin-top:7px}.d1-profile textarea{min-height:80px;resize:vertical}.d1-profile .d1-upload{background:#fff;padding:12px;border-radius:12px}.d1-upload img{display:block;width:80px;height:80px;object-fit:cover;border-radius:10px;margin:5px 0}.d1-profile button{width:100%;padding:14px;border-radius:13px;margin:8px 0;font:inherit}.d1-primary{background:#17171d;color:#fff}.d1-form-error{color:#b53535!important}.d1-profile-settings{display:block;width:100%;margin:0 0 14px;background:#fff;border-radius:12px;padding:13px;font-size:13px}.kkt-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.d1-chat-photo{max-width:100%;width:220px;height:auto;border-radius:12px;display:block}.kkt-msgline audio{width:210px;max-width:100%;height:40px}.d1-choices{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;background:#f0f0f0!important;padding:8px!important}.d1-choices button{flex:0 0 auto;max-width:260px;background:#e2e2e5!important;color:#27272b;border:0!important;border-radius:18px!important;white-space:normal;text-align:left;font-size:12px;line-height:1.5;padding:8px 12px}.d1-choices .selected{background:#fce88a!important}.d1-choices small{display:block;color:#65656b;font-size:10px}.d1-unread{display:block;background:#f14444;color:white;border-radius:10px;padding:2px 5px;margin-top:5px;font-size:11px}.d1-x-comment{padding:14px 10px;border-top:1px solid #eee;font-size:13px}.d1-x-comment p{white-space:pre-wrap}.d1-x-comment small{opacity:.55}.d1-lightbox{position:absolute;inset:0;background:#080808;z-index:90;display:flex;align-items:center;justify-content:center}.d1-lightbox img{width:100%;height:auto;max-height:100%;object-fit:contain}.d1-lightbox button{position:absolute;top:60px;right:15px;color:white;background:#4448;border-radius:18px;padding:8px 16px}.d1-next{position:absolute;bottom:170px;left:20%;width:60%;background:#fff9;backdrop-filter:blur(20px);border:1px solid #fff8;border-radius:20px;padding:18px;color:#24242b;font:600 16px -apple-system,sans-serif}.x-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.kkt-chat-scroll .bubble{max-width:100%}.kkt-msgline .wish-kkt-caption{font-size:11px;opacity:.56;line-height:1.5;margin:4px 1px 9px}.kkt-composer .entry{font-size:16px!important}

.d1-profile [aria-invalid=true]{border-color:#cf3535;box-shadow:0 0 0 1px #cf3535}.d1-profile{touch-action:pan-y}.d1-profile input,.d1-profile textarea{touch-action:manipulation}
/* Day 1 adapters: retain the original apps and scope media presentation. */
.kkt-msgline .bubble.d1-photo-bubble{padding:0;background:transparent;box-shadow:none;line-height:0;overflow:hidden;border-radius:12px}.d1-photo-bubble button{display:block;padding:0;border:0;background:none;line-height:0;width:100%}.d1-photo-bubble .d1-chat-photo{width:220px;max-width:100%;height:auto;display:block}.kkt-msgline .bubble.d1-voice-bubble{padding:0;overflow:hidden;border-radius:17px}.d1-voice-message{width:205px;max-width:100%}.d1-voice-message button{display:flex;align-items:center;gap:10px;padding:12px;color:#30343a;width:100%;font-size:13px}.d1-voice-message audio{display:none}.d1-voice-play{font-size:17px;width:18px;flex:none}.d1-voice-wave{display:flex;align-items:center;gap:2px;height:24px;flex:1}.d1-voice-wave i{display:block;width:2px;flex:1;border-radius:2px;background:#a4a9ae}.d1-voice-message.playing .d1-voice-wave i{background:#59727b}.d1-voice-duration{font-size:12px;white-space:nowrap;color:#738089}.kkt-root .d1-choices{gap:7px;padding:6px 11px!important;scrollbar-width:none}.kkt-root .d1-choices button{font-size:12px;max-width:210px;padding:7px 11px;border-radius:18px;background:#e8ebed!important;font-weight:400}.d1-choices small{font-size:10px;line-height:1.4;margin-top:2px}.x-root .x-media.d1-x-media{min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));background:none}.x-root .x-media.d1-x-media.count-1{display:block}.d1-x-media img{display:block;min-width:0;max-width:100%;object-fit:contain}.x-root .x-media:empty{display:none}
.d1-ft-scene .wish-ft-link{margin:0;font-size:13px;padding:10px 12px;z-index:2}.d1-ft-scene .wish-ft-remote{position:absolute;top:26%;left:11px;right:11px;height:45%;margin:0;flex:none;border-radius:26px;background:#151515}.d1-ft-scene .wish-ft-selfpane{position:absolute;left:11px;bottom:30px;width:36%;height:18%;max-width:none;min-height:100px;border-radius:22px;background:linear-gradient(150deg,#211c22,#0d0d10)}.d1-ft-scene .wish-ft-vertical{position:absolute;right:11px;bottom:30px;height:242px}.d1-ft-scene .wish-ft-vertical button{width:51px;height:51px}.d1-ft-scene .wish-ft-vertical button[data-action="wish-ft-camera"]{color:#55ba7f;background:#d8dbd8}.d1-ft-scene .wish-ft-vertical button[data-action="wish-ft-mute"]{color:#f3a33f;background:white}.d1-ft-status{position:absolute;z-index:2;left:15%;right:15%;top:44%;padding:12px 8px;color:#fff;border-radius:14px;background:#222c;font-size:13px}.d1-ft-status[hidden]{display:none}.d1-ft-scene .wish-ft-remote-name{bottom:14px}
.d1-ft-scene .wish-ft-remote video{object-position:center top}
/* Full-screen FaceTime reference: remote video fills the black background. */
.d1-ft-scene{padding:0;background:#000}.d1-ft-scene .wish-ft-remote{inset:0;width:100%;height:100%;border-radius:0;margin:0;background:#000}.d1-ft-scene .wish-ft-remote video{object-fit:cover;object-position:center}.d1-ft-scene .wish-ft-link{position:absolute;left:18px;top:18px;z-index:3;background:#161616b0;border-color:#4448;padding:10px 13px}.d1-ft-scene .wish-ft-remote-name{display:none}.d1-ft-scene .wish-ft-selfpane{z-index:3;left:18px;bottom:28px;width:34%;height:17%;min-height:110px;border-radius:24px}.d1-ft-scene .wish-ft-vertical{z-index:4;right:18px;bottom:28px;height:246px}.d1-ft-scene .wish-ft-vertical button{width:53px;height:53px}.d1-ft-scene .d1-ft-status{z-index:2;top:44%;left:22%;right:22%}.d1-ft-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(#0007,transparent 22%,transparent 65%,#0007);pointer-events:none;z-index:1}
.d1-ft-scene .wish-ft-footer{display:contents}
.kkt-chat-scroll{overflow-anchor:none}.kkt-root .d1-unread{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;padding:0;border-radius:50%;line-height:1;align-self:flex-end;margin-left:auto;flex:none}.d1-chat-photo{height:auto}


.d1-ft-captions{position:absolute;bottom:10px;left:10px;right:10px;white-space:pre-line;color:white;background:#0009;padding:12px;border-radius:12px;font-size:13px}.d1-x-comment small{opacity:.55}.d1-x-comment .x-avatar{float:left;margin-right:9px;width:32px;height:32px}.d1-x-comment img{width:100%;height:100%;object-fit:cover}.wish-blank-home{text-align:center}.wish-blank-home small{opacity:.6}

/* Match the supplied X reply reference with complete action rows. */
.x-root .d1-x-comment{display:flex;float:none;gap:10px;padding:16px 13px;border-bottom:1px solid #e8edef;margin:0}
.x-root .d1-x-comment .x-avatar{float:none;margin:0;width:40px;height:40px;min-width:40px}
.x-root .d1-x-comment.is-reply{margin-left:40px;border-left:2px solid #e8edef}
.x-root .d1-x-comment .x-story-comment-meta{font-size:14px;font-weight:700}
.x-root .d1-x-translation{color:#7e858a;font-size:12px;line-height:1.6;margin:8px 0}
.x-root .d1-x-comment .wish-x-reply-actions{display:flex;justify-content:space-between;gap:7px;margin-top:10px}
.x-root .d1-x-comment .wish-x-reply-actions button{display:flex;align-items:center;gap:4px;font-size:12px}
.x-root .wish-x-status:not(.visible):not(.loading){display:none!important}
.x-root .x-scroll{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.x-root .d1-x-media img{max-height:440px;object-fit:contain;background:#f4f5f6}
.d1-ft-scene .d1-ft-captions{z-index:5;bottom:calc(19% + 35px);right:76px;pointer-events:none}

.d1-ft-captions{position:absolute;bottom:10px;left:10px;right:10px;white-space:pre-line;color:white;background:#0009;padding:12px;border-radius:12px;font-size:13px}.d1-x-comment small{opacity:.55}.d1-x-comment .x-avatar{float:left;margin-right:9px;width:32px;height:32px}.d1-x-comment img{width:100%;height:100%;object-fit:cover}.wish-blank-home{text-align:center}.wish-blank-home small{opacity:.6}
