/* ============================================================
 * App CSS - full-screen app windows + per-app screen styles
 * ============================================================ */

#android-root [hidden] {
    display: none !important;
}

/* ------------------------------------------------------------
   App container & chrome
   ------------------------------------------------------------ */

.android-apps {
    position: absolute;
    inset: 0;
    z-index: 30;
    overflow: hidden;
    pointer-events: none;
}

.android-apps.has-apps {
    pointer-events: auto;
}

.android-app-instance {
    position: absolute;
    inset: 0;
}

.android-app {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: var(--android-statusbar-h) 0 var(--android-navbar-h);
    overflow: hidden;
    color: #1f1f23;
    background: #fff;
}

.android-app--dark {
    color: #e9eaec;
    background: #0f0f11;
}

.android-app.is-closing {
    pointer-events: none;
}

/* App launch splash (colored screen + icon pop). */
.android-splash {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.24s var(--android-ease), transform 0.24s var(--android-ease);
}

.android-splash__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.16);
    animation: android-splash-pop 0.4s var(--android-spring) both;
}

.android-splash__icon svg {
    width: 44px;
    height: 44px;
}

.android-splash.is-done {
    opacity: 0;
    transform: scale(1.06);
}

.android-app__topbar {
    flex: 0 0 auto;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
}

.android-app--light .android-app__topbar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.android-app--dark .android-app__topbar {
    background: #16161a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.android-app__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.android-app__topbtn {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    flex: 0 0 auto;
}

.android-app__topbtn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.android-app__topbtn:active {
    transform: scale(0.85);
}

.android-app__content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* ------------------------------------------------------------
   Shared components
   ------------------------------------------------------------ */

.android-section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 18px 16px 6px;
}

.android-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--g, linear-gradient(135deg, #60a5fa, #a78bfa));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    flex: 0 0 auto;
}

.android-avatar--lg {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.android-avatar--xl {
    width: 76px;
    height: 76px;
    font-size: 26px;
}

.android-list {
    list-style: none;
}

.android-list__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
}

.android-list__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--g, linear-gradient(135deg, #60a5fa, #a78bfa));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.android-list__icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.android-list__body {
    flex: 1;
    min-width: 0;
}

.android-list__title {
    display: block;
    font-size: 15px;
    font-weight: 500;
}

.android-list__sub {
    display: block;
    font-size: 13px;
    color: rgba(17, 17, 20, 0.78);
}

.android-app--dark .android-list__sub {
    color: rgba(233, 234, 236, 0.8);
}

.android-list__meta {
    font-size: 12px;
    color: rgba(17, 17, 20, 0.72);
    flex: 0 0 auto;
}

.android-list__item>.android-list__meta.android-list__meta--btn,
button.android-list__meta {
    border: none;
    background: transparent;
    padding: 6px 10px;
    margin-right: 4px;
    border-radius: 14px;
    font: inherit;
    font-size: 12px;
    color: #1a73e8;
}

button.android-list__meta:active {
    background: rgba(26, 115, 232, 0.12);
}

.android-list__meta-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #64748b;
}

.android-list__meta-icon svg,
.android-list__item > svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex: 0 0 auto;
    fill: currentColor;
}

.android-app--dark .android-list__meta-icon {
    color: #94a3b8;
}

.android-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 22px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #1a73e8;
    transition: transform 0.1s;
}

.android-btn:active {
    transform: scale(0.96);
}

.android-btn--outline {
    background: transparent;
    border: 1px solid rgba(17, 17, 20, 0.25);
    color: inherit;
}

.android-app--dark .android-btn--outline {
    border-color: rgba(255, 255, 255, 0.4);
}

.android-btn--sm {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 18px;
}

.android-btn--round {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
}

.android-btn--round svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.android-btn--subscribe {
    background: #fff;
    color: #111;
}

.android-fab {
    position: absolute;
    right: 18px;
    bottom: calc(var(--android-navbar-h) + 16px);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #1a73e8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.5);
    z-index: 8;
}

.android-fab svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.android-fab:active {
    transform: scale(0.92);
}

/* Search pill used across several apps */
.gmail__search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eef1f4;
    border-radius: 22px;
    padding: 8px 14px;
    color: #5f6368;
}

.gmail__search svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.gmail__search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    color: inherit;
}

/* ============================================================
   YouTube
   ============================================================ */

.youtube__channel {
    padding: 0 16px 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
}

.youtube__banner {
    height: 105px;
    margin: 0 -16px 8px;
    background: url('../media/banner.png') center/cover no-repeat, linear-gradient(120deg, #f43f5e, #f97316);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.youtube__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.youtube__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.youtube__who strong {
    font-size: 16px;
    color: #fff;
}

.youtube__who span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

.youtube__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    margin: 10px 0 12px;
}

.youtube__tabs {
    display: flex;
    gap: 2px;
    padding: 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.youtube__tab {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    padding: 10px 14px;
    font-size: 14px;
    position: relative;
}

.youtube__tab.is-active {
    color: #fff;
    font-weight: 600;
}

.youtube__tab.is-active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.youtube__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 14px 12px 24px;
}

.youtube__thumb {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: var(--g);
    position: relative;
    overflow: hidden;
}

