/* ══ Sub pages, grouped lists, results, action sheet (11-18 pages pass). Loaded last; only --ok-* tokens. ══ */

/* ── Buttons: radius 14, no giant pills ── */
.primary,.ok-sheet-confirm,.secondary-action,.wallet-history-more{border-radius:14px}
.ok-btn-block{width:100%;min-height:50px}

/* ── Sub page shell: full screen, pushed in from the right ── */
.ok-page{position:fixed;inset:0;z-index:40;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--ok-page);color:var(--ok-label);box-shadow:-8px 0 24px rgb(0 0 0 / 0%)}
.ok-pushed{animation:ok-push-in 340ms var(--ok-ease) both;will-change:transform}
.ok-pushed.is-dragging{animation:none;box-shadow:-10px 0 30px rgb(0 0 0 / 14%)}
.ok-pushed.is-leaving{animation:ok-push-out 260ms var(--ok-ease) both;pointer-events:none}
@keyframes ok-push-in{from{transform:translate3d(100%,0,0)}to{transform:none}}
@keyframes ok-push-out{to{transform:translate3d(100%,0,0)}}
@media (prefers-reduced-motion: reduce){.ok-pushed,.ok-pushed.is-leaving{animation:none}}
.ok-page>.ok-subhead{position:sticky;top:0}
.ok-page-body{display:flex;flex-direction:column;max-width:640px;margin:0 auto;padding:16px calc(var(--safe-right,0px) + 16px) calc(var(--app-bottom-inset,0px) + 32px) calc(var(--safe-left,0px) + 16px)}
.ok-page-body>*{flex:none}
.ok-page-body>:first-child{margin-top:0}

/* ── Grouped list (iOS inset grouped) ── */
.ok-group{position:relative;margin:0 0 20px;overflow:hidden;border-radius:var(--ok-card-radius);background:var(--ok-surface)}
.ok-group-title{display:flex;align-items:baseline;gap:8px;margin:0 0 6px;padding:0 16px;color:var(--ok-label-2);font-size:var(--ok-text-footnote);font-weight:var(--ok-weight-regular);line-height:18px}
.ok-group-title.ok-split{justify-content:space-between}
.ok-group-title small{color:var(--ok-label-3);font-size:12px;font-variant-numeric:tabular-nums}
.ok-group-title .ok-text-btn{min-height:0;padding:0;font-size:var(--ok-text-footnote)}
.ok-group-foot{margin:-14px 16px 20px;color:var(--ok-label-3);font-size:var(--ok-text-footnote);line-height:18px}
.ok-group-foot.is-error{color:var(--ok-danger)}
.ok-cell{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:48px;margin:0;padding:12px 16px;border:0;border-radius:0;background:none;color:var(--ok-label);font:inherit;font-size:var(--ok-text-subhead);line-height:20px;text-align:left;box-shadow:none}
.ok-group>*+*::before,.ok-group>.ok-row2+.ok-row2::before{content:'';position:absolute;top:0;left:16px;right:0;border-top:.5px solid var(--ok-separator);pointer-events:none}
.ok-cell>span:first-child{flex:none;color:var(--ok-label-2)}
.ok-cell>strong{flex:1;min-width:0;color:var(--ok-label);font-weight:var(--ok-weight-medium);text-align:right;word-break:break-all;font-variant-numeric:tabular-nums}
.ok-cell>small,.ok-cell-value{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--ok-label-2);font-size:var(--ok-text-subhead);font-variant-numeric:tabular-nums}
.ok-cell-btn{cursor:pointer;-webkit-tap-highlight-color:transparent}
.ok-cell-btn>span:first-child{flex:1;color:var(--ok-label);font-size:16px}
.ok-cell-btn>small+.ok-chevron,.ok-cell-btn>.ok-cell-value+.ok-chevron{margin-left:0}
.ok-cell-btn:active{background:var(--ok-fill)}
.ok-cell .ok-chevron,.ok-row2 .ok-chevron{flex:none;width:14px;height:14px;margin-left:auto;color:var(--ok-label-3)}
.ok-cell-copy{display:inline-flex;flex:1;align-items:center;justify-content:flex-end;gap:6px;min-width:0;margin:0;padding:0;border:0;background:none;color:var(--ok-label);font:inherit;font-weight:var(--ok-weight-medium);text-align:right;font-variant-numeric:tabular-nums}
.ok-cell-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ok-cell-copy svg{flex:none;width:15px;height:15px;color:var(--ok-label-3)}
.ok-cell .is-ok,.ok-cell .is-win,.ok-row2 .is-win{color:var(--ok-success)}
.ok-cell .is-wait{color:var(--ok-warning)}
.ok-cell .is-bad,.ok-cell .is-loss,.ok-row2 .is-loss{color:var(--ok-danger)}
.ok-cell em{font-style:normal;color:var(--ok-warning);font-variant-numeric:tabular-nums}
.ok-check{flex:none;width:18px;height:18px;margin-left:auto;color:var(--ok-brand-strong);visibility:hidden}
[aria-checked=true]>.ok-check{visibility:visible}
.ok-row2{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:60px;margin:0;padding:10px 16px;border:0;background:none;color:var(--ok-label);font:inherit;text-align:left}
.ok-row2>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.ok-row2>span:first-child{flex:1}
.ok-row2>span:last-child:not(:first-child){align-items:flex-end;text-align:right}
.ok-row2 strong{overflow:hidden;color:var(--ok-label);font-size:var(--ok-text-subhead);font-weight:var(--ok-weight-medium);text-overflow:ellipsis;white-space:nowrap}
.ok-row2 b{color:var(--ok-label);font-size:var(--ok-text-subhead);font-weight:var(--ok-weight-semibold);font-variant-numeric:tabular-nums;white-space:nowrap}
.ok-row2 small{color:var(--ok-label-3);font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}
.ok-prose{padding:12px 16px}
.ok-prose p{margin:0;color:var(--ok-label-2);font-size:var(--ok-text-footnote);line-height:20px}
.ok-prose p+p{margin-top:6px}
.ok-quiet{margin:8px 0 20px;padding:20px 16px;color:var(--ok-label-3);font-size:var(--ok-text-subhead);line-height:20px;text-align:center}
.ok-pill{flex:none;min-height:30px;margin:0;padding:0 14px;border:0;border-radius:var(--ok-radius-pill);background:var(--ok-brand-soft);color:var(--ok-brand-strong);font:inherit;font-size:var(--ok-text-footnote);font-weight:var(--ok-weight-semibold)}
.ok-pill:disabled{background:var(--ok-fill);color:var(--ok-label-3)}
.ok-more{align-self:center;margin:-8px 0 20px}
.ok-page .ok-segmented{margin:0 0 12px}

