/* partner-mobile-c 1.2.113-termname1: 首页精简 + 身份区 */
/* compact.1 pmc density */
/* partner-mobile-c.1 — 合伙人手机首页 方案C（卡片＋轨道），仅手机宽度生效 */
.pmc-x{display:none}
@media (max-width:768px){
body.pmc-on{padding-bottom:78px}
body.pmc-on .pmc-x{display:block}
body.pmc-on .pmc-x.pmc-flex{display:flex}
body.pmc-on.pmc-tab-home [data-pmc-pane]{display:none!important}
body.pmc-on.pmc-tab-video [data-pmc-pane=me],body.pmc-on.pmc-tab-work [data-pmc-pane=me]{display:none!important}
body.pmc-on.pmc-tab-me [data-pmc-pane=video],body.pmc-on.pmc-tab-me [data-pmc-pane=work]{display:none!important}
body.pmc-on:not(.pmc-tab-home) #pmc-home{display:none}
body.pmc-on:not(.pmc-tab-me) #pmc-me{display:none}
body.pmc-on [data-pmc-hide]{display:none!important}
.pmc-brand.yn-brand{display:flex;align-items:center;margin:0 0 6px auto;width:fit-content}
/* county assistant header already has .yn-brand — hide mobile-home duplicate */
body:has(header.top > .yn-brand) .pmc-brand.yn-brand{display:none!important}
.pmc-x{font-family:"Noto Sans CJK SC","PingFang SC","Helvetica Neue",sans-serif;color:#e8eefc}
.pmc-glass{background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.03));border:1px solid rgba(230,194,122,.28);border-radius:18px;box-shadow:0 10px 28px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.08)}
.pmc-id{padding:10px;margin:4px 0 8px;display:flex;gap:10px;align-items:center}
.pmc-av{width:48px;height:48px;border-radius:16px;flex-shrink:0;background:linear-gradient(135deg,#c9a24f,#f0d58c 55%,#8b6914);color:#1a1405;font-weight:900;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 20px rgba(230,194,122,.45)}
.pmc-id h1{font-size:16px;font-weight:800;margin:0 0 2px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
.pmc-id .pmc-sub{margin-top:5px;font-size:11.5px;color:#9fb0cc}
.pmc-badge{display:inline-flex;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;background:rgba(230,194,122,.15);border:1px solid rgba(230,194,122,.45);color:#f0d58c;margin-right:6px}
.pmc-rail{display:flex;gap:6px;overflow-x:auto;margin-bottom:8px;scrollbar-width:none}
.pmc-rail::-webkit-scrollbar{display:none}
.pmc-chip{flex:0 0 auto;padding:7px 12px;border-radius:999px;font-size:11.5px;font-weight:700;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#c5d0e4;white-space:nowrap;cursor:pointer;font-family:inherit}
.pmc-chip.on{background:linear-gradient(120deg,rgba(230,194,122,.25),rgba(230,194,122,.1));border-color:rgba(230,194,122,.55);color:#f0d58c}
.pmc-cta{display:flex;align-items:center;gap:10px;padding:12px;border-radius:16px;margin-bottom:8px;width:100%;border:0;text-align:left;font-family:inherit;cursor:pointer;background:linear-gradient(120deg,#c9a24f,#f0d58c 60%,#d4af5a);color:#1a1405;box-shadow:0 0 28px rgba(230,194,122,.4),0 8px 20px rgba(0,0,0,.3);text-decoration:none}
.pmc-cta .ic{font-size:28px;line-height:1}.pmc-cta b{display:block;font-size:16px;font-weight:800}.pmc-cta small{display:block;font-size:11.5px;opacity:.75;margin-top:2px}
.pmc-cta .go{margin-left:auto;font-size:12px;font-weight:800;background:#0a1222;color:#e6c27a;border-radius:999px;padding:7px 12px;white-space:nowrap}
.pmc-cta2{display:flex;align-items:center;gap:8px;padding:10px 12px;margin-bottom:6px;width:100%;text-align:left;font-family:inherit;cursor:pointer;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(230,194,122,.22);color:#e8eefc;text-decoration:none}
.pmc-cta2 .ic{width:36px;height:36px;border-radius:11px;flex-shrink:0;background:rgba(230,194,122,.15);display:flex;align-items:center;justify-content:center;font-size:18px}
.pmc-cta2 b{display:block;font-size:14px}.pmc-cta2 small{display:block;font-size:11px;color:#8fa0bc;margin-top:2px}.pmc-cta2 em{margin-left:auto;color:#e6c27a;font-style:normal;font-size:16px}
.pmc-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin:8px 0}
.pmc-stat{padding:9px 8px;text-align:center;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
.pmc-stat b{display:block;font-size:20px;font-weight:800;color:#fff;line-height:1.1}.pmc-stat span{display:block;margin-top:2px;font-size:10.5px;color:#9fb0cc}
.pmc-stat.hi{background:linear-gradient(145deg,rgba(230,194,122,.18),rgba(230,194,122,.05));border-color:rgba(230,194,122,.4)}.pmc-stat.hi b{color:#f0d58c}
.pmc-sec{display:flex;align-items:center;justify-content:space-between;margin:4px 0 8px}
.pmc-sec h3{font-size:13px;color:#e6c27a;font-weight:700;margin:0}
.pmc-sec button{font-size:11.5px;color:#93c5fd;background:none;border:0;padding:0;font-family:inherit;cursor:pointer}
.pmc-h{display:flex;gap:10px;margin-bottom:12px}
.pmc-f{flex:1;min-width:0;padding:12px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);text-align:left;color:#e8eefc;font-family:inherit;cursor:pointer}
.pmc-f .tag{font-size:10px;color:#e6c27a;font-weight:700}.pmc-f b{display:block;font-size:13.5px;margin:6px 0 4px;line-height:1.3}.pmc-f small{font-size:11px;color:#8fa0bc}
.pmc-list{padding:2px 10px 6px;margin-bottom:8px}
.pmc-row{display:flex;align-items:center;gap:8px;padding:9px 0;width:100%;background:none;border:0;border-top:1px solid rgba(255,255,255,.07);color:#e8eefc;text-align:left;font-family:inherit;cursor:pointer;text-decoration:none}
.pmc-row:first-child{border-top:0}.pmc-row .ic{font-size:18px;width:28px;text-align:center}.pmc-row b{display:block;font-size:13.5px}.pmc-row small{display:block;font-size:11px;color:#8fa0bc;margin-top:2px}.pmc-row em{margin-left:auto;color:#e6c27a;font-style:normal}
.pmc-empty{font-size:12px;color:#8fa0bc;padding:10px 0}
.pmc-tabbar{position:fixed;left:0;right:0;bottom:0;height:calc(64px + env(safe-area-inset-bottom));padding:6px 4px env(safe-area-inset-bottom);display:flex;justify-content:space-around;background:linear-gradient(180deg,rgba(8,14,26,.85),rgba(6,10,18,.98));border-top:1px solid rgba(230,194,122,.22);backdrop-filter:blur(16px);z-index:50}
body.pmc-on .pmc-tabbar.pmc-x{display:flex}
.pmc-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10.5px;color:#7a8aa8;font-weight:600;background:none;border:0;font-family:inherit;cursor:pointer;text-decoration:none;padding:0}
.pmc-tab .ic{font-size:18px;line-height:1.1}.pmc-tab.on{color:#e6c27a}
.pmc-sheet{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.55);display:none!important;align-items:flex-end}
.pmc-sheet.open{display:flex!important}
.pmc-sheet>div{width:100%;max-height:80vh;overflow:auto;padding:16px 16px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:linear-gradient(165deg,#0d1730,#0a1222);border-top:1px solid rgba(230,194,122,.4)}
.pmc-sheet h3{margin:0 0 8px;color:#e6c27a;font-size:15px}
.pmc-note{font-size:11.5px;color:#8fa0bc;line-height:1.6;margin:10px 0 0}
}

/* yn-brand: Yaonihao™ centered on top; 三终端AI智能体 slightly left under ™ */
.yn-brand{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1.15;text-align:center;color:#e6c27a;margin:0;padding:0;font-style:normal;text-decoration:none}
.yn-brand-l1{font-size:13px;font-weight:900;letter-spacing:.3px;color:inherit}
.yn-brand-l2{font-size:10px;font-weight:600;letter-spacing:.15px;color:#c9d4ea;opacity:.9;transform:translateX(-5px)}
.top-brand.yn-brand,.top .yn-brand{margin-left:auto}
.side-logo .yn-brand,.wb-side-logo .yn-brand{align-items:flex-start;text-align:left;margin-left:0;width:100%}
.side-logo .yn-brand-l2,.wb-side-logo .yn-brand-l2{color:#9fb0cc;transform:none}
body.user-view .yn-brand,body.user-view .user-brand.yn-brand{color:#e6c27a;align-items:center;text-align:center;margin:0 0 6px}

/* county-home-layout.1: same row — back left (boxed), brand right; no stacked header */
@media(max-width:768px){
  header.top{display:flex;flex-direction:row;align-items:center;gap:8px;padding:8px 10px;flex-wrap:nowrap;min-height:0}
  header.top .top-nav{flex:0 0 auto;min-width:0;margin:0;gap:0;align-items:center}
  header.top > .yn-brand{margin-left:auto;flex:0 1 auto;max-width:58%;min-width:0;align-items:center;justify-content:center;overflow:visible;line-height:1.1}
  header.top > .yn-brand .yn-brand-l1{font-size:14px;letter-spacing:.02em;line-height:1.1}
  header.top > .yn-brand .yn-brand-l2{font-size:9.5px;transform:translateX(-5px);white-space:nowrap;line-height:1.1}
  header.top .top-nav-btn,header.top .top-nav-back{font-size:12px}
}
header.top .top-nav-back,header.top .top-nav-btn.top-nav-back,button.top-nav-back.top-nav-btn{
  min-height:0!important;height:auto!important;padding:3px 8px!important;border:1px solid rgba(230,194,122,.55)!important;
  border-radius:6px!important;background:rgba(230,194,122,.08)!important;color:#e6c27a!important;font-size:12px!important;font-weight:700;
  line-height:1.2!important;text-decoration:none!important;white-space:nowrap;box-shadow:none!important;margin:0
}
header.top .top-nav-back:hover,header.top .top-nav-btn.top-nav-back:hover{background:rgba(230,194,122,.16)!important;text-decoration:none!important}

/* county-home-layout.1: county avatar two-line */
.pmc-av.pmc-av-county{flex-direction:column;gap:0;padding:3px 2px;font-size:10px;line-height:1.15;letter-spacing:0;text-align:center}
.pmc-av.pmc-av-county span{display:block;font-weight:900;transform:none}

/* county-home-layout.1: identity — name/badge ~1/3, subtitle right same row */
.pmc-id.pmc-id-county{align-items:center;gap:8px}
.pmc-id-county .pmc-id-main{flex:0 1 32%;min-width:0;max-width:36%}
.pmc-id-county .pmc-id-main h1{font-size:14px;margin:0 0 3px}
.pmc-id-county .pmc-badge{padding:2px 7px;font-size:10px;margin-right:0}
.pmc-id-county .pmc-sub{flex:1 1 0;min-width:0;margin:0;margin-top:0;padding-left:6px;border-left:1px solid rgba(230,194,122,.25);font-size:11px;line-height:1.35;color:#9fb0cc;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* county-home-ptr.1: pull-to-refresh on county PMC home only */
@media (max-width:768px){
body.pmc-on.pmc-tab-home{overscroll-behavior-y:contain}
.pmc-ptr{height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:8px;color:#e6c27a;font-size:12px;font-weight:700;letter-spacing:.02em;transition:height .18s ease-out;will-change:height}
.pmc-ptr.busy,.pmc-ptr.dragging{transition:none}
.pmc-ptr-spin{width:14px;height:14px;border:2px solid rgba(230,194,122,.28);border-top-color:#f0d58c;border-radius:50%;opacity:0;flex-shrink:0}
.pmc-ptr.ready .pmc-ptr-spin,.pmc-ptr.busy .pmc-ptr-spin{opacity:1;animation:pmc-ptr-spin .7s linear infinite}
.pmc-ptr-txt{line-height:1}
@keyframes pmc-ptr-spin{to{transform:rotate(360deg)}}
}


/* terminal-partner-align.1: terminal identity compact + user-top row */
.pmc-id.pmc-id-term{align-items:center;gap:8px;padding:8px 10px;margin:4px 0 8px}
.pmc-id-term .pmc-id-main{flex:0 1 36%;min-width:0;max-width:40%}
.pmc-id-term .pmc-id-main h1{font-size:14px;margin:0 0 3px}
.pmc-id-term .pmc-badge{padding:2px 7px;font-size:10px;margin-right:0}
.pmc-id-term .pmc-sub{flex:1 1 0;min-width:0;margin:0;padding-left:6px;border-left:1px solid rgba(230,194,122,.25);font-size:11px;line-height:1.35;color:#9fb0cc;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:768px){
body.pmc-on.pmc-tab-home{overscroll-behavior-y:contain}
body.user-view.pmc-on .user-top{display:flex;flex-direction:row;align-items:center;gap:8px;padding:8px 10px;margin:0 0 6px;flex-wrap:nowrap}
body.user-view.pmc-on .user-top .page-nav{flex:0 0 auto;margin:0}
body.user-view.pmc-on .user-top > .yn-brand{margin-left:auto;flex:0 1 auto;max-width:58%}
body.user-view.pmc-on .user-top > .yn-brand .yn-brand-l1{font-size:14px}
body.user-view.pmc-on .user-top > .yn-brand .yn-brand-l2{font-size:9.5px}
body.user-view.pmc-on .user-banner{padding:10px 12px!important;border-radius:16px!important;margin:0 0 8px}
body.user-view.pmc-on .user-banner .user-brand{display:none!important} /* brand moved to user-top */
body.user-view.pmc-on .user-banner .toolbar h1{font-size:16px!important;line-height:1.25}
body.user-view.pmc-on .user-banner .account-actions{gap:6px}
body.user-view.pmc-on .user-banner .account-actions a,
body.user-view.pmc-on .user-banner .account-actions button{font-size:12px;min-height:34px;padding:6px 10px}
}


/* ptfix1: terminal desktop shell — 宽屏也显示终端合伙人壳 */
@media(min-width:769px){
  body.pmc-on.pmc-term-desktop #user .pmc-home,
  body.pmc-on #user .pmc-chrome{display:block}
}
/* 统一：权限墙返回在 PMC 下更大可点 */
body.pmc-on #blocked-back,body.login-view #blocked-back{pointer-events:auto;z-index:5}

/* svc3: long mid/bottom label */
.pmc-chip{font-size:11px;padding:6px 8px;white-space:nowrap}
.pmc-tab{font-size:10px;line-height:1.15;padding:6px 2px}
.pmc-tab .ic{font-size:16px}

/* term-ref2: 店名企业全称可两行、略小但清晰；三终端身份 */
.pmc-id-term .pmc-id-main{flex:1 1 48%;max-width:58%}
.pmc-id-term .pmc-id-main h1{font-size:13px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;overflow-wrap:anywhere;white-space:normal;max-height:2.6em}
.pmc-id-term .pmc-badge{font-size:10px}
#actor-name,.workspace-head h2{word-break:break-word;overflow-wrap:anywhere;white-space:normal;line-height:1.25}


/* termui1: 门店资料醒目；首页两块 CTA 等高加宽；去掉终端中轨 */
@media (max-width:768px){
.pmc-row.pmc-row-store{padding:14px 10px;margin:4px 0 8px;border-radius:14px;border:1px solid rgba(230,194,122,.55);background:linear-gradient(120deg,rgba(240,213,140,.28),rgba(201,162,79,.18));box-shadow:0 0 18px rgba(230,194,122,.22)}
.pmc-row.pmc-row-store .ic{font-size:22px;width:32px}
.pmc-row.pmc-row-store b{font-size:17px;font-weight:900;color:#f5e6a8;letter-spacing:.02em}
.pmc-row.pmc-row-store small{font-size:12px;color:#e6c27a;opacity:.95}
.pmc-row.pmc-row-store em{color:#f0d58c;font-size:18px;font-weight:800}
.pmc-cta.pmc-cta-home{min-height:92px;padding:22px 14px;box-sizing:border-box;margin-bottom:10px;align-items:center}
.pmc-cta.pmc-cta-home .ic{font-size:32px}
.pmc-cta.pmc-cta-home b{font-size:17px}
.pmc-cta.pmc-cta-home small{font-size:12px;margin-top:4px}
body.user-view.pmc-on #pmc-home .pmc-rail{display:none!important}
}


/* termhome2-styles: 去掉单字头像；黄底「三终端」+ 电话同行；店名两行全称 */
.pmc-id-term .pmc-av{display:none!important}
.pmc-id-term .pmc-id-main{flex:1 1 auto;max-width:none;min-width:0}
.pmc-id-term .pmc-id-main h1{font-size:13px;font-weight:800;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;overflow-wrap:anywhere;white-space:normal;max-height:2.7em;margin:0 0 4px}
.pmc-id-term .pmc-role-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.pmc-id-term .pmc-badge.pmc-badge-term,
.pmc-id-term .pmc-badge[data-k="role"]{
  display:inline-flex;align-items:center;justify-content:center;
  padding:4px 10px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.02em;
  background:linear-gradient(135deg,#c9a24f,#f0d58c 55%,#8b6914);color:#1a1405;
  border:none;box-shadow:0 0 14px rgba(230,194,122,.4);margin-right:0
}
.pmc-id-term .pmc-phone{font-size:12px;font-weight:600;color:#f0d58c;letter-spacing:.02em;white-space:nowrap;opacity:.95}
.pmc-id-term .pmc-phone[hidden]{display:none!important}
.pmc-id-term .pmc-sub{flex:0 1 42%;min-width:0}



/* termhome3-home: 我的已领取入口 */
.pmc-claimed-entry{margin-top:4px}
