/* community-me.css: your corner of Community (Oct 21 2026). Dark glass with a glowing cyan edge, the Community look. */
.cme-back { position: fixed; inset: 0; z-index: 8970; background: rgba(2,8,28,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: cme-fade .2s ease both; }
.cme { position: fixed; z-index: 8980; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 12px); transform: translateX(-50%); box-sizing: border-box; width: min(420px, calc(100vw - 20px));
    max-height: calc(100% - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px); display: flex; flex-direction: column; padding: 14px 12px 12px; border-radius: 24px; color: #eaf6ff;
    background: linear-gradient(180deg, rgba(14,30,70,.9), rgba(6,14,40,.94)); border: 1px solid rgba(110,225,255,.55);
    box-shadow: 0 0 0 1px rgba(110,225,255,.12) inset, 0 0 22px rgba(80,210,255,.28), 0 18px 48px rgba(0,6,26,.6);
    -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); animation: cme-in .26s cubic-bezier(.2,.9,.25,1.08) both; }
@keyframes cme-in { from { opacity: 0; transform: translate(-50%, -10px) scale(.97); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes cme-fade { from { opacity: 0; } to { opacity: 1; } }
.cme-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 2px 12px; }
/* Nov 5 2026 (owner: "the wrong old profile bubble thing ... nuke it"): a plain round photo, no glowing cyan ring around it */
.cme-av { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #2c2c2e; font-weight: 700; }
.cme-av > .lb3 { width: 100% !important; height: 100% !important; }
.cme-av > * { max-width: 100%; max-height: 100%; }
.cme-av img { width: 100%; height: 100%; object-fit: cover; }
.cme-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.cme-who b { font-size: 19px; line-height: 24px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cme-who small { font-size: 13px; line-height: 17px; opacity: .78; }
.cme-ibtn { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: inherit; background: rgba(255,255,255,.06); border: 1px solid rgba(110,225,255,.45); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cme-ibtn .cme-ico { width: 22px; height: 22px; }
.cme-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cme-sec + .cme-sec { margin-top: 14px; }
.cme-sec h3 { margin: 0 6px 6px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(160,235,255,.85); }
.cme-list { display: grid; gap: 6px; }
@media (min-width: 700px) { .cme { width: 520px; } .cme-sec[aria-label] .cme-list { grid-template-columns: 1fr 1fr; } }
.cme-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border-radius: 16px; text-align: left; color: inherit; font: inherit; cursor: pointer;
    background: rgba(255,255,255,.05); border: 1px solid rgba(110,225,255,.28); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cme-row:active { transform: scale(.98); background: rgba(110,225,255,.12); }
.cme-row .cme-ico { width: 24px; height: 24px; flex: none; color: #8fe7ff; }
.cme-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.cme-tx b { font-size: 15px; line-height: 20px; font-weight: 650; }
.cme-tx small { font-size: 12.5px; line-height: 16px; opacity: .72; }
.cme-chev { width: 16px; height: 16px; flex: none; opacity: .6; }
.cme-row:focus-visible, .cme-ibtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cme-tip { margin: 14px 6px 2px; font-size: 12.5px; line-height: 17px; opacity: .7; }
html[data-theme="light"] .cme { color: #0c2340; background: linear-gradient(180deg, rgba(240,250,255,.94), rgba(220,240,255,.96)); border-color: rgba(0,150,210,.55); }
html[data-theme="light"] .cme-row .cme-ico { color: #0a7fb0; }
html[data-theme="light"] .cme-sec h3 { color: #0a6a96; }
/* Oct 22 2026: "More places", the light way in to the old Explore places nothing else reaches */
.cme-more { display: contents; }
.cme-more-btn { min-height: 44px; }
.cme-more-btn .cme-chev { transform: rotate(90deg); transition: transform .2s; }
.cme-more.on .cme-more-btn .cme-chev { transform: rotate(-90deg); }
.cme-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 4px 4px; grid-column: 1 / -1; }
.cme-chips[hidden] { display: none; }
.cme-chip { min-height: 36px; padding: 0 12px; border-radius: 18px; font: inherit; font-size: 13px; font-weight: 600; color: inherit; cursor: pointer;
    background: rgba(255,255,255,.06); border: 1px solid rgba(110,225,255,.35); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cme-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html[data-theme="light"] .cme-chip { border-color: rgba(0,120,180,.4); background: rgba(255,255,255,.6); }
/* Oct 22 2026: Settings inside the hub (Day/night, Look & sound, Language, Tutorial, Account, Delete account, version) */
.cme-st { flex: none; font-size: 13px; line-height: 18px; opacity: .8; }
.cme-langrow { cursor: default; }
.cme-langrow:active { transform: none; background: rgba(255,255,255,.05); }
.cme-langs { flex: none; display: flex; gap: 4px; }
.cme-langs button { min-width: 44px; height: 36px; padding: 0 8px; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 700; color: inherit; cursor: pointer;
    background: rgba(255,255,255,.06); border: 1px solid rgba(110,225,255,.35); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cme-langs button.on { background: rgba(110,225,255,.28); border-color: rgba(110,225,255,.9); }
.cme-langs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cme-sec-danger { margin-top: 18px; }
.cme-danger { color: #ff8a8a; border-color: rgba(255,110,110,.45); background: rgba(255,80,80,.07); }
.cme-danger .cme-ico { color: #ff8a8a; }
.cme-del h3 { color: #ffb0b0; }
.cme-del-tx { margin: 0 6px 12px; font-size: 14px; line-height: 20px; }
.cme-del-go[disabled] { opacity: .6; }
.cme-ver { margin: 6px 6px 2px; font-size: 12px; line-height: 16px; opacity: .6; }
html[data-theme="light"] .cme-danger, html[data-theme="light"] .cme-danger .cme-ico { color: #b42318; border-color: rgba(180,35,24,.45); background: rgba(180,35,24,.06); }
html[data-theme="light"] .cme-del h3 { color: #b42318; }
html[data-theme="light"] .cme-langs button { border-color: rgba(0,120,180,.4); background: rgba(255,255,255,.6); }
html[data-theme="light"] .cme-langs button.on { background: rgba(0,150,210,.18); border-color: rgba(0,120,180,.9); }
@media (min-width: 700px) { .cme-sec-danger .cme-list, .cme-del .cme-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cme, .cme-back { animation: none !important; } }

/* Oct 22 2026 (item 42): the picture and name open your profile */
.cme-av, .cme-who { cursor: pointer; }

/* Oct 29 2026: the ONE settings page, iOS style (Emmanuel: "so wie Apple iOS mit der Einstellung"): a title, your card on top
   (opens Your details), then short grouped lists, each group one rounded block with thin lines between its rows */
.cme-top { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 4px 10px; }
.cme-h { flex: 1 1 auto; margin: 0; font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -.01em; }
.cme-ov .cme-h { text-align: center; }
.cme-me { width: 100%; box-sizing: border-box; min-height: 68px; margin: 0 0 4px; padding: 10px 12px; border-radius: 16px; text-align: left; color: inherit; font: inherit;
    background: rgba(255,255,255,.06); border: 1px solid rgba(110,225,255,.32); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cme-me:active { transform: scale(.985); background: rgba(110,225,255,.12); }
.cme-me:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cme-me .cme-av { width: 52px; height: 52px; }
.cme-me .cme-who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cme-sec { margin-top: 16px; }
.cme-sec + .cme-sec { margin-top: 16px; }
.cme-list { gap: 0; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(110,225,255,.28); }
.cme-list > .cme-row { min-height: 50px; padding: 6px 12px; border: 0; border-radius: 0; background: transparent; }
.cme-list > .cme-row + .cme-row { box-shadow: inset 0 1px 0 rgba(160,220,255,.12); }
.cme-list > .cme-row:active { transform: none; background: rgba(110,225,255,.12); }
.cme-list > .cme-row:focus-visible { outline-offset: -3px; }
.cme-sec-danger .cme-list { border-color: rgba(255,110,110,.45); background: rgba(255,80,80,.07); }
.cme-sec-danger .cme-list > .cme-danger { background: transparent; }
@media (min-width: 700px) { .cme-sec[aria-label] .cme-list { grid-template-columns: 1fr; } }
html[data-theme="light"] .cme-me { background: rgba(255,255,255,.65); border-color: rgba(0,150,210,.4); }
html[data-theme="light"] .cme-list { background: rgba(255,255,255,.6); border-color: rgba(0,150,210,.35); }
html[data-theme="light"] .cme-list > .cme-row + .cme-row { box-shadow: inset 0 1px 0 rgba(0,60,110,.12); }
/* Dark (true black): the chosen language in gold. (Nov 5 2026: the separate App theme row moved into Look, time of day & weather.) */
html[data-black="1"] .cme-langs button.on, html[data-black="1"] .one-sheet .cme-in .cme-langs button.on { background: rgba(230,184,92,.2); border-color: rgba(230,184,92,.85); color: #f6e3b4; }
html[data-black="1"] .cme-langs button { border-color: rgba(255,255,255,.18); }
/* Nov 5 2026, Day mode: Settings sits on the dark glass sheet in Day too (one-sheet.css paints the text white), but the profile card
   at the top kept the old light-sheet card (white at 65 %), so the name and its line were white on near-white (contrast 1:1). */
html[data-theme="light"] .one-sheet .cme-in .cme-me { background: rgba(255,255,255,.1); border-color: var(--one-cell-line, rgba(143,231,255,.32)); }

/* Nov 5 2026 (owner: VR off was hard to find): the VR row is an iOS switch with its state written under the name. Owned by the
   Körperklang / VR task; the switch takes the app's gold in true black and Day, blue in the old Night. */
.cme-swrow .cme-sw { flex: none; position: relative; width: 51px; height: 31px; border-radius: 16px; background: rgba(120,130,150,.42); transition: background .25s; }
.cme-swrow .cme-sw i { position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.28); transition: transform .25s cubic-bezier(.32,.72,0,1); }
.cme-swrow[aria-checked="true"] .cme-sw { background: #4aa3ff; }
html[data-black] .cme-swrow[aria-checked="true"] .cme-sw { background: #e9b44c; }
html[data-black] .cme-swrow .cme-sw { background: rgba(120,120,128,.42); }
html[data-theme="light"] .cme-swrow .cme-sw { background: rgba(120,120,128,.24); }
html[data-theme="light"] .cme-swrow[aria-checked="true"] .cme-sw { background: #c4860f; }
.cme-swrow[aria-checked="true"] .cme-sw i { transform: translateX(20px); }
.cme-swrow[aria-disabled="true"] { cursor: default; }
.cme-swrow[aria-disabled="true"] .cme-sw { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .cme-swrow .cme-sw, .cme-swrow .cme-sw i { transition: none; } }
html.lowi-saver .cme-swrow .cme-sw, html.lowi-saver .cme-swrow .cme-sw i { transition: none; }
