/* claude-itempage-v2-1028 商品页改版（淘宝式），只在 <main class="tokyo-main yy2"> 生效。
   效果图 ~/yaoyao-ops/商品页改版效果图-1028/；开关 bash /root/claude-tools/itempage-v2.sh on|off|status；还原见 /root/cz-backups/itempage-v2-20261028-012857/restore.sh
   电脑 ≥ 1024（10-28 凌晨 v2b 改成方案 A）：限宽 1232 居中，左 400 方图，右栏 标题 → 一行小字 → 价格框 → 时长 → 联系方式 + 有优惠券？ → 一个「立即购买」（点了居中弹窗下单）+ 联系客服 → 拿货一句话 → 服务说明；下面标签栏吸顶 + 评价横排。
   v2b 还原见 /root/cz-backups/itempage-v2b-（时间）/restore.sh
   手机 < 1024：小图 + 标题、价格、评价一行、时长 2×2；表单在底部弹出框里；底部固定栏 客服 / 推荐得 ¥20 / 立即购买。 */
.yy2{--yy2-or:#ff5000;--yy2-or2:#ff9000;--yy2-top:0px}
.yy2 .yy2-chips{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0;padding:0;list-style:none}
.yy2 .yy2-chips li{margin:0;padding:3px 9px;border-radius:999px;background:#f0fdf4;color:#15803d;font-size:12.5px;font-weight:600;line-height:1.45;list-style:none;white-space:nowrap}
.yy2 .yy2-chips li::before{content:"✓ ";font-weight:800}
.yy2 .yy2-thumb{display:block;flex:none;border:1px solid var(--tokyo-border);border-radius:14px;background:#fff;overflow:hidden}
.yy2 .yy2-thumb img{width:100%;height:100%;object-fit:contain}
.yy2 .tokyo-item-form-wrap{gap:0}
.yy2 .yy2-head{display:flex;gap:12px;align-items:flex-start}
.yy2 .yy2-head-r{min-width:0;flex:1}
.yy2 .tokyo-item-inline-title{margin:0;font-size:24px;line-height:1.3;letter-spacing:-.01em;overflow-wrap:anywhere}
.yy2 .yy2-rl{display:flex;flex-wrap:wrap;align-items:center;gap:2px 0;margin:8px 0 0;font-size:13.5px;line-height:1.6;color:#555;text-decoration:none}
.yy2 .yy2-rl-st{color:var(--yy2-or);letter-spacing:1px;font-size:13px}
.yy2 .yy2-rl-avg{color:var(--yy2-or);font-weight:700;margin:0 4px 0 2px}
.yy2 .yy2-rl-i{white-space:nowrap}
.yy2 .yy2-rl-i::before{content:"·";margin:0 7px;color:#bbb}
.yy2 .yy2-rl-first::before{content:none}
.yy2 .yy2-rl-go{color:var(--yy2-or);font-weight:600;margin-left:8px;white-space:nowrap}
.yy2 .yy2-rl:hover .yy2-rl-go{text-decoration:underline}
.yy2 .tokyo-item-badges{display:none}
.yy2 .tokyo-item-badges:has(.item-stock.badge-soft-danger){display:flex;margin-top:8px}
.yy2 .tokyo-item-badges:has(.item-stock.badge-soft-danger)>*:not(.item-stock){display:none}
.yy2 .yy2-pricebar{margin-top:14px;padding:12px 16px;border-radius:14px;background:#fff7f2}
.yy2 .yy2-pricebar .tokyo-item-price{margin:0}
.yy2 .yy2-pricebar .tokyo-item-price .price{color:var(--yy2-or)!important;font-size:32px;font-weight:800;line-height:1.15;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 2px}
.yy2 .yy2-pricebar .tokyo-item-price .price .unit{font-size:18px;font-weight:700;margin-right:1px}
.yy2 .yy2-pricebar .yy-oc-tag{font-size:13.5px;font-weight:600;margin-left:10px;align-self:center}
.yy2 .yy2-pricebar .yy-oc-box{margin:2px 0 0!important;font-size:12.5px!important}
.yy2 .yy-ref-hint{display:none!important}
.yy2 .yy2-fold{display:none!important}
.yy2 .yy2-more-open .yy2-fold{display:grid!important}
.yy2 .yy2-more{flex:none;font-size:13.5px;color:#2563eb;text-decoration:none;white-space:nowrap;cursor:pointer}
.yy2 .yy2-more:hover{text-decoration:underline}
.yy2 .yy2-more-open .yy2-more{color:#888}
.yy2 .yy2-dnote{font-size:12.5px;color:#888;line-height:1.5}
.yy2 .yy2-sh-head,.yy2 .yy2-sh-foot,.yy2 .yy2-bar,.yy2 .yy2-mask{display:none}
.yy2 .yy2-dbuy,.yy2 .yy2-ph{display:none} /* claude-itempage-v2b-1028 电脑端专用（立即购买大按钮块、弹窗打开时的占位），手机端不显示 */
.yy2 .yy2-tabs-in a span{margin-left:2px}
/* 付款按钮（电脑）：微信绿、支付宝蓝，名字后面加「付款」 */
.yy2 .yy2-payrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.yy2 .yy2-payrow .yy-pf-retry{order:-1;width:100%;margin:0!important}
.yy2 .yy2-payrow .yy-pf-hint{display:none}
.yy2 .yy2-acts{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap}
.yy2 .yy2-svc{display:inline-flex;align-items:center;gap:6px;min-height:46px;padding:0 18px;border:1px solid var(--tokyo-border-strong);border-radius:999px;background:#fff;color:#333;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none}
.yy2 .yy2-svc:hover{border-color:#999}
.yy2 .yy2-ref{color:#c2410c;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.yy2 .yy2-ref:hover{text-decoration:underline}
/* 标签栏 */
.yy2 .yy2-tabs{position:sticky;top:var(--yy2-top);z-index:20;margin:0 0 12px;background:#fff;border:1px solid var(--tokyo-border);border-radius:16px;box-shadow:var(--tokyo-shadow-soft)}
.yy2 .yy2-tabs-in{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:0 12px}
.yy2 .yy2-tabs-in::-webkit-scrollbar{display:none}
.yy2 .yy2-tabs a{flex:none;position:relative;padding:14px 16px 13px;font-size:15px;color:#333;text-decoration:none;white-space:nowrap}
.yy2 .yy2-tabs a.on{color:var(--yy2-or);font-weight:700}
.yy2 .yy2-tabs a.on::after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;border-radius:3px;background:var(--yy2-or)}
.yy2 [data-yy2-sec]{scroll-margin-top:calc(var(--yy2-top) + 64px)}
/* 评价区 */
.yy2 .yy2-rv{margin-bottom:12px}
.yy2 .yy2-rv .panel-body{padding:18px 22px}
.yy2 .yy2-rv-mh{display:none;justify-content:space-between;align-items:center;gap:8px}
.yy2 .yy2-rv-mh:has(+ .yy2-rv-empty){display:flex}
.yy2 .yy2-rv-t{margin:0;font-size:16px;font-weight:700;color:#1c2024}.yy2 .yy2-rv-t span{font-weight:400;color:#666;font-size:13px}
.yy2 .yy2-rv-mh a{color:#666;font-size:13px;text-decoration:none;white-space:nowrap}
.yy2 .yy2-rv-in{display:flex;gap:16px;align-items:stretch}
.yy2 .yy2-rv-sum{flex:none;width:170px;padding-right:16px;border-right:1px solid #f0f0f0}
.yy2 .yy2-rv-sc{font-size:34px;font-weight:800;color:var(--yy2-or);line-height:1.1}
.yy2 .yy2-rv-ss{color:var(--yy2-or);letter-spacing:1px;font-size:15px;margin-top:2px}
.yy2 .yy2-rv-sb{font-size:12.5px;color:#888;margin-top:4px}
.yy2 .yy2-rv-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.yy2 .yy2-rv-tags span,.yy2 .yy2-rv-tags a{background:#fff2e8;color:#333;font-size:12px;border-radius:12px;padding:2px 9px;text-decoration:none}
.yy2 .yy2-rv-tags .neg{background:#f5f5f5;color:#666}
.yy2 .yy2-rv-all{display:inline-block;margin-top:10px;font-size:13px;color:var(--yy2-or);text-decoration:none}
.yy2 .yy2-rv-list{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.yy2 .yy2-rc{display:block;padding:12px 14px;border-radius:12px;background:#fafafa;color:#222;text-decoration:none;min-width:0}
.yy2 .yy2-rc:hover{background:#f5f5f5}
.yy2 .yy2-rc-h{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:12.5px;color:#999}
.yy2 .yy2-rc-nm{color:#333;font-weight:600}
.yy2 .yy2-rc-vf{font-size:10px;color:var(--yy2-or);border:1px solid #ffbb96;border-radius:3px;padding:0 4px;line-height:1.5}
.yy2 .yy2-rc-st{color:var(--yy2-or);letter-spacing:1px;font-size:11px}
.yy2 .yy2-rc-tx{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:6px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.yy2 .yy2-rc-rp{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;font-size:12.5px;color:#888;line-height:1.6}
.yy2 .yy2-rv-rule{margin:10px 0 0;font-size:11.5px;color:#aaa;text-align:right}
.yy2 .yy2-rv-empty{margin:8px 0 0;font-size:13.5px;color:#666;line-height:1.6}
.yy2 .yy2-rv .yy2-rv-mh+.yy2-rv-empty{margin-top:8px}
/* ================= 电脑 ≥ 1024（claude-itempage-v2b-1028：10-28 凌晨她定的方案 A，效果图 ~/yaoyao-ops/商品页改版效果图-1028/8-电脑端-减按钮方案A-一个大按钮.png） =================
   整体限宽 1232（= 1280 减两边 24）居中，导航 / 页脚同宽；左 400 方图（logo 占 52%），图下不放标签；
   右栏：标题 → 一行小字 → 价格框（第二行 老客户减 ¥5 + 推荐好友得 ¥20）→ 购买时长 → 联系方式 + 有优惠券？ → 一个橙色「立即购买」+ 联系客服 → 拿货一句话 → 服务说明一行。
   点「立即购买」：原表单整块变成居中弹窗（.yy2-sheet.is-open，和手机底部弹出框同一套），页面原位置放同高的静态占位 .yy2-ph（ItemV2.js 生成），下单逻辑不变。
   1024～1279 按比例缩小（图 320、两栏间距 36）。手机 < 1024 的样式在下面，一行没改。 */
@media (min-width:1024px){
  body:has(main.yy2) .tokyo-nav-wrap,body:has(main.yy2) .tokyo-footer-wrap,.yy2 .tokyo-shell{width:min(1232px,calc(100% - 48px))}
  .yy2{--yy2-img:320px}
  .yy2 .tokyo-item-panel{border-radius:20px}
  .yy2 .tokyo-item-panel>.panel-body{padding:26px 30px 24px}
  .yy2 .tokyo-item-panel .row{--bs-gutter-x:36px;flex-wrap:nowrap}
  .yy2 .tokyo-item-panel .row>.col-lg-6:first-child{flex:0 0 auto;width:calc(var(--yy2-img) + var(--bs-gutter-x));flex-direction:column;align-items:stretch}
  .yy2 .tokyo-item-panel .row>.col-lg-6:last-child{flex:1 1 0;width:auto;min-width:0}
  .yy2 .tokyo-item-cover-card{width:var(--yy2-img)!important;height:var(--yy2-img)!important;min-height:0!important;aspect-ratio:1/1;flex:none;border:1px solid #eee;border-radius:18px;background:#fff}
  .yy2 .tokyo-item-cover-trigger{min-height:0!important}
  .yy2 .tokyo-item-cover-card .item-cover{min-height:0!important;width:100%;height:100%;object-fit:contain;padding:24%}
  .yy2 .tokyo-item-cover-card .item-cover:not([src*="cover"]):not([src*="icon"]){padding:0}
  .yy2 .tokyo-item-cover-hint{display:none}
  .yy2 .tokyo-item-cover-card:hover .tokyo-item-cover-hint{display:inline-flex}
  .yy2 .yy2-chips-m,.yy2 .yy2-thumb:not(.yy2-sh-thumb),.yy2 .yy2-durslot{display:none}
  .yy2 .yy2-head{display:block}
  /* 右栏 */
  .yy2 .tokyo-item-form-wrap{padding-top:4px}
  .yy2 .tokyo-item-inline-title{font-size:26px;font-weight:700;line-height:1.3;letter-spacing:.2px;text-wrap:balance}
  .yy2 .yy2-rl{margin-top:12px;font-size:14px;color:#777}
  .yy2 .yy2-rl-i::before{margin:0 14px}
  .yy2 .yy2-rl-rv,.yy2 .yy2-rl-go{color:var(--yy2-or)}
  .yy2 .yy2-rl-go{margin-left:4px;font-weight:400}
  .yy2 .yy2-pricebar{margin:18px 0 22px;padding:14px 22px;border-radius:14px;background:#fff8f3}
  .yy2 .yy2-pricebar .tokyo-item-price .price{font-size:36px;font-weight:700;line-height:1.05;gap:0 2px}
  .yy2 .yy2-pricebar .tokyo-item-price .price .unit{font-size:18px;font-weight:700;margin-right:2px}
  .yy2 .yy2-pricebar .yy-oc-tag{margin-left:14px}
  .yy2 .yy2-pricebar .yy-oc-tag .yy-oc-lb,.yy2 .yy2-pricebar .yy-oc-tag .yy-oc-pr{font-size:14px;color:#15803d}
  .yy2 .yy2-pricebar .yy-oc-tag .yy-oc-pr{font-weight:600}
  .yy2 .yy2-pricebar .yy-oc-box{margin:10px 0 0!important;font-size:13px!important;line-height:1.5!important}
  .yy2 .yy2-pricebar .yy-oc-hint{color:#777!important}
  .yy2 .yy2-ref2{margin-left:14px;color:#c2410c;text-decoration:none;white-space:nowrap}
  .yy2 .yy2-ref2:hover{text-decoration:underline}
  /* 表单在页面上（弹窗没打开）：标签 84 宽在左 */
  .yy2 .yy2-sheet:not(.is-open),.yy2 .yy2-sheet:not(.is-open) .yy2-sh-body{display:contents}
  .yy2 .yy2-morerow{display:block!important}
  .yy2 .yy2-sheet:not(.is-open) .yy2-morerow{padding-left:98px}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack{gap:18px!important;margin:0}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;column-gap:14px;row-gap:6px}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field>.form-label{margin:0!important;font-size:14px;font-weight:400;color:#777}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field>*:not(.form-label):not(.form-control):not(.yy2-more):not(.sku-list):not(.input-group):not(.yy2-dnote){grid-column:2/-1}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field:has(> .yy2-more){grid-template-columns:84px minmax(0,480px) auto;justify-content:start}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field .yy2-dnote-m{display:none}
  .yy2 .yy2-sheet:not(.is-open) .yy2-more{margin-left:4px;font-size:14px}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field>.form-control{max-width:480px}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field>.form-control,.yy2 .yy2-ph-inp{height:46px;padding:0 16px;border:1.5px solid #e3e3e3;border-radius:12px;font-size:14px;box-shadow:none}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field>.form-control:focus{border-color:#ffb07a;box-shadow:0 0 0 3px rgba(255,80,0,.10)}
  .yy2 .yy2-sheet:not(.is-open) .qty-group{max-width:200px}
  .yy2 .yy2-sheet:not(.is-open) .yy-dur .yy-dur-list{gap:10px;padding-top:0}
  .yy2 .yy2-sheet:not(.is-open) .yy-dur .yy-dur-opt,.yy2 .yy2-ph-pill{display:inline-flex;align-items:center;min-height:44px;height:44px;padding:0 18px;border:1.5px solid #e3e3e3;border-radius:24px;background:#fff;color:#222;font-size:15px;font-weight:500;white-space:nowrap}
  .yy2 .yy2-sheet:not(.is-open) .yy-dur .yy-dur-opt .yy-dur-p,.yy2 .yy2-ph-pill b{margin-left:6px;font-weight:inherit}
  .yy2 .yy2-sheet:not(.is-open) .yy-dur .yy-dur-opt:not(.is-primary):hover{border-color:#111;color:#111}
  .yy2 .yy2-sheet:not(.is-open) .yy-dur .yy-dur-opt.is-primary,.yy2 .yy2-ph-pill.on{background:#111;border-color:#111;color:#fff}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field.yy-dur{align-items:start}
  .yy2 .yy2-sheet:not(.is-open) .tokyo-form-stack>.tokyo-field.yy-dur>.form-label{line-height:44px}
  /* 一行放不下（Grok 四档名字长、1024～1279 窄屏）时 ItemV2.js 加 .yy2-tight：按钮收紧，尽量一行；还放不下就自然换行 */
  .yy2 .yy2-sheet:not(.is-open) .yy-dur .yy-dur-list.yy2-tight,.yy2 .yy2-ph-pills.yy2-tight{gap:8px}
  .yy2 .yy2-sheet:not(.is-open) .yy-dur .yy2-tight .yy-dur-opt,.yy2 .yy2-ph .yy2-ph-pills.yy2-tight .yy2-ph-pill{padding:0 12px;font-size:14px}
  .yy2 .yy2-sheet:not(.is-open) .cash-pay{display:none!important}
  /* 弹窗打开时页面原位置的静态占位（看起来和原来一样，不能点） */
  .yy2 .yy2-ph{display:flex;flex-direction:column;gap:18px;overflow:hidden;pointer-events:none;user-select:none}
  .yy2 .yy2-ph-row{display:flex;align-items:center;gap:14px;min-width:0}
  .yy2 .yy2-ph-row:has(.yy2-ph-pills){align-items:flex-start}
  .yy2 .yy2-ph-lab{flex:none;width:84px;font-size:14px;line-height:44px;color:#777}
  .yy2 .yy2-ph-pills{display:flex;flex-wrap:wrap;gap:10px;min-width:0}
  .yy2 .yy2-ph-inp{display:flex;align-items:center;flex:0 1 480px;min-width:0;overflow:hidden;white-space:nowrap;color:#999;background:#fff}
  .yy2 .yy2-ph-inp.has{color:#222}
  .yy2 .yy2-ph-lnk{flex:none;margin-left:4px;font-size:14px;color:#2563eb}
  /* 立即购买 + 联系客服 + 拿货一句话 + 服务说明 */
  .yy2 .yy2-dbuy{display:block;margin-top:24px}
  .yy2 .yy2-dbuy-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px}
  .yy2 .yy2-dbuy-btn{flex:none;width:260px;height:52px;padding:0 20px;border:0;border-radius:26px;background:linear-gradient(90deg,var(--yy2-or2),var(--yy2-or));color:#fff;font-size:17px;font-weight:700;letter-spacing:.5px;cursor:pointer;box-shadow:0 6px 16px rgba(255,80,0,.22);transition:filter .15s,box-shadow .15s}
  .yy2 .yy2-dbuy-btn:hover{filter:brightness(1.05);box-shadow:0 8px 20px rgba(255,80,0,.3)}
  .yy2 .yy2-dbuy-btn:disabled{background:#ccc;box-shadow:none;cursor:not-allowed;filter:none}
  .yy2 .yy2-kf{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;font-size:14px;color:#777;cursor:pointer;text-decoration:none;white-space:nowrap}
  .yy2 .yy2-kf:hover{color:#333}
  .yy2 .yy2-dnote-p{margin-top:10px;font-size:13px;color:#999}
  .yy2 .yy2-svc2{display:flex;flex-wrap:wrap;row-gap:6px;margin:22px 0 0;padding:16px 0 0;border-top:1px solid #f0f0f0;list-style:none;font-size:13px;line-height:1.5;color:#666}
  .yy2 .yy2-svc2 li{margin:0;padding:0 18px;border-left:1px solid #e5e5e5;white-space:nowrap;list-style:none}
  .yy2 .yy2-svc2 li:first-child{padding-left:0;border-left:0}
  .yy2 .yy2-svc2 i{font-style:normal;margin-right:5px}
  /* 弹窗（点「立即购买」）：原表单整块变成居中弹窗 */
  .yy2 .yy2-mask:not([hidden]){display:block;position:fixed;inset:0;z-index:1061;background:rgba(0,0,0,.45);animation:yy2-fade .18s ease-out}
  .yy2 .yy2-sheet.is-open{display:flex;flex-direction:column;position:fixed;left:50%;top:50%;z-index:1062;width:520px;max-width:calc(100vw - 32px);max-height:calc(100vh - 40px);background:#fff;border-radius:18px;box-shadow:0 24px 64px rgba(0,0,0,.24);transform:translate(-50%,-50%);animation:yy2-pop .18s ease-out}
  .yy2 .yy2-sheet.is-open .yy2-sh-head{display:flex;gap:14px;align-items:center;position:relative;padding:20px 60px 16px 24px;border-bottom:1px solid #f2f2f2}
  .yy2 .yy2-sheet.is-open .yy2-sh-thumb{display:block;width:64px;height:64px;border-radius:12px}
  .yy2 .yy2-sheet.is-open .yy2-sh-thumb img{padding:16%}
  .yy2 .yy2-sh-info{min-width:0}
  .yy2 .yy2-sh-price{color:var(--yy2-or);font-size:28px;font-weight:800;line-height:1.1}
  .yy2 .yy2-sh-price small{font-size:16px;margin-right:1px}
  .yy2 .yy2-sh-sel{margin-top:4px;font-size:13px;color:#666}
  .yy2 .yy2-sh-x{position:absolute;right:14px;top:14px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#999;font-size:18px;line-height:36px;cursor:pointer}
  .yy2 .yy2-sh-x:hover{background:#f4f4f5;color:#333}
  .yy2 .yy2-sheet.is-open .yy2-sh-body{display:block;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 24px 8px}
  .yy2 .yy2-sheet.is-open .tokyo-form-stack{gap:0!important;margin:0}
  .yy2 .yy2-sheet.is-open .tokyo-field{margin-top:16px}
  .yy2 .yy2-sheet.is-open .tokyo-field>.form-label{display:block;margin:0 0 8px!important;font-size:13px;font-weight:400;color:#666}
  .yy2 .yy2-sheet.is-open .yy-dur .yy-dur-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:0}
  .yy2 .yy2-sheet.is-open .yy-dur .yy-dur-list:has(> .yy-dur-opt:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  .yy2 .yy2-sheet.is-open .yy-dur .yy-dur-opt{justify-content:center;min-width:0;min-height:44px;padding:0 8px;border-radius:10px;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden}
  .yy2 .yy2-sheet.is-open .yy-dur .yy-dur-opt .yy-dur-p{margin-left:5px}
  .yy2 .yy2-sheet.is-open .tokyo-field:has(> .yy2-more){display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
  .yy2 .yy2-sheet.is-open .tokyo-field:has(> .yy2-more)>*:not(.yy2-more):not(.yy2-dnote){flex:0 0 100%}
  .yy2 .yy2-sheet.is-open .tokyo-field:has(> .yy2-more)>.yy2-more,.yy2 .yy2-sheet.is-open .tokyo-field:has(> .yy2-more)>.yy2-dnote{order:9;margin-top:8px}
  .yy2 .yy2-sheet.is-open .yy2-dnote-m{font-size:12.5px;color:#999}
  .yy2 .yy2-sheet.is-open .tokyo-field>.form-control{height:44px;border-radius:10px;font-size:15px}
  .yy2 .yy2-sheet.is-open .qty-group{max-width:200px}
  .yy2 .yy2-sheet.is-open .cash-pay{margin-top:10px;padding:0;border:0;background:transparent}
  .yy2 .yy2-sheet.is-open .cash-pay>.form-label,.yy2 .yy2-sheet.is-open .cash-pay>.yy-paytip,.yy2 .yy2-sheet.is-open .pay-list,.yy2 .yy2-sheet.is-open .yy2-acts,.yy2 .yy2-sheet.is-open .yy2-dnote-d,.yy2 .yy2-sheet.is-open .yy-pf-hint{display:none!important}
  .yy2 .yy2-sheet.is-open .yy2-sh-foot{display:block;padding:14px 24px 22px;border-top:1px solid #f2f2f2}
  .yy2 .yy2-pm-l{margin-bottom:8px;font-size:13px;color:#666}
  .yy2 .yy2-pm{display:flex;gap:10px}
  .yy2 .yy2-pm button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1.5px solid #e3e3e3;border-radius:10px;background:#fff;color:#333;font-size:14px;cursor:pointer}
  .yy2 .yy2-pm button:hover{border-color:#bbb}
  .yy2 .yy2-pm button img{width:18px;height:18px}
  .yy2 .yy2-pm button.on{border-color:#16a34a;color:#15803d;background:#f0fdf4;font-weight:700}
  .yy2 .yy2-pm button em{font-style:normal;font-size:10.5px;padding:1px 5px;border-radius:6px;background:#e8f7ee;color:#18864b}
  .yy2 .yy2-go{display:block;width:100%;height:50px;margin-top:14px;border:0;border-radius:25px;background:linear-gradient(90deg,var(--yy2-or2),var(--yy2-or));color:#fff;font-size:16px;font-weight:700;cursor:pointer}
  .yy2 .yy2-go:hover{filter:brightness(1.05)}
  .yy2 .yy2-go:disabled{background:#ccc;cursor:not-allowed;filter:none}
  @keyframes yy2-pop{from{opacity:0;transform:translate(-50%,-47%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%)}}
  @keyframes yy2-fade{from{opacity:0}to{opacity:1}}
  /* 标签栏 */
  .yy2 .yy2-tabs{top:calc(var(--yy2-top) + 8px)}
}
@media (min-width:1280px){
  .yy2{--yy2-img:400px}
  .yy2 .tokyo-item-panel>.panel-body{padding:30px 40px 26px}
  .yy2 .tokyo-item-panel .row{--bs-gutter-x:48px}
  .yy2 .yy2-sheet:not(.is-open) .yy-dur .yy-dur-opt,.yy2 .yy2-ph-pill{padding:0 24px}
}
/* ================= 手机 < 1024 ================= */
@media (max-width:1023.98px){
  .yy2.tokyo-main{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .yy2 .tokyo-item-panel{margin-bottom:10px}
  .yy2 .tokyo-item-panel>.panel-body{padding:14px}
  .yy2 .tokyo-item-panel .row{--bs-gutter-y:0}
  .yy2 .tokyo-item-panel .row>.col-lg-6:first-child{display:none!important}
  .yy2 .tokyo-item-panel .row>.col-lg-6:last-child{width:100%;flex:0 0 100%;max-width:100%}
  .yy2 .tokyo-item-form-wrap{display:flex;flex-direction:column}
  .yy2 .yy2-head{order:1}
  .yy2 .tokyo-item-badges{order:2}
  .yy2 .yy2-pricebar{order:3;margin-top:10px;padding:0;background:transparent;border-radius:0}
  .yy2 .yy2-rl{order:4;margin-top:4px;font-size:12.5px}
  .yy2 .yy2-durslot{order:5}
  .yy2 .yy2-sheet{order:6}
  .yy2 .yy2-thumb{width:84px;height:84px}
  .yy2 .yy2-thumb img{padding:16%}
  .yy2 .tokyo-item-inline-title{font-size:17px;line-height:1.35}
  .yy2 .yy2-chips-d{display:none}
  .yy2 .yy2-chips-m{margin-top:6px;gap:5px}
  .yy2 .yy2-chips-m li{font-size:11px;padding:2px 7px}
  .yy2 .yy2-pricebar .tokyo-item-price .price{font-size:28px}
  .yy2 .yy2-pricebar .yy-oc-hint{display:none}
  .yy2 .yy2-rl-i::before{margin:0 5px}
  /* 时长 2×2（页面上和弹出框里一样） */
  .yy2 .yy-dur{margin:0}
  .yy2 .yy-dur>.form-label{display:block;margin:12px 0 0!important;font-size:12.5px;color:#666;font-weight:400}
  .yy2 .yy-dur .yy-dur-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px;padding-top:10px}
  .yy2 .yy-dur .yy-dur-opt{justify-content:center;min-height:42px;padding:0 6px;border-radius:10px;font-size:14px;flex-direction:row}
  .yy2 .yy-dur .yy-dur-opt .yy-dur-p{margin:0 0 0 6px}
  /* 弹出框 */
  .yy2 .yy2-sheet{position:fixed;left:0;right:0;bottom:0;z-index:1062;display:flex;flex-direction:column;max-height:88vh;max-height:88dvh;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.18);transform:translateY(105%);visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}
  .yy2 .yy2-sheet.is-open{transform:none;visibility:visible;transition:transform .25s ease}
  .yy2 .yy2-mask{display:block;position:fixed;inset:0;z-index:1061;background:rgba(0,0,0,.45)}
  .yy2 .yy2-mask[hidden]{display:none}
  .yy2 .yy2-sh-head{display:flex;gap:10px;align-items:flex-end;padding:14px 44px 6px 14px;position:relative}
  .yy2 .yy2-sh-thumb{width:70px;height:70px;margin-top:-28px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
  .yy2 .yy2-sh-info{min-width:0}
  .yy2 .yy2-sh-price{color:var(--yy2-or);font-size:26px;font-weight:800;line-height:1.1}
  .yy2 .yy2-sh-price small{font-size:15px;margin-right:1px}
  .yy2 .yy2-sh-sel{font-size:12.5px;color:#666;margin-top:3px}
  .yy2 .yy2-sh-x{position:absolute;right:8px;top:8px;width:36px;height:36px;border:0;background:transparent;color:#999;font-size:18px;cursor:pointer}
  .yy2 .yy2-sh-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 14px}
  .yy2 .yy2-sh-body .tokyo-form-stack{gap:0!important}
  .yy2 .yy2-sh-body .tokyo-field{margin-top:12px}
  .yy2 .yy2-sh-body .tokyo-field.yy-dur{margin-top:0}
  .yy2 .yy2-sh-body .tokyo-field>.form-label{display:block;margin:0 0 6px!important;font-size:12.5px;color:#666;font-weight:400}
  .yy2 .yy2-sh-body .tokyo-field:has(> .yy2-more){display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
  .yy2 .yy2-sh-body .tokyo-field:has(> .yy2-more)>.form-label,.yy2 .yy2-sh-body .tokyo-field:has(> .yy2-more)>.form-control,.yy2 .yy2-sh-body .tokyo-field:has(> .yy2-more)>*:not(.yy2-more):not(.yy2-dnote){flex:0 0 100%}
  .yy2 .yy2-sh-body .tokyo-field:has(> .yy2-more)>.yy2-more,.yy2 .yy2-sh-body .tokyo-field:has(> .yy2-more)>.yy2-dnote{order:9;margin-top:8px}
  .yy2 .yy2-sh-body .form-control{font-size:16px;min-height:44px;border-radius:10px}
  .yy2 .yy2-sh-body .cash-pay{padding:0;border:0;background:transparent;margin-top:8px}
  .yy2 .yy2-sh-body .cash-pay>.form-label,.yy2 .yy2-sh-body .cash-pay>.yy-paytip,.yy2 .yy2-sh-body .pay-list,.yy2 .yy2-sh-body .yy2-acts,.yy2 .yy2-sh-body .yy2-dnote-d,.yy2 .yy2-payrow .yy-pf-hint{display:none!important}
  .yy2 .yy2-sh-foot{display:block;padding:10px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #f2f2f2}
  .yy2 .yy2-pm-l{font-size:12.5px;color:#666;margin-bottom:6px}
  .yy2 .yy2-pm{display:flex;gap:8px}
  .yy2 .yy2-pm button{flex:1;min-height:44px;border:1px solid #ddd;border-radius:10px;background:#fff;color:#333;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px}
  .yy2 .yy2-pm button img{width:18px;height:18px}
  .yy2 .yy2-pm button.on{border-color:#16a34a;color:#15803d;background:#f0fdf4;font-weight:700}
  .yy2 .yy2-pm button em{font-style:normal;font-size:10.5px;padding:1px 5px;border-radius:6px;background:#e8f7ee;color:#18864b}
  .yy2 .yy2-go{display:block;width:100%;margin-top:12px;height:48px;border:0;border-radius:24px;background:linear-gradient(90deg,var(--yy2-or2),var(--yy2-or));color:#fff;font-size:16px;font-weight:700;cursor:pointer}
  .yy2 .yy2-go:disabled{background:#ccc;cursor:not-allowed}
  /* 底部固定栏 */
  .yy2 .yy2-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1040;align-items:center;gap:4px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eee;box-shadow:0 -2px 10px rgba(0,0,0,.05)}
  .yy2 .yy2-bar-ic{flex:none;width:58px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:0;border:0;background:transparent;color:#444;font-size:11px;line-height:1.2;text-decoration:none;cursor:pointer}
  .yy2 .yy2-bar-ic b{font-size:20px;font-weight:400;line-height:1.1}
  .yy2 .yy2-bar-ref{width:72px;color:#c2410c}
  .yy2 .yy2-buy{flex:1;height:46px;border:0;border-radius:23px;background:linear-gradient(90deg,var(--yy2-or2),var(--yy2-or));color:#fff;font-size:16px;font-weight:700;cursor:pointer}
  .yy2 .yy2-buy:disabled{background:#ccc}
  /* 标签栏 / 评价（手机） */
  .yy2 .yy2-tabs{border-radius:12px;margin-bottom:10px}
  .yy2 .yy2-tabs-in{padding:0 4px}
  .yy2 .yy2-tabs a{padding:11px 12px 10px;font-size:14px}
  .yy2 .yy2-tabs a.on::after{left:12px;right:12px}
  .yy2 .yy2-rv .panel-body{padding:14px}
  .yy2 .yy2-rv-mh{display:flex}
  .yy2 .yy2-rv-in{display:block}
  .yy2 .yy2-rv-sum{width:auto;padding:0;border:0}
  .yy2 .yy2-rv-sc,.yy2 .yy2-rv-ss,.yy2 .yy2-rv-sb,.yy2 .yy2-rv-all{display:none}
  .yy2 .yy2-rv-tags{margin-top:8px}
  .yy2 .yy2-rv-list{display:block;margin-top:8px}
  .yy2 .yy2-rc{padding:0;background:transparent}
  .yy2 .yy2-rc:nth-child(n+2){display:none}
  .yy2 .yy2-rv-rule{text-align:left}
}
html.yy2-lock,html.yy2-lock body{overflow:hidden!important}
@media (max-width:420px){
  .yy2 .yy-dur .yy-dur-opt{font-size:13.5px}
}