.youtube__thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.youtube__card:hover .youtube__thumb-img,
.youtube__card:focus .youtube__thumb-img {
    transform: scale(1.05);
}

.youtube__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}

.youtube__play svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.youtube__card:hover .youtube__play,
.youtube__card:focus .youtube__play {
    opacity: 1;
}

.youtube__dur {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    z-index: 2;
}
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 4px;
}

.youtube__info {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
}

.youtube__title {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.youtube__meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.youtube__player {
    position: absolute;
    inset: 0;
    z-index: 6;
    background: #000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(6%);
    transition: opacity 0.3s var(--android-ease), transform 0.3s var(--android-ease);
}

.youtube__player.is-open {
    opacity: 1;
    transform: none;
}

.youtube__player-close {
    position: absolute;
    top: calc(var(--android-statusbar-h) + 8px);
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.youtube__player-close svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.youtube__stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g);
    position: relative;
}

.youtube__bigplay {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube__bigplay svg {
    width: 38px;
    height: 38px;
    fill: #fff;
}

.youtube__player-info {
    padding: 12px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #fff;
}

.youtube__player-title {
    font-size: 14px;
}

.youtube__player-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.youtube__controls {
    padding: 0 16px 20px;
}

.youtube__bar {
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.youtube__bar span {
    display: block;
    height: 100%;
    width: 34%;
    background: #ff0033;
    border-radius: 2px;
}

.youtube__watch {
    align-self: flex-start;
    margin-top: 8px;
    color: #111;
    background: rgba(255, 255, 255, 0.92);
}

/* ============================================================
   Contacts
   ============================================================ */

.contacts__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 16px 22px;
    text-align: center;
    background: linear-gradient(180deg, #eaf4ff, transparent);
}

.contacts__hero h1 {
    font-size: 21px;
    margin: 12px 0 2px;
}

.contacts__hero p {
    font-size: 14px;
    color: rgba(17, 17, 20, 0.6);
}

.contacts__actions {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

/* ============================================================
   WhatsApp
   ============================================================ */

/* Chat list scroll container (replaces android-app__content scroll
   since that is now position:static to allow thread to overlay) */
.whatsapp__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.whatsapp__search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 12px;
    padding: 9px 14px;
    background: #f0f2f5;
    border-radius: 22px;
    color: #667;
    flex-shrink: 0;
}

.whatsapp__search svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.whatsapp__search input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    color: inherit;
}

.whatsapp__chats {
    list-style: none;
}

.whatsapp__chat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
}

.whatsapp__chat .android-avatar {
    width: 48px;
    height: 48px;
    font-size: 17px;
}

