/* 「我的」页登录以后的新样子（样稿第七版「我的」；页面程序 assets/me-app.js，由 inc/me-app.php 在档位开着时加载，排在 me-account.css 后面）。
 * 只在 body 带 osw-me-app 时起作用；档位关着这个文件不加载，页面照 me-account.css 的老样子。颜色、圆角照样稿：
 * 深色卡 #2E211B、卡上的字 #FFF8F2 / #E6CBBB、品牌深色 #6E2A1C、小节标题 #914032、次要文字 #8A5A50、卡片底 #FFF8F2、线 #EAD3C6。 */
.osw-me-app .osw-ma { --ma-brand: #6E2A1C; --ma-title: #914032; --ma-ink: #3A2A22; --ma-muted: #8A5A50; --ma-card: #FFF8F2; --ma-line: #EAD3C6; --ma-dark: #2E211B; --ma-on: #FFF8F2; --ma-on-2: #E6CBBB;
  display: flex; flex-direction: column; gap: 12px; color: var(--ma-ink); }
.osw-me-app .osw-me-account > div { gap: 12px; }
.osw-me-app .osw-ma a { text-decoration: none; }

/* 会员卡：名字和遮过的手机号、「会员号」、号当主角、下面三格 */
.osw-ma-card { padding: 16px; border-radius: 14px; background: var(--ma-dark); color: var(--ma-on); }
.osw-ma-who { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 20px; color: var(--ma-on-2); }
.osw-ma-who span:first-child { min-width: 0; overflow-wrap: anywhere; }
.osw-ma-who span + span { flex: none; }
.osw-ma-no { margin-top: 6px; font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 30px; line-height: 1.2; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.osw-ma-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 248, 242, .22); }
.osw-ma-stats > * { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; display: flex; flex-direction: column; cursor: pointer; }
.osw-ma-stats b { font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 20px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.osw-ma-stats span { font-size: 12px; line-height: 18px; color: var(--ma-on-2); }

/* 要到店的单：大字订单号，到店报这个号 */
.osw-ma-next { padding: 14px; border: 1px solid var(--ma-line); border-radius: 14px; background: var(--ma-card); }
.osw-ma-lbl { font-size: 12px; line-height: 18px; color: var(--ma-muted); }
.osw-ma-on { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 2px; }
.osw-ma-on b { min-width: 0; overflow-wrap: anywhere; font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 30px; line-height: 1.2; color: var(--ma-brand); font-variant-numeric: tabular-nums; }
.osw-ma-on span { flex: none; max-width: 60%; font-size: 12px; line-height: 18px; color: var(--ma-muted); text-align: right; }
.osw-ma-what { margin-top: 6px; font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
.osw-ma-next .osw-me-pending { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 18px; color: var(--ma-muted); }
.osw-ma-why { margin: 8px 0 0; font-size: 12px; line-height: 18px; color: var(--ma-muted); }
.osw-ma-btn2 { display: flex; gap: 8px; margin-top: 12px; }
.osw-ma-btn2 > * { flex: 1; min-width: 0; height: 44px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--ma-brand); background: #FFFFFF; color: var(--ma-brand); font: inherit; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; }
.osw-ma-btn2 > .is-main { background: var(--ma-brand); color: #FFFFFF; }
.osw-ma-small { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; }
.osw-ma-small button { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--ma-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.osw-ma-next .osw-me-req { margin: 8px -14px -14px; border-radius: 0 0 14px 14px; }

/* 我的券和联票：一行一张。会员卡上那两格点了跳到这里，上面留出顶栏的高度 */
.osw-ma-sec { scroll-margin-top: 76px; }
.osw-ma-h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 6px 0 0; }
.osw-ma-h2 h2 { margin: 0; font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 17px; line-height: 26px; font-weight: 700; color: var(--ma-title); }
.osw-ma-h2 span { font-size: 12px; line-height: 18px; color: var(--ma-muted); text-align: right; }
.osw-ma-h3 { margin: 12px 0 0; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--ma-muted); }
.osw-ma-vch { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--ma-line); }
.osw-ma-vch:first-child { border-top: 0; }
.osw-ma-left { flex: none; width: 44px; text-align: center; font-size: 12px; line-height: 16px; color: var(--ma-muted); }
.osw-ma-left b { display: block; font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 24px; line-height: 28px; color: var(--ma-title); font-variant-numeric: tabular-nums; }
.osw-ma-vch.is-off .osw-ma-left b { color: var(--ma-muted); }
.osw-ma-tx { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.osw-ma-tx b { display: block; font-size: 15px; line-height: 22px; font-weight: 700; }
.osw-ma-tx span { display: block; font-size: 12px; line-height: 18px; color: var(--ma-muted); }
.osw-ma-mini { position: relative; flex: none; height: 32px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--ma-brand); background: #FFFFFF; color: var(--ma-brand); font-size: 12px; font-weight: 700; white-space: nowrap;
  display: inline-flex; align-items: center; }
.osw-ma-mini::before { content: ''; position: absolute; inset: -6px; }
.osw-ma-off { flex: none; font-size: 12px; line-height: 18px; color: var(--ma-muted); }
.osw-ma-none { margin: 4px 0 0; font-size: 13px; line-height: 20px; color: var(--ma-muted); }

/* 下面一排去处 */
.osw-ma-rows { margin-top: 2px; border-top: 1px solid var(--ma-line); display: flex; flex-direction: column; }
.osw-ma-rows > * { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ma-line); background: none; color: var(--ma-ink);
  font: inherit; font-size: 14px; line-height: 22px; text-align: left; cursor: pointer; }
