/* ChatGPT */
#appview:has(.gp-side) { background: #fff; }
.gp-side { padding: 0 16px 30px; }
.gp-shead { display: flex; align-items: center; gap: 8px; padding: 8px 0 12px; }
.gp-shead b { font-size: 20px; flex: 1; }
.gp-logo { width: 32px; height: 32px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; }
.gp-sim { font-size: 11px; background: #f2f2f7; color: #6e6e73; border-radius: 10px; padding: 3px 8px; }
.gp-sec { font-size: 13px; color: #8a8a8e; font-weight: 600; margin: 10px 4px 4px; }
.gp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; border: 0; background: none; text-align: start; padding: 12px 6px; border-radius: 10px; font-size: 15.5px; color: inherit; }
.gp-row:active { background: #f2f2f7; }
.gp-row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-row span { font-size: 12px; color: #8a8a8e; white-space: nowrap; }
.gp-chat { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; color: #0d0d0d; }
.gp-head { display: flex; align-items: center; justify-content: space-between; padding: 52px 12px 8px; }
.gp-head b { font-size: 17px; }
.gp-ib { border: 0; background: none; font-size: 22px; width: 40px; height: 36px; color: #0d0d0d; }
.gp-msgs { flex: 1; overflow-y: auto; padding: 4px 16px 20px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: none; user-select: text; -webkit-user-select: text; }
.gp-msgs::-webkit-scrollbar { display: none; }
.gp-title { font-size: 15px; color: #6e6e73; font-weight: 600; text-align: center; margin: 4px 0 0; }
.gp-day { align-self: center; font-size: 11.5px; color: #8a8a8e; }
.gp-u { align-self: flex-end; background: #f0f0f0; border-radius: 20px; padding: 9px 14px; max-width: 80%; font-size: 15.5px; line-height: 1.5; white-space: pre-wrap; unicode-bidi: plaintext; }
.gp-a { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.7; }
.gp-a > div { white-space: pre-wrap; unicode-bidi: plaintext; flex: 1; }
.gp-ai { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #e5e5e5; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.gp-ai svg { width: 15px; height: 15px; }
.gp-li { color: #6e6e73; }
.gp-typing > div { animation: wadot 1s infinite; }
.gp-compose { display: flex; gap: 8px; align-items: center; margin: 6px 12px 30px; padding: 6px 6px 6px 14px; border: 1px solid #e5e5e5; border-radius: 26px; box-shadow: 0 2px 10px #0000000d; }
.gp-compose input { flex: 1; border: 0; outline: none; font-size: 16px; padding: 6px 4px; min-width: 0; }
.gp-compose button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #0d0d0d; color: #fff; font-size: 17px; }

/* Safari */
.sf { position: absolute; inset: 0; background: #f2f2f7; display: flex; flex-direction: column; }
.sf-fav, .sf-blocked { flex: 1; overflow-y: auto; padding: 60px 18px 20px; }
.sf-fav h2 { font-size: 20px; margin: 10px 0; }
.sf-favgrid { display: flex; gap: 16px; }
.sf-tile { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.sf-ticon { width: 62px; height: 62px; border-radius: 14px; background: #0B0C0F; color: #F5B83D; display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.sf-card { background: #fff; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; cursor: pointer; }
.sf-card span { color: #8a8a8e; font-size: 13px; direction: ltr; text-align: end; }
.sf-blocked { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.sf-lock { font-size: 40px; }
.sf-blocked h2 { direction: ltr; font-size: 19px; margin: 4px 0; }
.sf-blocked p { color: #3c3c43; line-height: 1.7; font-size: 14.5px; margin: 4px 6px; }
.sf-open { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; border-radius: 22px; padding: 11px 26px; font-size: 16px; font-weight: 600; margin: 10px 0; }
.sf-bar { background: #f9f9f9f2; border-top: .5px solid #d1d1d6; padding: 8px 12px 30px; backdrop-filter: blur(20px); }
.sf-url { background: #fff; border-radius: 12px; padding: 10px; text-align: center; font-size: 15px; box-shadow: 0 1px 4px #0000001a; cursor: text; direction: ltr; }
.sf-ph { color: #8a8a8e; direction: rtl; }
.sf-tools { display: flex; justify-content: space-around; margin-top: 8px; direction: ltr; }
.sf-tools button { border: 0; background: none; color: var(--blue); font-size: 22px; width: 44px; }
.sf-tools button:disabled { color: #c7c7cc; }

/* YouTube */
#appview:has(.yt) { background: #0f0f0f; }
.yt { color: #f1f1f1; padding-bottom: 30px; }
.yt-head { display: flex; align-items: center; padding: 2px 14px 6px; direction: ltr; }
.yt-head span:nth-child(2) { flex: 1; }
.yt-head button { border: 0; background: none; color: #fff; font-size: 22px; }
.yt-logo { display: flex; align-items: center; gap: 4px; font-weight: 800; letter-spacing: -.5px; font-size: 19px; }
.yt-logo i { font-style: normal; background: #FF0033; color: #fff; border-radius: 6px; padding: 0 6px; font-size: 12px; line-height: 20px; }
.yt-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 12px 12px; scrollbar-width: none; }
.yt-chips::-webkit-scrollbar { display: none; }
.yt-chips button { border: 0; border-radius: 8px; background: #272727; color: #f1f1f1; padding: 6px 12px; font-size: 13.5px; white-space: nowrap; }
.yt-chips button.on { background: #f1f1f1; color: #0f0f0f; }
.yt-v { display: block; width: 100%; border: 0; background: none; color: inherit; padding: 0 0 14px; text-align: start; }
.yt-th { display: grid; place-items: center; aspect-ratio: 16 / 9; position: relative; padding: 20px; }
.yt-th b { font-size: 21px; text-align: center; text-shadow: 0 2px 10px #0008; line-height: 1.4; }
.yt-th i { position: absolute; bottom: 8px; left: 8px; background: #000c; font-style: normal; font-size: 11.5px; padding: 1px 5px; border-radius: 4px; direction: ltr; }
.yt-meta { display: flex; gap: 10px; padding: 10px 12px 0; }
.yt-ch { width: 36px; height: 36px; border-radius: 50%; background: #6B4FBB; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; }
.yt-meta b { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.yt-meta small { color: #aaa; font-size: 12px; }

/* Music */
.mu { position: absolute; inset: 0; background: #000; color: #fff; display: flex; flex-direction: column; }
.mu-scroll { flex: 1; overflow-y: auto; padding: 54px 16px 150px; scrollbar-width: none; }
.mu-scroll::-webkit-scrollbar { display: none; }
.mu-back { border: 0; background: none; color: #FA2D48; font-size: 16px; padding: 4px 0; }
.mu-h1 { font-size: 33px; font-weight: 800; margin: 6px 0 10px; }
.mu-h2 { font-size: 21px; margin: 20px 0 10px; }
.mu-links button { display: flex; justify-content: space-between; width: 100%; border: 0; border-bottom: .5px solid #2c2c2e; background: none; color: #FA2D48; font-size: 20px; padding: 11px 0; }
.mu-links i { color: #555; font-style: normal; }
.mu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.mu-pl { border: 0; background: none; color: #fff; text-align: start; display: flex; flex-direction: column; gap: 2px; padding: 0; }
.mu-pl small, .mu-row small { color: #8e8e93; font-size: 12.5px; }
.mu-cv { border-radius: 8px; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; box-shadow: 0 4px 14px #0006; }
.mu-cv b { color: #fff; text-shadow: 0 1px 6px #0006; font-size: 1.1em; text-align: center; padding: 6px; }
.mu-pl .mu-cv { width: 100% !important; height: auto !important; aspect-ratio: 1; }
.mu-pl .mu-cv b { font-size: 34px; }
.mu-cv.round { border-radius: 50%; }
.mu-row { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: #fff; text-align: start; padding: 6px 0; }
.mu-row > span { flex: 1; display: flex; flex-direction: column; border-bottom: .5px solid #2c2c2e; padding-bottom: 8px; }
.mu-row b { font-weight: 500; font-size: 15.5px; }
.mu-row i { color: #8e8e93; font-style: normal; }
.mu-note { color: #8e8e93; font-size: 12.5px; text-align: center; margin-top: 18px; }
.mu-hero { margin: 0 -16px 10px; height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.mu-hero h1 { font-size: 32px; margin: 0 0 8px; text-shadow: 0 2px 10px #0006; }
.mu-hero button, .mu-acts button { align-self: flex-start; border: 0; border-radius: 10px; background: #FA2D48; color: #fff; padding: 9px 18px; font-size: 15px; font-weight: 600; }
.mu-plhead { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 10px; }
.mu-plhead .mu-cv b { font-size: 50px; }
.mu-plhead h1 { font-size: 22px; margin: 8px 0 0; }
.mu-acts { display: flex; gap: 10px; margin-top: 10px; }
.mu-acts button { background: #1c1c1e; color: #FA2D48; flex: 1; }
.mu-mini { position: absolute; bottom: 92px; left: 8px; right: 8px; height: 56px; border-radius: 14px; background: #2c2c2ef2; backdrop-filter: blur(20px); display: flex; align-items: center; gap: 10px; padding: 0 10px; cursor: pointer; }
.mu-mini span { flex: 1; font-size: 14.5px; }
.mu-mini button { border: 0; background: none; color: #fff; font-size: 18px; }
.mu-tabs { position: absolute; bottom: 0; left: 0; right: 0; height: 84px; padding: 10px 4px 26px; display: flex; background: #161616f2; border-top: .5px solid #2c2c2e; }
.mu-tabs button { flex: 1; border: 0; background: none; color: #8e8e93; font-size: 11.5px; font-weight: 600; }
.mu-tabs button.on { color: #FA2D48; }
.mu-full { position: absolute; inset: 0; z-index: 20; color: #fff; display: flex; flex-direction: column; align-items: center; padding: 64px 30px 30px; animation: gmup .35s ease-out; }
.mu-grab { width: 40px; height: 5px; border-radius: 3px; background: #ffffff66; border: 0; margin-bottom: 24px; padding: 0; }
.mu-full .mu-cv b { font-size: 34px; }
.mu-ft { align-self: stretch; display: flex; flex-direction: column; margin-top: 30px; }
.mu-ft b { font-size: 22px; }
.mu-ft span { color: #ffffffa0; font-size: 18px; }
.mu-prog { align-self: stretch; height: 6px; border-radius: 3px; background: #ffffff33; margin-top: 22px; direction: ltr; overflow: hidden; }
.mu-prog i { display: block; height: 100%; background: #fff; width: 0; transition: width .9s linear; }
.mu-times { align-self: stretch; display: flex; justify-content: space-between; font-size: 12px; color: #ffffffa0; margin-top: 6px; direction: ltr; }
.mu-ctl { display: flex; align-items: center; gap: 44px; margin-top: 18px; direction: ltr; }
.mu-ctl button { border: 0; background: none; color: #fff; font-size: 30px; }
.mu-ctl .big { font-size: 46px; }
.mu-vol { align-self: stretch; display: flex; align-items: center; gap: 10px; margin-top: 26px; direction: ltr; }
.mu-vol div { flex: 1; height: 6px; border-radius: 3px; background: #ffffff33; }
.mu-vol i { display: block; width: 60%; height: 100%; border-radius: 3px; background: #fff; }
.mu-full p { color: #ffffff80; font-size: 12px; margin-top: auto; }
.sf-preview img { width: min(100%, 240px); display: block; }
.sf-preview video { width: 100%; border-radius: 14px; background: #17181c; }
.sp { height: 100%; display: flex; flex-direction: column; padding: 52px 16px 30px; gap: 14px; }
.sp header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #8884; padding-bottom: 10px; }
.sp header strong { font-size: 23px; }
.sp header span { font-size: 14px; }
.sp-video { background: #151419; color: #fff; }
.sp-video video { flex: 1; width: 100%; min-height: 0; background: #09090b; border-radius: 16px; }
.sp footer, .sp article { display: flex; align-items: flex-start; gap: 10px; }
.sp-logo { width: 36px; height: 36px; background: #f7e3a9; border-radius: 10px; padding: 5px; }
.sp p { margin: 4px 0 8px; line-height: 1.5; }
.sp-posts { background: #f4f5f8; color: #17181c; }
.sp-feed { overflow-y: auto; }
.sp article { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.sp article > div { flex: 1; min-width: 0; }
.sp article h2 { font-size: 17px; margin: 6px 0; }
.sp article button { border: 0; background: #f0edf3; color: #9e2356; border-radius: 8px; font-size: 20px; min-width: 44px; min-height: 40px; }
.sp-photo { display: block; width: 100%; border-radius: 8px; margin-bottom: 8px; }
.sp-clips { flex: 1; min-height: 0; overflow-y: auto; scroll-snap-type: y mandatory; }
.sp-video .sp-clip { height: 100%; display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.sp-clip-nav { display: flex; justify-content: center; gap: 8px; }
.sp-clip-nav button { min-width: 44px; min-height: 40px; border: 1px solid #ffffff45; border-radius: 10px; background: #22212a; color: #fff; }
.sp-profile { display: flex; align-items: center; gap: 14px; background: #fff; padding: 16px; border-radius: 14px; margin-bottom: 12px; }
.sp-profile h1 { margin: 0 0 4px; font-size: 23px; }
.sp-profile span { font-size: 14px; }
.sp-profile .sp-logo, .sp-in-avatar { width: 52px; height: 52px; flex-shrink: 0; }
.sp-in-avatar { display: grid; place-items: center; border-radius: 50%; background: #e1edf8; color: #0754a0; font-weight: 700; }
.sp-linkedin header strong { color: #0754a0; }

.sf-game { border: 0; border-radius: 10px; padding: 10px 14px; background: #153752; color: #fff; cursor: pointer; }
