#screen-you { background: var(--bg); color: var(--ink); min-height: 100%; }
#screen-you[hidden] { display: none; }
.you-scroll { width: min(100%, var(--app-w)); min-height: 100vh; margin: 0 auto; padding: calc(26px + var(--safe-t)) 18px calc(var(--tabbar-h) + var(--safe-b) + 22px); overflow-y: auto; }
.you-hero { display: flex; align-items: center; gap: 14px; padding: 6px 2px 22px; }
.you-avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font: 500 24px var(--serif); }
.you-avatar .icon { width: 24px; height: 24px; }
.you-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.you-hero h1 { margin: 0; font: 500 30px/1.05 var(--serif); letter-spacing: -.02em; }
.you-hero p { margin: 4px 0 0; color: var(--muted); font: 400 13px var(--sans); }
.you-challenge { margin: -18px 0 22px; color: var(--muted); font: 500 12px var(--sans); text-align: center; }
.you-premium { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 26px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.you-premium span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.you-premium strong { font: 600 14px var(--sans); }
.you-premium small { color: var(--muted); font: 400 12px var(--sans); }
.you-premium .icon, .you-row .icon { flex: none; width: 16px; height: 16px; color: var(--muted); }
/* one row style for everything: label left, value or control right */
.you-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 8px 14px 8px 16px; border: 0; background: none; color: var(--ink); text-align: left; font: inherit; }
.you-row + .you-row { border-top: 1px solid var(--line); }
button.you-row { cursor: pointer; }
.you-row > strong { flex: 1; font: 500 14px var(--sans); }
.you-row > span { color: var(--muted); font: 400 13px var(--sans); }
.you-row.is-danger > strong { color: var(--danger); }
.you-sheet-list .you-text-btn { margin-top: 6px; }
.you-topics-sheet .you-chips { padding-bottom: 6px; }
.you-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); padding: 16px 0 15px; margin-bottom: 26px; }
.you-stat { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.you-stat + .you-stat { border-left: 1px solid var(--line); }
.you-stat strong { font: 500 22px/1 var(--serif); }
.you-stat span, .you-section h2 { color: var(--muted); font: 600 10px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.you-section { margin-bottom: 24px; }
.you-section h2 { margin: 0 3px 10px; }
.you-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.you-premium-card { display: flex; align-items: center; gap: 14px; padding: 17px 15px; }
.you-premium-card .you-row-copy { flex: 1; }
.you-row-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.you-row-copy strong { font: 500 14px/1.25 var(--sans); }
.you-row-copy span, .you-row-copy small { color: var(--muted); font: 400 12px/1.45 var(--sans); }
.you-primary-btn, .you-danger-btn { min-height: 44px; border: 1px solid var(--accent); border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); padding: 0 15px; font: 600 12px var(--sans); cursor: pointer; }
.you-ghost-btn, .you-text-btn { border: 0; background: transparent; color: var(--muted); padding: 10px 0; font: 500 12px var(--sans); cursor: pointer; white-space: nowrap; }
.you-ghost-btn:hover, .you-text-btn:hover { color: var(--ink); }
.you-setting-row, .you-memory-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 15px; }
.you-setting-row + .you-setting-row, .you-memory-head { border-top: 1px solid var(--line); }
.you-segmented { display: flex; flex: 0 0 auto; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px; background: var(--surface-2); }
.you-segment { min-width: 44px; min-height: 36px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); padding: 0 8px; font: 500 11px var(--sans); cursor: pointer; }
.you-segment.is-selected { background: var(--accent); color: var(--on-accent); }
.you-segment:hover:not(.is-selected) { color: var(--ink); }
.you-sample { margin: 0 15px 15px; padding: 15px 14px 13px; border-radius: var(--r-sm); background: var(--surface-2); }
.you-sample p { margin: 0 0 8px; color: var(--ink); font: 400 calc(21px * var(--you-sample-scale, 1))/1.18 var(--serif); }
.you-sample span { color: var(--muted); font: 600 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.you-action-row { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 67px; padding: 13px 15px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.you-action-row span { display: flex; flex-direction: column; gap: 5px; }
.you-action-row small { color: var(--muted); font: 400 12px var(--sans); }
.you-action-row .icon, .you-reset-row .icon { width: 17px; height: 17px; color: var(--muted); }
.you-memory-head .you-row-copy { flex: 1; }
.you-memory-list { padding: 0 15px 14px; }
.you-memory-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.you-memory-item span { flex: 1; font: 400 13px/1.45 var(--sans); }
.you-icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.you-icon-btn .icon { width: 17px; height: 17px; }
.you-icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.you-empty { margin: 0; padding: 3px 0 2px; color: var(--muted); font: 400 12px/1.5 var(--sans); }
.you-topics-card { padding: 15px; }
.you-topics-card > p { margin: 0 0 14px; color: var(--muted); font: 400 12px/1.5 var(--sans); }
.you-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.you-chip { min-height: 36px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); padding: 0 12px; font: 400 12px var(--sans); cursor: pointer; }
.you-chip.is-selected { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.you-chip:hover:not(.is-selected) { border-color: var(--muted); }
.you-about-card { padding: 1px 15px; }
.you-info-row { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; font: 400 12px var(--sans); }
.you-info-row + .you-info-row { border-top: 1px solid var(--line); }
.you-info-row > span { color: var(--muted); }
.you-info-row strong { font-weight: 500; text-align: right; }
.you-info-row small { color: var(--muted); font-weight: 400; }
.you-reset-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--danger); padding: 0 3px; font: 500 13px var(--sans); text-align: left; cursor: pointer; }
.you-bottom-space { height: 20px; }
.you-language-list { display: flex; flex-direction: column; margin: -5px -18px -16px; }
.you-language-option { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); padding: 0 18px; font: 400 15px var(--sans); text-align: left; cursor: pointer; }
.you-language-option .icon { width: 18px; height: 18px; color: var(--muted); }
.you-confirm p { margin: 0 0 20px; color: var(--muted); font: 400 14px/1.5 var(--sans); }
.you-confirm .you-danger-btn { width: 100%; background: var(--danger); border-color: var(--danger); color: var(--on-accent); }
.you-card button:focus-visible, .you-reset-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .you-card, .you-chip, .you-segment { transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease); } }
@media (min-width: 560px) { .you-scroll { padding-inline: 28px; } }
.you-bible { margin: -14px 0 18px; color: var(--muted); font: 500 13px var(--sans); text-align: center; }
.you-language-option small{display:block;margin-top:3px;color:var(--muted);font:400 11px/1.35 var(--sans)}
.you-language-option span{text-align:left}
/* stats: this week (bars) + Bible progress (tracks) */
.you-chart { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 16px 16px 14px; margin-bottom: 14px; }
.you-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.you-chart-head h2 { margin: 0; color: var(--muted); font: 600 10px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.you-chart-value { margin: 0; color: var(--ink); font: 500 15px/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.you-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 112px; }
.you-bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; padding: 0; background: none; border: 0; cursor: pointer; color: var(--muted); }
.you-bar-fill { width: 100%; max-width: 22px; border-radius: 4px 4px 0 0; background: var(--ink-2); opacity: .45; transition: opacity .2s; }
.you-bar.is-today .you-bar-fill, .you-bar.is-picked .you-bar-fill { opacity: 1; background: var(--ink); }
.you-bar small { font: 500 10px/1 var(--sans); }
.you-bar.is-today small, .you-bar.is-picked small { color: var(--ink); }
.you-bar::before { content: ''; flex: 1; }   /* fills the space above the bar so the whole column is the tap target */
.you-bar:focus-visible { outline: 2px solid var(--muted); outline-offset: 2px; border-radius: 6px; }
.you-track-row { display: grid; grid-template-columns: 7.5em 1fr 3em; align-items: center; gap: 10px; color: var(--ink-2); font: 500 12px/1.2 var(--sans); }
.you-track-row + .you-track-row { margin-top: 10px; }
.you-track-row b { text-align: right; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.you-track { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.you-track i { display: block; height: 100%; min-width: 0; border-radius: 3px; background: var(--ink); }
/* streak pill beside the name; the details open in a sheet (explore.js openStreak) */
.you-hero h1 { display: flex; align-items: center; gap: 10px; }
.you-streak { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font: 600 13px/1 var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; }
.you-streak .icon { width: 15px; height: 15px; }
.you-streak.is-on { color: var(--ink); }
.you-streak.is-on .icon { color: var(--fire); }
.you-streak:focus-visible { outline: 2px solid var(--muted); outline-offset: 2px; }
/* real Premium (bought or redeemed, not the local test switch): silver ring on the avatar, a small star badge after the name
   (Telegram/X style), and a soft light sweep across the name every few seconds (Duolingo Super style) */
.you-hero.is-premium .you-avatar { position: relative; border-color: transparent; }
.you-hero.is-premium .you-avatar::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; padding: 1.5px; background: conic-gradient(from 210deg, var(--muted), var(--ink), var(--muted) 40%, var(--ink) 70%, var(--muted)); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.you-name { background: linear-gradient(100deg, var(--ink) 38%, color-mix(in srgb, var(--ink) 30%, var(--bg)) 46%, var(--ink) 50%, color-mix(in srgb, var(--ink) 30%, var(--bg)) 54%, var(--ink) 62%) 100% 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; }
.is-premium .you-name { color: transparent; animation: you-sheen 6s ease-in-out 600ms infinite; }
@keyframes you-sheen { 0% { background-position: 100% 0; } 25%, 100% { background-position: 0 0; } }
.you-badge { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: -4px; border-radius: 50%; background: linear-gradient(145deg, var(--ink) 30%, var(--muted) 75%, var(--ink)); color: var(--bg); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bg) 25%, transparent); }
.you-badge .icon { width: 14px; height: 14px; stroke-width: 1.5; }
.you-hero.is-premium p { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .is-premium .you-name { animation: none; background-position: 0 0; } }