.whatsapp__who {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.whatsapp__who strong {
    font-size: 15px;
    font-weight: 500;
}

.whatsapp__who span {
    font-size: 13px;
    color: rgba(17, 17, 20, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.whatsapp__time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 0 0 auto;
}

.whatsapp__time time {
    font-size: 11px;
    color: rgba(17, 17, 20, 0.72);
}

.whatsapp__badge {
    background: #25d366;
    color: #fff;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* WhatsApp: make the content area non-positioned so the thread's
   absolute position climbs up to .android-app (the correct full-screen
   context) instead of being clipped below the topbar. */
[data-app="whatsapp"] .android-app__content {
    position: static;
    overflow: visible;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.whatsapp__thread {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(239, 234, 226, 0.92), rgba(239, 234, 226, 0.92)), repeating-linear-gradient(45deg, #dfd8cf 0 2px, transparent 2px 12px);
}

.whatsapp__thread-head {
    flex: 0 0 auto;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    background: #f0f2f5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.whatsapp__thread-who {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.whatsapp__thread-who strong {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.whatsapp__thread-who span {
    font-size: 11px;
    color: rgba(17, 17, 20, 0.72);
}

.whatsapp__msgs {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.whatsapp__msg {
    display: flex;
}

.whatsapp__msg.is-me {
    justify-content: flex-end;
}

.whatsapp__bubble {
    max-width: 78%;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.whatsapp__bubble time {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.62);
    margin-left: 8px;
    display: block;
    text-align: right;
}

/* Sender name label inside group chat bubbles */
.whatsapp__sender {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #25D366;
    margin-bottom: 2px;
    line-height: 1.2;
}

/* Group icon + name flex alignment in chat list */
.whatsapp__who-name {
    display: flex;
    align-items: center;
    gap: 2px;
}

.whatsapp__msg.is-me .whatsapp__bubble {
    background: #d9fdd3;
}

.whatsapp__input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f0f2f5;
}

.whatsapp__ico {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    border-radius: 50%;
    color: #667;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.whatsapp__ico svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.whatsapp__input input {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

.whatsapp__send {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.whatsapp__send svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* ============================================================
   Chrome
   ============================================================ */

.chrome__topbar {
    flex: 0 0 auto;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.chrome__tab {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eef0f3;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}

.chrome__favicon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.chrome__url {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eef0f3;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 13px;
    color: #555;
}

.chrome__url svg {
    width: 14px;
    height: 14px;
    fill: #70757a;
    flex: 0 0 auto;
}

.chrome__url-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chrome__tools {
    display: flex;
}

.chrome__page {
    padding-bottom: 24px;
}

.chrome__hero {
    background: linear-gradient(160deg, #eef2ff, #fdf2f8);
    padding: 30px 20px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.chrome__hero h1 {
    font-size: 22px;
    margin-top: 10px;
}

.chrome__hero p {
    font-size: 14px;
    color: rgba(17, 17, 20, 0.6);
}

.chrome__herobtns {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.chrome__section {
    padding: 8px 16px 0;
}

.chrome__cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.chrome__card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f8fa;
    border: none;
    border-radius: 14px;
    padding: 12px 14px;
    text-align: left;
    width: 100%;
    color: #111;
}

.chrome__card-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chrome__card-ico svg {
    width: 22px;
    height: 22px;
}

.chrome__card div {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.chrome__card strong {
    font-size: 14px;
}

.chrome__card span {
    font-size: 12px;
    color: #6b7280;
}

.chrome__card>svg {
    width: 18px;
    height: 18px;
    fill: #9ca3af;
}

.chrome__foot {
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    padding: 18px 16px 0;
}

/* ============================================================
   Gmail
   ============================================================ */

/* ============================================================
   Gmail / Mailbox
   ============================================================ */

/* Disable relative position of parent content so detail & compose 
   absolute overlays can cover the topbar */
[data-app="gmail"] .android-app__content {
    position: static;
    overflow: visible;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.gmail__search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.gmail__search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f9;
    border-radius: 24px;
    padding: 8px 14px;
    height: 38px;
}

.gmail__search-icon {
    display: flex;
    align-items: center;
    color: #5f6368;
}

.gmail__search-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.gmail__search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    color: #1f1f1f;
}

.gmail__profile-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* Mail list wrapper scroll */
.gmail__body-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.gmail__tabs {
    display: flex;
    padding: 0 8px;
    border-bottom: 1px solid #f1f3f4;
    background: #fff;
    flex-shrink: 0;
}

.gmail__tab {
    border: none;
    background: none;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: #5f6368;
    position: relative;
    flex: 1;
    text-align: center;
}

.gmail__tab.is-active {
    color: #ea4335;
    font-weight: 600;
}

.gmail__tab.is-active::after {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #ea4335;
}

.gmail__list {
    list-style: none;
    background: #fff;
}

.gmail__row {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.2s;
}

.gmail__row:active {
    background: #f5f5f5;
}

.gmail__sender {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--g, #ea4335);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gmail__sender--lg {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.gmail__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gmail__line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.gmail__sender-name {
    font-size: 14.5px;
    font-weight: 500;
    color: #5f6368;
}

.is-unread .gmail__sender-name {
    color: #202124;
    font-weight: 700;
}

.gmail__time {
    font-size: 11px;
    color: #5f6368;
    flex: 0 0 auto;
}

.is-unread .gmail__time {
    color: #ea4335;
    font-weight: 600;
}

.gmail__subject {
    font-size: 14px;
    color: #5f6368;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.is-unread .gmail__subject {
    color: #202124;
    font-weight: 700;
}

.gmail__snippet-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.gmail__snippet {
    font-size: 13px;
    color: #5f6368;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.gmail__star-btn {
    border: none;
    background: transparent;
    padding: 2px;
    color: #c7c7c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmail__star-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}

.gmail__row:nth-child(odd) .gmail__star-btn {
    color: #f59e0b;
}
.gmail__row:nth-child(odd) .gmail__star-icon {
    fill: currentColor;
}

/* Detail View Overlay (Full Screen) */
.gmail__detail {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.gmail__detail-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    padding: 0 12px;
    border-bottom: 1px solid #f1f3f4;
    background: #fff;
    flex-shrink: 0;
}

.gmail__detail-bar-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #202124;
}

.gmail__detail-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 18px;
}

.gmail__detail-subject {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 20px;
    line-height: 1.4;
}

.gmail__detail-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.gmail__detail-head-info {
    display: flex;
    flex-direction: column;
}

.gmail__detail-head-info strong {
    font-size: 14.5px;
    color: #202124;
}

.gmail__detail-head-info span {
    font-size: 12px;
    color: #5f6368;
}

.gmail__detail-body {
    font-size: 14.5px;
    line-height: 1.6;
    color: #3c4043;
}

/* Compose Overlay (Full Screen) */
.gmail__compose {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.28s var(--android-ease);
}

.gmail__compose.is-open {
    transform: translateY(0);
}

.gmail__compose-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 12px;
    border-bottom: 1px solid #f1f3f4;
    background: #fff;
    flex-shrink: 0;
}

.gmail__compose-head strong {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
}

.gmail__compose-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gmail__compose-field-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f3f4;
    padding: 4px 16px;
}

.gmail__compose-label {
    font-size: 14.5px;
    color: #5f6368;
    width: 60px;
}

.gmail__field {
    display: block;
    width: 100%;
    border: none;
    padding: 10px 0;
    font-size: 14.5px;
    outline: none;
    color: #202124;
}

.gmail__field--area {
    flex: 1;
    padding: 16px;
    resize: none;
    line-height: 1.6;
}

/* Compose FAB */
.gmail__fab {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border: none;
    border-radius: 16px;
    padding: 0 20px;
    height: 52px;
    background: #f83a26;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(234, 67, 53, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.gmail__fab svg {
    width: 20px;
    height: 20px;
}

/* ============================================================
   Maps
   ============================================================ */

.maps__canvas {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.maps__terrain {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 24% 32%, rgba(120, 180, 120, 0.55) 0 14%, transparent 14%),
        radial-gradient(ellipse at 78% 68%, rgba(130, 170, 150, 0.5) 0 18%, transparent 18%),
        linear-gradient(165deg, #dfe9de, #e2ecea 55%, #dce6e4);
}

.maps__terrain--satellite {
    background:
        radial-gradient(ellipse at 35% 25%, rgba(20, 60, 25, 0.85) 0 25%, transparent 25%),
        radial-gradient(ellipse at 80% 75%, rgba(15, 45, 30, 0.8) 0 30%, transparent 30%),
        linear-gradient(165deg, #0d1710, #142217 55%, #0f1c13);
}

.maps__satellite-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 2;
    filter: saturate(1.1) contrast(1.05);
}

.maps__mode-chip {
    position: absolute;
    top: calc(var(--android-statusbar-h) + 62px);
    left: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(18, 18, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: #60cdff;
    font-size: 12px;
    font-weight: 500;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.maps__roads {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.maps__road {
    stroke: #fff;
    stroke-width: 8;
    fill: none;
    stroke-linecap: round;
    opacity: 0.95;
}

.maps__road--a {
    stroke: #ffe9c9;
    stroke-width: 9;
}

.maps__blk {
    fill: #c6d3d6;
}

.maps__pin {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -100%);
    z-index: 3;
}

.maps__pin-pulse {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: rgba(234, 67, 53, 0.35);
    animation: maps-pulse 2.2s ease-out infinite;
}

.maps__pin-dot {
    position: relative;
    width: 18px;
    height: 18px;
    background: #ea4335;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.maps__search {
    position: absolute;
    top: calc(var(--android-statusbar-h) + 12px);
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 24px;
    padding: 10px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    color: #5f6368;
    font-size: 14px;
    z-index: 4;
}

.maps__search svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.maps__card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: calc(var(--android-navbar-h) + 16px);
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 18px;
    padding: 12px 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
    z-index: 4;
}

.maps__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.maps__info strong {
    font-size: 15px;
}

.maps__info span {
    font-size: 12px;
    color: #5f6368;
}

.maps__fab {
    right: 16px;
    bottom: calc(var(--android-navbar-h) + 120px);
    background: #fff;
    color: #ea4335;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   Instagram
   ============================================================ */

.insta__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 6px;
}

.insta__head strong {
    font-size: 15px;
}

.insta__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 6px 20px 0;
}

.insta__ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(#f58529, #dd2a7b, #8134af, #f58529);
    display: block;
    flex: 0 0 auto;
}

.insta__ring .android-avatar {
    width: 78px;
    height: 78px;
    font-size: 30px;
}

.insta__nums {
    display: flex;
    flex: 1;
    justify-content: space-evenly;
    text-align: center;
}

.insta__nums div {
    display: flex;
    flex-direction: column;
}

.insta__nums strong {
    font-size: 16px;
}

.insta__nums span {
    font-size: 12px;
    color: rgba(17, 17, 20, 0.6);
}

.insta__bio {
    padding: 12px 20px 4px;
    display: flex;
    flex-direction: column;
}

.insta__bio strong {
    font-size: 14px;
}

.insta__bio span {
    font-size: 13px;
}

.insta__actions {
    display: flex;
    gap: 8px;
    padding: 10px 16px 6px;
}

.insta__edit {
    flex: 1;
    background: #eff0f2;
    border: none;
    border-radius: 8px;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #111;
}

.insta__stories {
    display: flex;
    gap: 14px;
    padding: 12px 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.insta__stories::-webkit-scrollbar {
    display: none;
}

.insta__story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
}

.insta__story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    flex: 0 0 auto;
}

.insta__story-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
    display: block;
    box-sizing: border-box;
}

.insta__story-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #fff;
}

.insta__story em {
    font-style: normal;
    font-size: 11px;
    color: #262626;
}

.insta__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    padding: 3px;
    box-sizing: border-box;
    cursor: pointer;
}

.insta__profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #fff;
}

.insta__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 10px 0 6px;
}

.insta__tile {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
}

.insta__tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.insta__tile:hover .insta__tile-img {
    transform: scale(1.08);
}

.insta__viewer {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: #000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s var(--android-ease);
}

.insta__viewer.is-open {
    transform: none;
}

.insta__viewer-stage {
    flex: 1;
    background: var(--g);
    background-size: cover;
    position: relative;
}

.insta__art {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: #fff;
    padding: 24px;
    background: rgba(0, 0, 0, 0.35);
}

.insta__art strong {
    font-size: 16px;
}

.insta__art-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.insta__art-glyph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin-bottom: 4px;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.insta__art-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.insta__viewer-bar {
    display: flex;
    justify-content: center;
    padding: 12px 16px 20px;
    background: #000;
}

.insta__viewer-bar .android-btn {
    color: #111;
    background: #fff;
}

.insta__viewer-close {
    position: absolute;
    top: calc(var(--android-statusbar-h) + 10px);
    right: 12px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.insta__viewer-close svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.insta__viewer-actions {
    display: flex;
    gap: 10px;
    padding: 12px 16px 20px;
    background: #000;
}

.insta__viewer-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insta__viewer-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.insta__viewer-btn.is-liked svg {
    fill: #f91880;
    animation: viewer-pop 0.3s var(--android-spring);
}

/* ============================================================
   LinkedIn
   ============================================================ */

.linkedin__page {
    background: #f3f2ef;
    padding-bottom: 24px;
}

.linkedin__cover {
    position: relative;
    height: 110px;
    background: linear-gradient(135deg, #051930, #0a3560), url('../media/banner.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 16px;
    box-sizing: border-box;
}

.linkedin__cover-branding {
    text-align: right;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.linkedin__cover-name {
    display: block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #ffffff;
}

.linkedin__cover-email {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

.linkedin__card {
    background: #ffffff;
    border-radius: 8px;
    margin: 8px 12px;
    padding: 14px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
}

.linkedin__card--intro {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.linkedin__intro-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.linkedin__avatar-container {
    margin-top: -50px;
}

.linkedin__avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.linkedin__org-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 58%;
}

.linkedin__org-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #191919;
    line-height: 1.25;
}

.linkedin__org-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #0a66c2;
    flex-shrink: 0;
}

.linkedin__org-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.linkedin__name-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.linkedin__name-heading h1 {
    font-size: 20px;
    font-weight: 700;
    color: #191919;
    margin: 0;
}

.linkedin__verified-check {
    font-size: 13px;
    color: #666;
}

.linkedin__pronouns-tag {
    font-size: 11px;
    color: #666;
    margin-left: 2px;
}

.linkedin__headline-text {
    font-size: 12px;
    line-height: 1.4;
    color: #191919;
    margin: 8px 0 6px;
}

.linkedin__location-line,
.linkedin__stats-line {
    font-size: 11.5px;
    color: #666;
    margin: 3px 0;
}

.linkedin__blue-link {
    color: #0a66c2;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.linkedin__btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.linkedin__pill-btn {
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.linkedin__pill-btn--primary {
    background: #0a66c2;
    color: #ffffff;
}

.linkedin__pill-btn--secondary {
    background: transparent;
    color: #0a66c2;
    border: 1.5px solid #0a66c2;
}

.linkedin__pill-btn--circle {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #666;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin__icon-btn {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.linkedin__icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.linkedin__icon-btn--banner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
}

.linkedin__icon-btn--card {
    position: absolute;
    top: 14px;
    right: 14px;
}

.linkedin__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.linkedin__card-header h2,
.linkedin__card-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #191919;
    margin: 0;
}

.linkedin__sub-meta {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 2px;
}

.linkedin__analytics-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.linkedin__analytics-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
}

.linkedin__analytics-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #666;
    flex-shrink: 0;
    margin-top: 1px;
}

.linkedin__analytics-ico svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.linkedin__analytics-item strong {
    display: block;
    font-size: 12.5px;
    color: #191919;
}

.linkedin__analytics-item span {
    color: #666;
    line-height: 1.3;
}

.linkedin__card-footer {
    border-top: 1px solid #ebebeb;
    margin-top: 10px;
    padding-top: 8px;
    text-align: center;
}

.linkedin__footer-link {
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.linkedin__about-paragraph {
    font-size: 12.5px;
    line-height: 1.45;
    color: #191919;
    margin: 0 0 10px;
}

.linkedin__skills-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.linkedin__skills-title {
    display: block;
    font-size: 12px;
    color: #191919;
    margin-bottom: 2px;
}

.linkedin__skills-list {
    font-size: 11px;
    color: #64748b;
}

.linkedin__skills-arrow {
    font-size: 14px;
    color: #64748b;
}

.linkedin__header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Experience Cards */
.linkedin__exp-item {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.linkedin__exp-logo-container {
    flex-shrink: 0;
}

.linkedin__exp-logo {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin__exp-content {
    flex-grow: 1;
}

.linkedin__exp-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #191919;
}

.linkedin__exp-company {
    display: block;
    font-size: 12.5px;
    color: #191919;
    margin-top: 1px;
}

.linkedin__exp-dates {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.linkedin__exp-location {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
}

.linkedin__exp-desc {
    font-size: 12px;
    line-height: 1.4;
    color: #191919;
    margin: 8px 0;
}

.linkedin__more-btn {
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
}

.linkedin__exp-skills-row,
.linkedin__edu-skills-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

.linkedin__heart-ico {
    display: inline-flex;
    align-items: center;
    color: #475569;
}

.linkedin__exp-skills-text,
.linkedin__edu-skills-text {
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
}

/* Education Cards */
.linkedin__edu-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.linkedin__edu-item {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.linkedin__edu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.linkedin__edu-logo-container {
    flex-shrink: 0;
}

.linkedin__edu-logo {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin__edu-content {
    flex-grow: 1;
}

.linkedin__edu-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #191919;
    line-height: 1.35;
}

.linkedin__edu-degree {
    display: block;
    font-size: 12.5px;
    color: #191919;
    margin-top: 2px;
}

.linkedin__edu-dates {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.linkedin__edu-grade {
    display: block;
    font-size: 12px;
    color: #191919;
    margin-top: 4px;
}

.linkedin__section-title {
    font-size: 14px;
    font-weight: 700;
    color: #191919;
    padding: 10px 14px 4px;
}

.linkedin__cert-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.linkedin__cert-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.linkedin__cert-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.linkedin__cert-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #191919;
}

.linkedin__cert-org {
    display: block;
    font-size: 12px;
    color: #475569;
    margin-top: 1px;
}

.linkedin__cert-date,
.linkedin__cert-cred {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.linkedin__cert-skills {
    font-size: 11.5px;
    color: #334155;
    margin: 5px 0 6px;
}

.linkedin__cert-media {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 8px;
    margin-top: 6px;
    cursor: pointer;
}

.linkedin__cert-thumb {
    width: 58px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.linkedin__cert-badge {
    font-size: 11.5px;
    font-weight: 500;
    color: #334155;
}

.linkedin__post {
    background: #fff;
    border-radius: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e0e0e0;
}

.linkedin__post-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.linkedin__post-head div {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.linkedin__post-head strong {
    font-size: 14px;
    color: #191919;
}

.linkedin__post-head div span {
    font-size: 11px;
    color: #666;
}

.linkedin__post-text {
    font-size: 13px;
    line-height: 1.45;
    color: #191919;
    margin: 10px 0;
    white-space: pre-line;
}

.linkedin__post-media {
    margin: 8px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
    max-height: 220px;
}

.linkedin__post-img {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.linkedin__post-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    padding: 8px 2px;
    border-bottom: 1px solid #eee;
}

.linkedin__post-actions {
    display: flex;
}

.linkedin__post-actions button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    padding: 8px;
}

.linkedin__post-actions svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ============================================================
   Photos
   ============================================================ */

.photos__toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
}

.photos__search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 24px;
    font-size: 13px;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.photos__search-bar svg {
    width: 16px;
    height: 16px;
    fill: #64748b;
}

.photos__chips-bar {
    display: flex;
    gap: 8px;
    padding: 4px 12px 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.photos__chips-bar::-webkit-scrollbar {
    display: none;
}

.photos__chip {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photos__chip.is-active,
.photos__chip:hover {
    background: #4285f4;
    color: #ffffff;
    border-color: #4285f4;
}

/* Featured Photo Frame */
.photos__frame-section {
    padding: 10px 16px 14px;
}

.photos__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.photos__section-head h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1f1f23;
    margin: 0;
}

.photos__section-head span {
    font-size: 12px;
    color: #4285f4;
    font-weight: 500;
}

.photos__frame-wrapper {
    perspective: 1000px;
    cursor: pointer;
}

.photos__frame {
    background: #ffffff;
    border: 10px solid #1a1a24;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.photos__frame:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.photos__frame-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.photos__frame-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photos__frame-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    color: #f8fafc;
    background: linear-gradient(135deg, #334155, #1e293b);
}

.photos__frame-badge-icon {
    font-size: 34px;
    margin-bottom: 6px;
}

.photos__frame-placeholder strong {
    font-size: 15px;
    margin-bottom: 4px;
    color: #fff;
}

.photos__frame-placeholder span {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.photos__frame-placeholder code {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    color: #38bdf8;
    font-family: monospace;
    font-size: 11px;
}

.photos__frame-mat {
    padding: 2px 4px;
}

.photos__frame-caption strong {
    display: block;
    font-size: 14px;
    color: #1e293b;
}

.photos__frame-caption span {
    display: block;
    font-size: 11px;
    color: #64748b;
}

.photos__memories {
    display: flex;
    gap: 10px;
    padding: 8px 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.photos__memories::-webkit-scrollbar {
    display: none;
}

.photos__memory {
    position: relative;
    flex: 0 0 125px;
    height: 155px;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.photos__memory-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photos__memory-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 8px;
    color: #ffffff;
}

.photos__memory-badge {
    font-size: 10px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 6px;
    border-radius: 8px;
    align-self: flex-start;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.photos__memory-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.photos__memory-org {
    font-size: 10px;
    opacity: 0.9;
}

.photos__albums {
    padding: 8px 16px 0;
}

.photos__album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.photos__album {
    display: flex;
    flex-direction: column;
}

.photos__album-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 6px;
    overflow: hidden;
}

.photos__album-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.photos__album:hover .photos__album-img {
    transform: scale(1.08);
}

.photos__album-badge {
    position: relative;
    z-index: 2;
    font-size: 26px;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.photos__album-info {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    padding: 2px 6px;
    border-radius: 8px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.photos__album-info strong {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    color: #fff;
}

.photos__album-info span {
    font-size: 10px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
}

.photos__album-thumb svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.photos__album strong {
    font-size: 13px;
    margin-top: 6px;
}

.photos__album span {
    font-size: 11px;
    color: #5f6368;
}

.photos__tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #1e293b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.photos__tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photos__tile:hover .photos__tile-img,
.photos__tile:focus .photos__tile-img {
    transform: scale(1.08);
}

.photos__tile-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    text-align: center;
    color: #ffffff;
    gap: 2px;
}

.photos__tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 12px 6px 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.photos__tile-overlay-title {
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.photos__tile-overlay-badge {
    font-size: 9px;
    background: rgba(255, 255, 255, 0.25);
    padding: 1px 4px;
    border-radius: 4px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.photos__grid {
    padding: 8px 12px 24px;
}

.photos__tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 6px;
    margin-top: 8px;
}

.photos__tile--square {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
}

.photos__tile--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.photos__tile--banner {
    grid-column: span 3;
    aspect-ratio: 21 / 9;
}

.photos__tile--tall {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
}

/* ============================================================
   Drive
   ============================================================ */

.drive__toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
}

.drive__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 16px 6px;
    padding: 12px 14px;
    background: #f5f6f8;
    border-radius: 14px;
}

.drive__summary-chart {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: conic-gradient(#188038 0 55%, #dadce0 55% 100%);
    position: relative;
    flex: 0 0 auto;
}

.drive__summary-chart::after {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: #f5f6f8;
}

.drive__summary div {
    display: flex;
    flex-direction: column;
}

.drive__summary strong {
    font-size: 14px;
}

.drive__summary span {
    font-size: 12px;
    color: #5f6368;
}

.drive__list {
    list-style: none;
}

.drive__folder {
    position: absolute;
    inset: 0;
    z-index: 7;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s var(--android-ease);
}

.drive__folder.is-open {
    transform: none;
}

.drive__folder-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
}

.drive__folder-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drive__folder-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.drive__file-ico--link {
    background: #e8f0fe;
    color: #1a73e8;
}

.drive__file-ico--link svg {
    fill: currentColor;
}

.drive__file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.drive__file-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.drive__file-ico svg {
    width: 24px;
    height: 24px;
}

.drive__file-ico--pdf {
    background: none;
}

.drive__file-ico--folder {
    background: #fef7e0;
    color: #f9ab00;
}

.drive__file-ico--folder svg {
    fill: currentColor;
}

.drive__file-ico--doc {
    background: #e8f0fe;
    color: #1a73e8;
}

.drive__file-ico--doc svg {
    fill: currentColor;
}

.drive__file-ico--fig {
    background: #fdeef4;
    color: #e4456f;
}

.drive__file-ico--fig svg {
    fill: currentColor;
}

.drive__file-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.drive__file-body strong {
    font-size: 14px;
}

.drive__file-body span {
    font-size: 12px;
    color: #3c4043;
}

.drive__preview {
    position: absolute;
    inset: 0;
    z-index: 7;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s var(--android-ease);
}

.drive__preview.is-open {
    transform: none;
}

.drive__preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.drive__preview-bar>span {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drive__page {
    flex: 1;
    margin: 14px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    padding: 22px 20px;
    overflow-y: auto;
}

.drive__page-head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.drive__page-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #818cf8, #ec4899);
    flex: 0 0 auto;
}

.drive__page-head div {
    display: flex;
    flex-direction: column;
}

.drive__page-head span {
    font-size: 12px;
    color: #6b7280;
}

.drive__page-line {
    height: 9px;
    border-radius: 5px;
    background: #e5e7eb;
    margin: 10px 0;
}

.drive__page-line--w40 {
    width: 40%;
}

.drive__page-line--w70 {
    width: 70%;
}

.drive__page-line--w55 {
    width: 55%;
}

.drive__page-line--w35 {
    width: 35%;
}

.drive__page-line--w60 {
    width: 60%;
}

.drive__page-line--w45 {
    width: 45%;
}

.drive__page-line--w50 {
    width: 50%;
}

.drive__page-line--w65 {
    width: 65%;
}

.drive__page-sep {
    height: 1px;
    background: #f3f4f6;
    margin: 18px 0;
}

/* ============================================================
   Play Store
   ============================================================ */

/* Play Store: Search bar at top */
.store__search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.store__search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f9;
    border-radius: 24px;
    padding: 8px 14px;
    height: 38px;
}

.store__search-icon {
    display: flex;
    align-items: center;
    color: #5f6368;
}

.store__search-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.store__search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    color: #1f1f1f;
}

.store__profile-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* App container & layout */
[data-app="playstore"] .android-app__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.store__chips {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
    background: #fff;
}

.store__chips::-webkit-scrollbar {
    display: none;
}

.store__chip {
    flex: 0 0 auto;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 500;
    color: #5f6368;
}

.store__chip.is-active {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: transparent;
}

/* Scroll content inside playstore */
.store__scrollable-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
}

/* Premium Featured App Card */
.store__featured-card {
    margin: 12px 14px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #01875f, #004d3c);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 14px rgba(1, 135, 95, 0.25);
    position: relative;
    overflow: hidden;
}

.store__featured-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.store__featured-info {
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}

.store__featured-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #a3f7bf;
    margin-bottom: 6px;
}

.store__featured-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #fff;
}

.store__featured-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store__featured-rating {
    font-size: 11px;
    color: #a3f7bf;
    font-weight: 500;
}

.store__featured-btn {
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #01875f;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Skills list grid */
.store__grid {
    display: flex;
    flex-direction: column;
    padding: 0 14px;
}

.store__app {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.store__app:last-child {
    border-bottom: none;
}

.store__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--g);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.store__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store__app-name {
    font-size: 14.5px;
    font-weight: 600;
    color: #202124;
}

.store__app-meta {
    font-size: 11.5px;
    color: #5f6368;
}

.store__rating-row {
    display: flex;
    align-items: center;
    gap: 3px;
}

.store__stars {
    font-size: 11px;
    color: #f59e0b;
}

.store__rating-text {
    font-size: 11px;
    color: #5f6368;
    font-weight: 500;
}

.store__install {
    border: 1px solid #dadce0;
    border-radius: 18px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #01875f;
    background: #fff;
    min-width: 80px;
    text-align: center;
}

.store__install.is-installed {
    color: #5f6368;
    background: #f1f3f4;
    border-color: transparent;
}

/* ============================================================
   Google
   ============================================================ */

.google__logo {
    display: flex;
    justify-content: center;
    padding: 26px 0 18px;
}

.google__g svg {
    width: 74px;
    height: 74px;
    display: block;
}

.google__search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 18px;
    background: #fff;
    border-radius: 26px;
    padding: 4px 10px 4px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    color: #5f6368;
}

.google__search svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.google__search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 11px 0;
    background: none;
    color: inherit;
}

.google__chips {
    display: flex;
    gap: 8px;
    padding: 10px 16px 4px;
}

.google__chip {
    border: none;
    background: none;
    font-size: 14px;
    color: #5f6368;
    padding: 6px 12px;
    position: relative;
}

.google__chip.is-active {
    color: #1a73e8;
}

.google__chip.is-active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: #1a73e8;
}

.google__about {
    margin: 4px 16px 0;
    background: #f7f8fa;
    border-radius: 16px;
    padding: 14px 16px;
}

.google__about p {
    font-size: 13px;
    color: #3c4043;
    margin: 8px 0 0;
    line-height: 1.55;
}

.google__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.google__facts span {
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 12px;
    color: #3c4043;
}

.google__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 8px;
    padding: 8px 16px 24px;
}

.google__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    color: #202124;
    font-size: 12px;
}

.google__link-ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google__link-ico svg {
    width: 24px;
    height: 24px;
}

/* ============================================================
   ChatGPT
   ============================================================ */

[data-app="chatgpt"] .android-app__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.chatgpt__msgs {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding: 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: radial-gradient(circle at 18% -8%, rgba(16, 163, 127, 0.1), transparent 46%);
}

.chatgpt__msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.chatgpt__msg.is-user {
    justify-content: flex-end;
}

.chatgpt__avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
}