/* ── Bottom foot (完成 + 查看账单) ── */
.ok-page-foot{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-top:8px}
.ok-page-foot.is-plain{margin-top:0}
.ok-foot-link{align-self:center;min-height:44px;font-weight:var(--ok-weight-medium)}

/* ── Result page (提现 / 充值 / 转入) ── */
.ok-result{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px 0 24px;text-align:center}
.ok-result-head{display:flex;align-items:center;gap:6px;color:var(--ok-success);font-size:var(--ok-text-subhead);font-weight:var(--ok-weight-semibold);line-height:22px}
.ok-result.is-wait .ok-result-head{color:var(--ok-warning)}
.ok-result.is-fail .ok-result-head{color:var(--ok-danger)}
.ok-result-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:currentColor}
.ok-result-icon svg{width:14px;height:14px;color:var(--ok-surface);stroke-width:2.6}
.ok-result.is-wait .ok-result-icon{background:none}
.ok-result.is-wait .ok-result-icon svg{width:20px;height:20px;color:currentColor;stroke-width:2}
.ok-result-amount{color:var(--ok-label);font-size:var(--ok-text-large);font-weight:var(--ok-weight-bold);line-height:1.15;letter-spacing:var(--ok-track-large);font-variant-numeric:tabular-nums}
.ok-result-note{margin:2px 0 0;color:var(--ok-label-2);font-size:var(--ok-text-footnote);line-height:18px}

/* ── Detail hero (账单详情 / 注单详情) ── */
.ok-detail-hero{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 0 24px;text-align:center}
.ok-detail-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:2px;border-radius:50%;background:var(--ok-fill);color:var(--ok-label)}
.ok-detail-icon svg{width:20px;height:20px}
.ok-detail-title{color:var(--ok-label-2);font-size:var(--ok-text-subhead)}
.ok-detail-amount{color:var(--ok-label);font-size:var(--ok-text-large);font-weight:var(--ok-weight-bold);line-height:1.15;letter-spacing:var(--ok-track-large);font-variant-numeric:tabular-nums}
.ok-detail-amount.is-income,.ok-detail-amount.is-win{color:var(--ok-success)}
.ok-detail-amount.is-loss{color:var(--ok-danger)}
.ok-detail-amount.is-muted{color:var(--ok-label-3)}