.osw-ma-k { flex: 1; min-width: 0; }
.osw-ma-v { flex: none; max-width: 55%; font-size: 12px; line-height: 18px; color: var(--ma-muted); text-align: right; }
.osw-ma-rows svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ma-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 模板里原来那一行游园手册：登录以后收起来，上面那一排去处里已经有了（没登录时照旧出） */
.osw-me-app.osw-me-in .osw-me-guide { display: none; }

/* 「全部订单」另一页 */
.osw-ma-orders { gap: 16px; }
.osw-ma-orders .osw-btn-line { width: 100%; }
.osw-ma-orders .osw-me-pending { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 18px; color: var(--ma-muted); }
.osw-ma-orders .osw-me-pending li { display: block; padding: 0; border: 0; }

/* 11-20 晚：Hello 父主题 reset.css 的按钮 :hover/:focus 粉底白字（0,2,0）、链接 :hover/:active 深蓝字（0,1,1）盖住新样子这几种按钮（同 me-account.css 末尾那一段），
   从 .osw-me-app 起头（0,3,1 起）写回原来的颜色。 */
.osw-me-app .osw-ma-stats > button:hover, .osw-me-app .osw-ma-stats > button:focus, .osw-me-app .osw-ma-stats > a:hover, .osw-me-app .osw-ma-stats > a:active { background: none; color: inherit; }
.osw-me-app .osw-ma-btn2 > button:hover, .osw-me-app .osw-ma-btn2 > button:focus, .osw-me-app .osw-ma-btn2 > a:hover, .osw-me-app .osw-ma-btn2 > a:active { background: #FFFFFF; color: var(--ma-brand); }
.osw-me-app .osw-ma-btn2 > button.is-main:hover, .osw-me-app .osw-ma-btn2 > button.is-main:focus, .osw-me-app .osw-ma-btn2 > a.is-main:hover, .osw-me-app .osw-ma-btn2 > a.is-main:active { background: var(--ma-brand); color: #FFFFFF; }
.osw-me-app .osw-ma-small button:hover, .osw-me-app .osw-ma-small button:focus { background: none; color: var(--ma-muted); text-decoration: underline; }
.osw-me-app .osw-ma-rows > button:hover, .osw-me-app .osw-ma-rows > button:focus, .osw-me-app .osw-ma-rows > a:hover, .osw-me-app .osw-ma-rows > a:active { background: none; color: var(--ma-ink); }
.osw-me-app a.osw-ma-mini:hover, .osw-me-app a.osw-ma-mini:active { background: #FFFFFF; color: var(--ma-brand); }