.chatgpt__avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

.chatgpt__bubble {
    max-width: 78%;
    background: #1f1f24;
    border-radius: 16px;
    border-top-left-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    color: #e9eaec;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.chatgpt__msg.is-user .chatgpt__bubble {
    background: #2f6d5f;
    border-radius: 16px;
    border-top-right-radius: 4px;
}

.chatgpt__input {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #16161a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.chatgpt__input input,
.chatgpt__input textarea {
    flex: 1;
    min-width: 0;
    background: #1f1f24;
    border: none;
    border-radius: 20px;
    padding: 11px 16px;
    font-size: 14px;
    color: #e9eaec;
    outline: none;
    resize: none;
    font-family: inherit;
    line-height: 1.4;
    max-height: 90px;
}

.chatgpt__code {
    background: #0f1015;
    color: #38bdf8;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    overflow-x: auto;
    margin: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatgpt__inline-code {
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

.chatgpt__link {
    color: #10a37f;
    text-decoration: underline;
}

.chatgpt__send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #10a37f;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.chatgpt__send svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.chatgpt__typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 14px 12px;
}

.chatgpt__typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9ca3af;
    animation: chatgpt-blink 1.2s infinite;
}

.chatgpt__typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.chatgpt__typing span:nth-child(3) {
    animation-delay: 0.3s;
}

/* ============================================================
 * MOBILE BRANDING FOOTER & SETTINGS STYLES
 * ============================================================ */

.mobile-branding-footer {
    padding: 20px 16px 22px;
    margin: 20px 12px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
}

.android-app--light .mobile-branding-footer {
    background: rgba(248, 250, 252, 0.85);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.mobile-branding-footer__credit {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    margin: 0 0 6px 0;
    letter-spacing: 0.2px;
}

.android-app--light .mobile-branding-footer__credit {
    color: #475569;
}

.mobile-branding-footer__credit strong {
    color: #38bdf8;
}

.android-app--light .mobile-branding-footer__credit strong {
    color: #0284c7;
}

.mobile-branding-footer__contact {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.mobile-branding-footer__link {
    color: #38bdf8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.android-app--light .mobile-branding-footer__link {
    color: #0284c7;
}

.mobile-branding-footer__link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Settings page layout */
.settings__page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 12px;
}

.settings__user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
}

.android-app--light .settings__user-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.settings__user-info h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.settings__user-info p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.settings__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ChatGPT Retry / Regenerate Button */
.chatgpt__retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #10A37F;
    color: #ffffff !important;
    border: none;
    border-radius: 18px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.3);
    transition: background 0.2s ease, transform 0.1s ease;
}

.chatgpt__retry-btn:hover {
    background: #0d8a6c;
}

.chatgpt__retry-btn:active {
    transform: scale(0.95);
}