/* ── Action sheet (iOS) — confirmations and small menus ── */
.ok-action-layer{position:fixed;inset:0;z-index:200}
.ok-action-scrim{position:absolute;inset:0;width:100%;min-height:0;padding:0;border:0;background:var(--ok-scrim);animation:ok-fade-in var(--ok-dur) var(--ok-ease)}
.ok-action{position:absolute;left:8px;right:8px;bottom:calc(8px + var(--app-bottom-inset,var(--safe-bottom,0px)));display:flex;flex-direction:column;gap:8px;max-width:520px;margin:0 auto;animation:ok-sheet-in 380ms var(--ok-ease)}
.ok-action-layer.is-leaving .ok-action-scrim{opacity:0;transition:opacity 180ms}
.ok-action-layer.is-leaving .ok-action{transform:translateY(110%);transition:transform 200ms var(--ok-ease)}
.ok-action-group{overflow:hidden;border-radius:14px;background:var(--ok-glass-strong);-webkit-backdrop-filter:var(--ok-blur-thick);backdrop-filter:var(--ok-blur-thick)}
.ok-action-head{padding:14px 16px 12px;text-align:center}
.ok-action-head strong{display:block;color:var(--ok-label-2);font-size:var(--ok-text-footnote);font-weight:var(--ok-weight-semibold);line-height:18px}
.ok-action-head p{margin:2px 0 0;color:var(--ok-label-2);font-size:var(--ok-text-footnote);line-height:18px;white-space:pre-line}
.ok-action-rows{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding-top:12px;border-top:.5px solid var(--ok-separator);text-align:left}
.ok-action-rows>div{display:flex;justify-content:space-between;gap:12px;font-size:var(--ok-text-subhead);line-height:20px;font-variant-numeric:tabular-nums}
.ok-action-rows span{color:var(--ok-label-2)}
.ok-action-rows em{color:var(--ok-label);font-style:normal;text-align:right}
.ok-action-rows b{color:var(--ok-label);font-weight:var(--ok-weight-semibold)}
.ok-action-btn{display:block;width:100%;min-height:56px;margin:0;padding:0 16px;border:0;border-top:.5px solid var(--ok-separator);border-radius:0;background:none;color:var(--ok-brand-strong);font:inherit;font-size:var(--ok-text-body);font-weight:var(--ok-weight-regular)}
.ok-action-group>.ok-action-btn:first-child{border-top:0}
.ok-action-btn.is-bold{font-weight:var(--ok-weight-semibold)}
.ok-action-btn.is-danger{color:var(--ok-danger)}
.ok-action-btn:active{background:var(--ok-fill)}
.ok-action-cancel{border:0;border-radius:14px;background:var(--ok-surface);font-weight:var(--ok-weight-semibold)}

/* ── Bottom sheets (menus / pickers): full width, attached to the bottom edge, solid page colour ── */
.ok-sheet-layer>.ok-sheet,.ok-sheet{left:0;right:0;bottom:0;width:100%;max-width:640px;border-radius:20px 20px 0 0;background:var(--ok-page);box-shadow:0 -1px 0 var(--ok-glass-edge);-webkit-backdrop-filter:none;backdrop-filter:none}
.ok-sheet-header{padding:16px 16px 4px 20px}
.ok-sheet-header strong{font-size:var(--ok-text-body);font-weight:var(--ok-weight-semibold)}
.ok-sheet-close{width:30px;height:30px}
.ok-sheet-body{padding:12px 16px calc(16px + var(--app-bottom-inset,var(--safe-bottom,0px)))}
.ok-sheet:has(.me-follow-list){width:100%}

/* ── Shop sub views: no tab bar on pushed views ── */
#app:has(>.ok-subhead) .nav{display:none}
#app:has(>.ok-subhead){--nav-height:calc(max(var(--app-bottom-inset,0px),12px) + 8px)}
#app:has(>.ok-subhead) .page{padding-bottom:calc(var(--app-bottom-inset,0px) + 32px)}

/* ── 我的 · 本月 ── */
.me-month{margin:24px calc(var(--safe-right,0px) + 16px) 4px calc(var(--safe-left,0px) + 16px)}
.me-month .ok-group{margin:0}
.me-month .ok-group{background:var(--me-card,var(--ok-surface))}
.me-month-row{position:relative;display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:12px 16px;border:0;border-radius:0;background:none;color:var(--ok-label);font:inherit;text-align:left;-webkit-tap-highlight-color:transparent}
.me-month-row:active{background:var(--ok-fill)}
.me-month-main{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.me-month-label{color:var(--ok-label-2);font-size:var(--ok-text-footnote);line-height:18px}
.me-month-value{color:var(--ok-label);font-size:var(--ok-text-title2);font-weight:var(--ok-weight-semibold);line-height:28px;letter-spacing:var(--ok-track-title);font-variant-numeric:tabular-nums}
.me-month-value.is-win{color:var(--ok-success)}
.me-month-value.is-loss{color:var(--ok-danger)}
.me-month-meta{overflow:hidden;color:var(--ok-label-2);font-size:var(--ok-text-footnote);line-height:18px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.me-month-row.is-empty{padding:12px 16px}
.me-month-row.is-empty .me-month-label{color:var(--ok-label);font-size:var(--ok-text-subhead);line-height:20px}
.me-month-row.is-empty .me-month-meta{color:var(--ok-label-3)}
.me-month-cta{flex:none;color:var(--ok-brand-strong);font-size:var(--ok-text-subhead);font-weight:var(--ok-weight-medium)}
.me-month-row .ok-chevron{flex:none;width:14px;height:14px;color:var(--ok-label-3)}
.me-month-empty{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:6px 8px 6px 16px;color:var(--ok-label-2);font-size:var(--ok-text-subhead)}
.me-month-links{display:flex;flex:none}
.me-month-links .ok-text-btn{padding:0 8px;font-weight:var(--ok-weight-medium)}

/* ── ≡ drawer: two grouped lists, nothing else ── */
.me-drawer-panel{padding-top:calc(var(--app-top-inset) + 12px)}
.me-drawer-panel .ok-group{background:var(--ok-surface)}

/* ── 钱包 ── */
.wallet-hero,.bet-hero,.activity-hero,.invite-hero{display:flex;flex-direction:column;gap:2px;padding:8px 16px 20px}
.wallet-hero span,.bet-hero span,.invite-hero>span{color:var(--ok-label-2);font-size:var(--ok-text-footnote);line-height:18px}
.wallet-hero strong,.bet-hero strong{color:var(--ok-label);font-size:var(--ok-text-large);font-weight:var(--ok-weight-bold);line-height:1.2;letter-spacing:var(--ok-track-large);font-variant-numeric:tabular-nums}
.bet-hero strong.is-win{color:var(--ok-success)}
.bet-hero strong.is-loss{color:var(--ok-danger)}
.wallet-hero small,.bet-hero small{color:var(--ok-label-2);font-size:var(--ok-text-footnote);line-height:18px;font-variant-numeric:tabular-nums}
.wallet-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:12px;margin:0 0 24px}
.wallet-actions>button{min-height:48px;margin:0;font-size:var(--ok-text-body)}
.wallet-actions .secondary-action{background:var(--ok-surface);color:var(--ok-label)}

/* ── 邀请好友 / 活动 ── */
.invite-code{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;margin:0;padding:0;border:0;background:none;color:var(--ok-label);font:inherit}
.invite-code strong{font-size:var(--ok-text-title1);font-weight:var(--ok-weight-bold);letter-spacing:.08em;font-variant-numeric:tabular-nums}
.invite-code svg{width:18px;height:18px;color:var(--ok-label-3)}
.activity-hero strong{color:var(--ok-label);font-size:var(--ok-text-title1);font-weight:var(--ok-weight-bold);line-height:1.2}
.activity-hero span{color:var(--ok-label-2);font-size:var(--ok-text-footnote)}
.ok-cell .ok-pill{margin-left:8px}

/* ── 转入 ── */
.ok-amount-field{display:flex;align-items:center;gap:8px;min-height:56px;margin:0 0 20px;padding:0 16px;border-radius:var(--ok-card-radius);background:var(--ok-surface)}
.ok-amount-field b{color:var(--ok-label);font-size:var(--ok-text-title2);font-weight:var(--ok-weight-semibold)}
.ok-amount-field input{flex:1;min-width:0;height:56px;border:0;background:none;color:var(--ok-label);font:inherit;font-size:var(--ok-text-title2);font-weight:var(--ok-weight-semibold);outline:none;font-variant-numeric:tabular-nums}
.ok-amount-field input::placeholder{color:var(--ok-label-3);font-size:var(--ok-text-body);font-weight:var(--ok-weight-regular)}
.ok-amount-field+.ok-group-foot.is-error,.ok-group-foot#transfer-status.is-error{color:var(--ok-danger)}

/* ── 充值 / 提现 inside a page ── */
.ok-page-body.wl-sheet{gap:20px}
.ok-page-body.wl-sheet.is-result{gap:0}
.wl-page .wl-section-head{padding:0 16px;color:var(--ok-label-2);font-size:var(--ok-text-footnote);font-weight:var(--ok-weight-regular)}
.wl-page .wl-card,.wl-page .wl-flow{border:0;border-radius:var(--ok-card-radius);background:var(--ok-surface);box-shadow:none}
.wl-page .wl-input{min-height:56px;border:0;border-radius:var(--ok-card-radius);background:var(--ok-surface)}
.wl-page .wl-summary{border-radius:var(--ok-card-radius);background:var(--ok-surface);box-shadow:none;padding:14px 16px}
.wl-page .wl-hint,.wl-page .wl-foot{padding:0 16px}
.wl-page .wl-method{border:0;background:var(--ok-surface);box-shadow:none}
.wl-page .wl-presets button{background:var(--ok-surface)}
.wl-page .wl-presets button.active{background:var(--ok-label);color:var(--ok-page)}
.wl-page .wl-notes{padding-left:32px}

/* ── Existing full pages pick up the page shell ── */
.ok-page.wallet-history-page .wallet-history-body{padding-left:calc(var(--safe-left,0px) + 16px);padding-right:calc(var(--safe-right,0px) + 16px)}
.bet-page .ok-chips{margin-bottom:8px}
.bet-page .ok-group-title{margin-top:8px}
.bill-page .bill-month-head{margin:20px 0 6px;padding:0 16px}
.bill-page .bill-month:first-child .bill-month-head{margin-top:4px}
.bill-page .bill-list,.bet-page .ok-list{margin-top:0;border-radius:var(--ok-card-radius);background:var(--ok-surface)}

/* ── 关注 list in a page ── */
.follow-page .me-follow-rows{padding:0}
.follow-page .me-follow-row{position:relative;padding:10px 16px}
.ok-group.ok-prose>*+*::before{content:none}
.wallet-hero,.bet-hero,.activity-hero,.invite-hero{align-items:flex-start;text-align:left}
.activity-hero{border:0;background:none;box-shadow:none}
.ok-tick{flex:none;width:20px;height:20px;margin-left:auto;color:var(--ok-brand-strong);visibility:hidden}
[aria-checked=true]>.ok-tick{visibility:visible}
.bill-page .bill-month-pick{display:inline-flex;align-items:center;gap:2px;min-height:32px;padding:0 10px 0 12px;border:0;border-radius:var(--ok-radius-pill);background:var(--ok-surface);color:var(--ok-label);font:inherit;font-size:var(--ok-text-footnote);font-weight:var(--ok-weight-semibold)}
.bill-page .bill-month-pick svg{width:16px;height:16px;color:var(--ok-label-2)}
.bill-page .ok-quiet{margin:0 0 8px;padding:12px 16px}
/* 编辑简介 / 编辑作品: form fields as white grouped cells */
.profile-edit-page .profile-edit-form{max-width:640px;margin:0 auto;padding:16px calc(var(--safe-right,0px) + 16px) calc(var(--app-bottom-inset,0px) + 32px) calc(var(--safe-left,0px) + 16px)}
.profile-edit-page .profile-edit-form label{color:var(--ok-label-2);font-size:var(--ok-text-footnote)}
.profile-edit-page .profile-edit-form textarea,.profile-edit-page .profile-edit-form input{border:0;border-radius:var(--ok-card-radius);background:var(--ok-surface);color:var(--ok-label);box-shadow:none;font-size:var(--ok-text-body)}
.profile-edit-page .profile-edit-form textarea{min-height:120px;resize:none}
.profile-edit-page .profile-edit-form>p{color:var(--ok-label-3);font-size:var(--ok-text-footnote)}
/* 更多 (feed): six speeds on one row */
.feed-menu-rates{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.feed-menu-rates button{min-width:0;min-height:40px;padding:0;border-radius:12px;font-size:var(--ok-text-footnote)}
.feed-menu-list{background:var(--ok-surface)}
/* 收货地址表单: grouped iOS form instead of a card holding grey boxes */
.shop-address-form{gap:16px;padding:0;border:0;background:none;box-shadow:none}
.shop-address-form label{gap:6px;padding:0;color:var(--ok-label-2);font-size:var(--ok-text-footnote)}
.shop-address-form label>input,.shop-address-form select,.shop-address-form textarea{min-height:48px;border:0;border-radius:var(--ok-card-radius);background:var(--ok-surface);color:var(--ok-label);font-size:var(--ok-text-body);box-shadow:none}
.shop-address-form textarea{padding:12px 14px;resize:none}
.shop-address-form .shop-default-label{min-height:48px;padding:0 14px;border-radius:var(--ok-card-radius);background:var(--ok-surface);color:var(--ok-label);font-size:var(--ok-text-subhead)}
.shop-address-form .shop-default-label input{width:20px;height:20px;min-height:0;accent-color:var(--ok-brand)}
.shop-checkout-address select{border:0;border-radius:12px;background:var(--ok-fill);box-shadow:none}
/* 商城卡片里的小标题：17px 半粗，不再 20px 粗体；页面级区块标题同样收一档 */
.shop-card-title,.shop-delivery-detail>strong,.shop-checkout-address-head strong{font-size:var(--ok-text-body);font-weight:var(--ok-weight-semibold)}
.shop-page .ok-section-title,.shop-detail .ok-section-title{font-size:var(--ok-text-body);font-weight:var(--ok-weight-semibold)}
/* 文本框：去描边；卡片里用浅填充，直接放在页面底上的用白底 */
.shop-textarea,.shop-return-form input{border:0;border-radius:12px;background:var(--ok-fill);box-shadow:none;resize:none}
.shop-page>.shop-textarea,#shop-after-reason{background:var(--ok-surface)}
/* 评论（抖音式，保留为底部弹层）：实色底，不再透出视频成一片灰；输入栏同色 */
.comment-sheet{background:var(--ok-surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:20px 20px 0 0}
.comment-sheet .comment-compose{background:var(--ok-surface);border-top:.5px solid var(--ok-separator)}

/* ── Telegram 全屏：子页面标题放进「关闭/返回 · ⌄⋯」那一行正中（与主页面标题同位置同字号），
      不再另起一行导航栏；返回用 Telegram 原生 BackButton（全屏时替换左上角「关闭」），左缘右滑仍可返回。
      非全屏（浏览器 / Telegram 未全屏）仍是 52px 顶栏：返回 + 标题。 ── */
:root[data-tg-row] .ok-subhead{display:block;position:sticky;top:0;height:var(--app-top-inset);min-height:0;margin:0;padding:0;border-bottom:.5px solid var(--ok-separator)}
:root[data-tg-row] .ok-subhead .ok-subhead-back{display:none}
:root[data-tg-row] .ok-subhead h1{position:absolute;top:calc(var(--app-top-inset) - var(--tg-content-safe-top));left:calc(var(--safe-left,0px) + var(--ok-hpad));right:calc(var(--safe-right,0px) + var(--ok-hpad));height:var(--tg-content-safe-top);margin:0;overflow:hidden;color:var(--ok-label);font-size:var(--ok-text-body);font-weight:var(--ok-weight-semibold);line-height:var(--tg-content-safe-top);letter-spacing:-0.02em;text-align:center;text-overflow:ellipsis;white-space:nowrap}
/* 右侧文字操作（删除 / 新增 / 分享 / 清空 / 地址）贴在 ⌄⋯ 左边，同一行 */
:root[data-tg-row] .ok-subhead .ok-subhead-side{position:absolute;top:calc(var(--app-top-inset) - var(--tg-content-safe-top));right:calc(var(--safe-right,0px) + var(--ok-hpad) - 8px);display:flex;align-items:center;height:var(--tg-content-safe-top)}
:root[data-tg-row] .ok-subhead .ok-subhead-side .ok-text-btn{min-height:32px;padding:0 6px;font-size:var(--ok-text-subhead)}
:root[data-tg-row] .ok-subhead:has(.ok-subhead-side>*) h1{right:calc(var(--safe-right,0px) + var(--ok-hpad) + 40px);left:calc(var(--safe-left,0px) + var(--ok-hpad) + 40px)}
/* 内容紧贴顶栏，不留空白条 */
:root[data-tg-row] .ok-page-body{padding-top:12px}
:root[data-tg-row] .ok-subhead+.page{padding-top:12px}
:root[data-tg-row] .bill-filters{top:var(--app-top-inset)}

/* ── 创作者主页 / 栏目主页 ── */
.cp-page{background:var(--ok-page)}
.cp-head{display:flex;align-items:center;gap:12px;padding:16px calc(var(--safe-right,0px) + 12px) 12px calc(var(--safe-left,0px) + 16px)}
.cp-avatar{display:grid;flex:none;place-items:center;width:64px;height:64px;overflow:hidden;border-radius:50%;background:var(--ok-fill);color:var(--ok-label);font-size:var(--ok-text-title2);font-weight:var(--ok-weight-semibold)}
.cp-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.cp-letter{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,hsl(var(--cp-hue) 62% 58%),hsl(calc(var(--cp-hue) + 28) 58% 44%));color:#fff;font-size:26px;font-weight:var(--ok-weight-semibold)}
.cp-id{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.cp-id h2{margin:0;overflow:hidden;color:var(--ok-label);font-size:var(--ok-text-title3);font-weight:var(--ok-weight-bold);line-height:24px;text-overflow:ellipsis;white-space:nowrap}
.cp-meta{margin:0;color:var(--ok-label-2);font-size:var(--ok-text-footnote);line-height:18px;font-variant-numeric:tabular-nums}
.cp-follow-slot{display:contents}
.cp-follow{flex:none;min-width:64px;height:32px;margin:0;padding:0 14px;border:0;border-radius:16px;background:var(--ok-brand);color:var(--ok-on-brand);font:inherit;font-size:var(--ok-text-subhead);font-weight:var(--ok-weight-semibold)}
.cp-follow.is-followed{background:var(--ok-fill);color:var(--ok-label-2)}
.cp-follow:disabled{opacity:.6}
.cp-search{display:grid;flex:none;place-items:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:none;color:var(--ok-label)}
.cp-search svg{width:22px;height:22px}
.cp-search:active{background:var(--ok-fill)}
.cp-bio{margin:-4px calc(var(--safe-right,0px) + 16px) 12px calc(var(--safe-left,0px) + 16px);overflow:hidden;color:var(--ok-label-2);font-size:var(--ok-text-subhead);line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cp-page .category-persons{margin:0 16px 12px}
.cp-sort{padding:0 calc(var(--safe-right,0px) + 16px) 12px calc(var(--safe-left,0px) + 16px)}
.cp-sort .ok-segmented{width:160px}
.cp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding-bottom:calc(var(--app-bottom-inset,0px) + 8px)}
.cp-grid>.ok-quiet,.cp-grid>.ok-loading,.cp-grid>.ok-error-state{grid-column:1/-1}
.cp-work{position:relative;display:block;width:100%;margin:0;padding:0;overflow:hidden;border:0;border-radius:0;background:var(--ok-fill);aspect-ratio:3/4}
.cp-work img{display:block;width:100%;height:100%;object-fit:cover}
.cp-work-empty{display:grid;place-items:center;height:100%;color:var(--ok-label-3)}
.cp-work-empty svg{width:24px;height:24px}
.cp-more{display:block;margin:12px auto calc(var(--app-bottom-inset,0px) + 16px)}

/* ── 评论（抖音式） ── */
.cm-overlay{align-items:flex-end;padding-bottom:var(--cm-kb,0px)}
.cm-overlay .cm-sheet,.social-overlay.is-feed .cm-sheet{height:70dvh;max-height:calc(var(--cm-vh,100dvh) - 48px);padding:0 0 max(8px,var(--app-bottom-inset,0px));border:0;border-radius:16px 16px 0 0;background:var(--ok-surface)}
.cm-overlay.has-kb .cm-sheet{height:min(70dvh,calc(var(--cm-vh,100dvh) - 48px));padding-bottom:0}
.cm-head{position:relative;display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 48px}
.comment-sheet .cm-head h3{flex:none;margin:0;color:var(--ok-label);font-size:var(--ok-text-subhead);font-weight:var(--ok-weight-semibold);text-align:center}
.comment-sheet .cm-close{position:absolute;top:50%;right:8px;display:grid;place-items:center;width:40px;height:40px;margin:-20px 0 0;padding:0;border:0;background:none;color:var(--ok-label-2)}
.cm-close svg{width:18px;height:18px}
.cm-sheet .comment-list{padding:0 16px}
.cm-row{gap:10px;padding:10px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.cm-avatar{width:32px;height:32px;background:var(--ok-fill);color:var(--ok-label-2);font-size:13px;font-weight:var(--ok-weight-semibold)}
.cm-body strong{display:block;color:var(--ok-label-2);font-size:13px;font-weight:var(--ok-weight-regular);line-height:18px}
.cm-body p{margin:2px 0 4px;color:var(--ok-label);font-size:15px;line-height:21px}
.cm-body small{color:var(--ok-label-3);font-size:12px;line-height:16px}
.cm-body small button{min-height:0;color:var(--ok-label-2);font-size:12px}
.cm-like{flex:none;gap:2px;width:36px;min-height:0;padding:2px 0 0;color:var(--ok-label-3)}
.cm-like svg{width:18px;height:18px}
.cm-like small{color:var(--ok-label-3);font-size:11px;font-variant-numeric:tabular-nums}
.cm-like.active,.cm-like.active small{color:#ff3d64}
.cm-empty{margin:0;padding:48px 0;color:var(--ok-label-3);font-size:var(--ok-text-footnote);text-align:center}
.cm-reply{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 12px;padding:6px 4px 0 8px;color:var(--ok-label-2);font-size:12px}
.cm-reply[hidden]{display:none}
.cm-reply button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:none;color:var(--ok-label-3)}
.cm-reply svg{width:14px;height:14px}
.cm-compose{gap:8px;padding:8px 12px;border-top:.5px solid var(--ok-separator);background:var(--ok-surface)}
.cm-compose input{flex:1;height:40px;min-width:0;margin:0;padding:0 16px;border:1px solid transparent;border-radius:20px;background:var(--ok-fill);color:var(--ok-label);font-size:16px;outline:none;box-shadow:none}
.cm-compose input:focus{border-color:var(--ok-brand-border);box-shadow:none}
.cm-compose input::placeholder{color:var(--ok-label-3)}
.cm-compose .cm-send{flex:none;height:40px;padding:0 6px;border:0;border-radius:0;background:none;color:var(--ok-brand-strong);font-size:var(--ok-text-body);font-weight:var(--ok-weight-semibold)}
.cm-compose .cm-send[hidden]{display:none}

/* ── iOS：输入框 < 16px 聚焦会整页放大；全站输入统一 ≥ 16px ── */
input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{font-size:max(16px,1em)}

/* ── 详情页全屏：标题单行 15px，随控件显隐，上方淡渐变 ── */
.vd-page .player.is-full .player-title{font-size:var(--ok-text-subhead);line-height:20px}
.vd-page .player.is-full .player-top{padding-bottom:20px;background:linear-gradient(rgb(0 0 0 / 45%),rgb(0 0 0 / 0%))}
/* 粉丝 / 关注名单：整行左边点开主页，右边 关注 / 回关 / 已关注 按钮 */
.me-follow-row.fl-row:active{background:none}
.fl-row .fl-open{display:flex;flex:1;align-items:center;gap:12px;min-width:0;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left}
.fl-row .fl-open:active{opacity:.6}
.fl-row .me-follow-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fl-row .cp-follow{min-width:76px;height:30px;padding:0 12px;font-size:var(--ok-text-footnote)}
.fl-page .pf-locked{padding:64px 16px}
/* 空状态：吉祥物右下角的小图标（emptyState icon）。 */
.ok-empty-art{position:relative;display:inline-flex;flex:none}
.ok-empty-badge{position:absolute;right:-2px;bottom:6px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:var(--ok-brand-strong,var(--ok-label));background:var(--ok-card,var(--ok-page));box-shadow:0 1px 4px rgb(0 0 0 / 12%),0 0 0 .5px var(--ok-hairline,rgb(0 0 0 / 8%))}
.ok-empty-badge svg{width:16px;height:16px}
/* 关注为空时的推荐关注（真实栏目 / 创作者，按粉丝数） */
.fw-suggest{padding:16px calc(var(--safe-right) + 16px) 0 calc(var(--safe-left) + 16px)}
.fw-suggest .ok-section-title{margin:0 4px 8px}
/* 评论排序：最热 / 最新 */
.cm-sort{display:flex;justify-content:center;gap:20px;margin:-6px 0 4px}
.cm-sort button{min-height:28px;padding:0 4px;border:0;background:none;color:var(--ok-label-3);font:inherit;font-size:var(--ok-text-footnote)}
.cm-sort button.active{color:var(--ok-label);font-weight:var(--ok-weight-semibold)}
.cm-sort[hidden]{display:none}
