/* ========= Brand Tokens ========= */
:root{
  --brand: #ff7a00;
  --brand-ink: #0f172a;
  --header-shadow: 0 6px 18px rgba(0,0,0,.06);
  --radius-pill: 999px;
}

/* 全局字體 */
body{
  font-family: "Nunito","Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,Helvetica,sans-serif;
  color: var(--brand-ink);
}

/* ========== 頂欄（Nav） ========== */
.site-nav { background:#c2c2c2; }
.logo-text { color:#111; }

.navbar .nav-link{
  font-weight:600; letter-spacing:.2px;
  color:#0f172a !important;
  padding:.75rem 1rem !important;
}
.navbar .nav-link:hover{ color:#111827 !important; opacity:.85; }

/* 膠囊按鈕與品牌按鈕 */
.btn{ border-radius:14px; }
.btn-brand{
  background:#f4791f; color:#fff; font-weight:700;
  padding:10px 20px; border:none; border-radius:var(--radius-pill);
}
.btn-brand:hover{ filter:brightness(1.05); }

/* 登錄/註冊主按鈕（統一版本） */
.btn-auth{
  padding:10px 18px;
  border-radius:var(--radius-pill);
  background:var(--brand);
  color:#cdae6d !important;
  font-weight:700;
  border:none;
  box-shadow:0 10px 24px rgba(255,122,0,.28);
  transition:box-shadow .2s, transform .08s, opacity .2s;
  text-decoration:none;
}
.btn-auth:hover{ box-shadow:0 12px 30px rgba(255,122,0,.34); transform:translateY(-1px); }
.btn-auth:active{ transform:translateY(1px); }

/* 右側頭像首字母圓形 */
.user-avatar{
  width:42px; height:42px; border-radius:50%;
  background:var(--brand); color:#fff; font-weight:700; font-size:18px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px rgba(255,122,0,0.25);
  cursor:pointer; transition:transform .2s, box-shadow .2s;
}
.user-avatar:hover{ transform:translateY(-1px); box-shadow:0 10px 24px rgba(255,122,0,0.35); }

/* ========== 頂部導航整體調整 ========== */

/* 外層 header：增加高度、背景白灰漸變 */
.bns-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: linear-gradient(to bottom, #ffffff 0%, #f7f8fa 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(0);
  transition: transform .32s ease, box-shadow .2s ease, opacity .2s ease;
}

/* 隱藏狀態：向上滑走 */
.bns-header.bns-header--hidden {
  transform: translateY(-100%);
  opacity: .98;
  box-shadow: none;
}

/* 避免“減少動畫”的用户不適 */
@media (prefers-reduced-motion: reduce){
  .bns-header { transition: none; }
}

/* 給正文一個上邊距，避免 header 變 fixed 後內容被蓋住 */
body.has-fixed-header {
  /* 此值由 JS 動態設置為 header 高度，這裏只是兜底 */
  padding-top: 80px;
}

/* Navbar 內部間距更寬、更高 */
.bns-header .navbar {
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 90px;  /* 整個欄更高 */
  transition: all .25s ease;
   background: #e4e0d7 !important;
}

/* Logo 放大一些 */
.brand-logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.08));
}

/* 品牌文字更醒目 */
.brand-wordmark {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand, #ff7a00);
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1;
}

/* 註冊按鈕保持亮度、大小協調 */
.btn-auth {
  padding: 10px 20px;
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: 12px;
  background: var(--brand, #ff7a00);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 8px 20px rgba(255,122,0,0.25);
  transition: all .25s ease;
}
.btn-auth:hover {
  box-shadow: 0 10px 28px rgba(255,122,0,0.3);
  background-color: #e96f00;   /* 懸停變深一點 */
  color: #ffffff;
  transform: translateY(-2px);
}

/* 漢堡按鈕微調對齊與陰影 */
.btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.btn-icon:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* 圖標樣式更清晰 */
.icon-bars, .icon-bars::before, .icon-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  position: relative;
}
.icon-bars::before { position: absolute; top: -6px; }
.icon-bars::after  { position: absolute; top: 6px; }

/* 用户頭像大小與陰影 */
.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand, #ff7a00);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255,122,0,0.25);
  transition: all .25s ease;
}
.user-avatar:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255,122,0,0.35);
}


/* 圖標按鈕（統一尺寸） */
.btn-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:50px; height:50px; border-radius:50%;
  border:1px solid rgba(0,0,0,.08); background:#fff;
  transition:box-shadow .2s, transform .1s;
}
.btn-icon:hover{ box-shadow:0 6px 16px rgba(0,0,0,.1); }

/* 漢堡圖標（三橫） */
.icon-bars, .icon-bars::before, .icon-bars::after{
  content:""; display:block; width:18px; height:2px; background:#111; border-radius:2px; position:relative;
}
.icon-bars::before{ position:absolute; top:-6px; }
.icon-bars::after{ position:absolute; top: 6px; }

/* ========== 社交按鈕（保留） ========== */
.btn-social{
  border-radius:var(--radius-pill); padding:.45rem 1rem; font-weight:700; border:1px solid transparent;
}
.btn-facebook{ background:#1877F2; color:#fff; }
.btn-facebook:hover{ filter:brightness(0.95); color:#fff; }
.btn-instagram{
  background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:#fff;
}
.btn-instagram:hover{ filter:brightness(0.95); color:#fff; }

/* ========== 移動抽屜（Mobile Drawer） ========== */
/* ========== 半屏頂部下拉 Drawer（優雅動畫） ========== */

/* 半屏頂部下拉 Drawer */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80dvh; /* 半屏高度，可調為60dvh */
  background: #fff;
  z-index: 1050;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  transform: translateY(-110%);
  opacity: 0;
  transition:
    transform .4s cubic-bezier(.25,.95,.3,1.05),
    opacity .4s ease;
  overflow: hidden;
}
.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
}

/* 遮罩保持 */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1040;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

/* 內容 */
.md-header {
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.md-logo {
  height: 36px;          /* 比原來 24px 更大，可調 */
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.15));
}

.md-brand-text {
  font-size: 1.3rem;     /* 大號品牌字 */
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--brand, #ff7a00);
  text-transform: uppercase;
  line-height: 1;
}
.md-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 90px; /* 預留按鈕底部空間 */
  margin-top: 12px; 
}
.md-item { border-bottom: 1px solid #f1f3f6; }
.md-toggle {
  width: 98%;
  text-align: left;
  padding: 19px 5px;
  background: transparent;
  border: 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem
}
.md-item .chev {
  width: 10px; height: 10px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(-45deg);
  transition: .2s;
}
.md-item.open .chev { transform: rotate(45deg); }
.md-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 0 0 8px;              /* 先把 padding 收起來，避免空白 */
  transition: max-height .25s ease, padding .25s ease;
}

/* 展開時：用 JS 設置 max-height，同時恢復 padding */
.md-item.open .md-panel {
  padding: 8px 0 16px 8px;
}
.md-panel a {
  display: block;
  padding: 8px 0;
  color: #222832;
  text-decoration: none;
}
.md-panel a:hover { color: var(--brand, #ff7a00); }

/* 底部左右按鈕（固定在底部） */
.md-bottom-actions {
  position: absolute;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px; right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* 註冊（左橙）、登錄（右描邊） */
.md-bottom-actions .left-btn,
.md-bottom-actions .right-btn {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 999px;
  transition: all .25s ease;
}

/* 左：橙 */
.md-bottom-actions .left-btn {
  background: var(--brand, #ff7a00);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255,122,0,.28);
}
.md-bottom-actions .left-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(255,122,0,.34);
}

/* 右：描邊橙 */
.md-bottom-actions .right-btn {
  background: #fff;
  color: var(--brand, #ff7a00);
  border: 2px solid var(--brand, #ff7a00);
}
.md-bottom-actions .right-btn:hover {
  background: var(--brand, #ff7a00);
  color: #fff;
  transform: translateY(-1px);
}



/* Auth Modal 顯隱 */
.auth-modal{ display:none; }
.auth-modal.is-open{ display:block; }

/* ========== 頂部下拉通知條（Peekbar） ========== */
.peekbar{
  position:fixed; top:-120px; left:0; right:0; z-index:1040;
  background:#fff7ed; border-bottom:1px solid #fde68a;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:transform .35s ease, opacity .35s ease;
  transform:translateY(-8px); opacity:0;
}
.peekbar.is-show{ transform:translateY(0); top:0; opacity:1; }
.peekbar__inner{
  max-width:1120px; margin:0 auto; padding:12px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.peekbar__text{ color:#92400e; font-weight:700; }
.peekbar__actions .btn{ border-radius:var(--radius-pill); font-weight:800; }

/* ========== Footer（結構 A） ========== */
.site-footer{ background:#feffff; color:#cbd5e1; padding:2px 2px; }
.site-footer .footer-card{
  background:#151515; border-radius:10px; padding:45px 25px;
  box-shadow:0 18px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.03);
}
.site-footer .footer-cols{
  max-width:1200px;             /* 跟 container-xl 差不多就行 */
  margin:0 auto 24px;
  display:flex;
  justify-content:space-between;/* 三列左右均勻分佈 */
  gap:48px;                     /* 列間距正常一點 */
  flex-wrap:wrap;               /* 小屏可以換行 */
}

.site-footer .fcol{
  flex:1 1 0;                   /* 自動分配寬度 */
  min-width:200px;              /* 保證不太窄 */
  max-width:320px;
  text-align:left;
}
@media (max-width: 768px){
  .site-footer .footer-cols{
    flex-direction:column;
    gap:24px;
  }
}

.footer-col-title{
  font-size:1.25rem; font-weight:700; letter-spacing:.02em; color:#8c9099;
  line-height:1.2; margin:0 0 .8rem;
}

.footer-nav{ list-style:none; padding:0; margin:0; }
.footer-nav li + li{ margin-top:6px; }
.footer-nav a{
  display:inline-block; line-height:1.6; padding:4px 0;
  color:#e6e7ea; text-decoration:none; transition:color .15s ease, transform .15s ease;
}
.footer-nav a:hover{ color:#ff7a00; transform:translateX(2px); }

.footer-bottom{
  border-top:1px solid rgb(230,226,226); margin-top:29px; padding-top:39px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.footer-bottom .copyright{ font-size:.9rem; color:#ffffff; }
.footer-bottom .legal{ list-style:none; display:flex; gap:18px; padding:0; margin:0; }
.footer-bottom .legal a{ color:#a1a1aa; text-decoration:none; }
.footer-bottom .legal a:hover{ color:#fff; }

.btn-outline-light{
  border:2px solid #e6e7ea; color:#e6e7ea; background:transparent;
  font-weight:700; padding:8px 20px; border-radius:var(--radius-pill);
}
.btn-outline-light:hover{ color:#111; background:#e6e7ea; }

/* 頁腳品牌大標題 */
.site-footer .footer-hero{ text-align:center; margin:8px 0 18px; }
.site-footer .footer-hero__title{
  font-size:clamp(40px,7.5vw,92px);
  line-height:1.06; font-weight:900; letter-spacing:.03em;
  color:#ffcc00; margin:0; text-shadow:0 10px 30px rgba(0,0,0,.24);
}
.site-footer .footer-hero__subtitle{
  color:#e5e7eb; font-size:clamp(14px,2.1vw,18px); line-height:1.6; margin:10px 0 4px; opacity:.95;
}

/* 社交列表（統一版本） */
.footer-social{
  list-style:none; padding:0; margin:8px 0 22px;
  display:grid; gap:10px;
}
.footer-social a{
  display:inline-flex; align-items:center; gap:10px;
  color:#e6e7ea; text-decoration:none; font-weight:600;
  transition:color .25s ease, transform .25s ease;
  width:fit-content;
}
.footer-social a:hover{ color:#ff7a00; transform:translateX(2px); }

.social-icon{
  width:22px; height:22px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#fff; color:#111;
  transition:background .25s ease, color .25s ease;
}
.social-icon.fb{ color:#1877f2; }
.social-icon.ig{ background:#ffe3c2; color:#c15300; }
.footer-social a:hover .social-icon{ background:#ff7a00; color:#fff; }

/* ========== 其他小組件（保留用得到的） ========== */
.avatar-dot{
  width:28px; height:28px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:#147a82; color:#fff; font-weight:700;
}

/* 小屏微調 */
@media (max-width:576px){
  .brand-wordmark{ font-size:20px; }
  .btn-auth{ padding:9px 14px; }
}
.acc-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ✅ 讓主卡片左右更寬（桌面） */
.acc-maincard{
  width: 100%;
  max-width: 1350px;   /* 你想更寬可改 1280/1360 */
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;  /* 內邊距也順便加大點更舒服 */
  padding-right: 28px;
}

/* ✅ 超大屏再放寬一點 */
@media (min-width: 1400px){
  .acc-maincard{
    max-width: 1320px;
  }
}

/* ✅ 手機不需要太寬，保持緊湊 */
@media (max-width: 576px){
  .acc-maincard{
    padding-left: 16px;
    padding-right: 16px;
  }
}

.acc-tabpane .acc-maincard {
  width: 100% !important;
  max-width: 1300px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
}

/* 讓裡面的查詢框也變寬，不再被壓扁 */
.acc-maincard .acc-search-box{
  width: 100% !important;
  max-width: 1400px !important;   /* 你可調：1160 / 1200 */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 36px !important;  /* 讓它看起來「大氣」 */
  padding-right: 36px !important;
  box-sizing: border-box !important;
}

/* RWD 手機保持適中 */
@media (max-width: 576px){
  .acc-tabpane .acc-maincard {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .acc-maincard .acc-search-box{
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
.acc-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.acc-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ✅ 讓主卡片左右更寬（桌面） */
.acc-maincard{
  width: 100%;
  max-width: 1200px;   /* 你想更寬可改 1280/1360 */
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;  /* 內邊距也順便加大點更舒服 */
  padding-right: 28px;
}

/* ✅ 超大屏再放寬一點 */
@media (min-width: 1400px){
  .acc-maincard{
    max-width: 1320px;
  }
}

/* ✅ 手機不需要太寬，保持緊湊 */
@media (max-width: 576px){
  .acc-maincard{
    padding-left: 16px;
    padding-right: 16px;
  }
}

.accounts-page .container,
.accounts-page .container-lg,
.accounts-page .container-xl{
  max-width: 1400px !important;  /* 你要更寬就 1480/1560 */
}

/* 2) 主卡片全寬 */
.accounts-page .acc-maincard{
  width: 100% !important;
  max-width: none !important;     /* 直接解鎖 */
  margin: 0 auto 1.5rem !important;
  padding: 40px !important;
  box-sizing: border-box !important;
}

/* 3) 裏面查詢框也全寬 */
.accounts-page .acc-maincard .acc-search-box{
  width: 100% !important;
  max-width: none !important;
  padding: 28px 32px !important;
  margin: 0 auto 1.5rem !important;
  box-sizing: border-box !important;
}

/* 手機 */
@media (max-width:576px){
  .accounts-page .acc-maincard{ padding:16px !important; }
  .accounts-page .acc-maincard .acc-search-box{ padding:16px !important; }
}

/* =========================
   Accounts 主卡片寬度最終版
   ========================= */

/* 1) 先把外層 container 放寬（如果 base_accounts 用了 bootstrap container） */
.accounts-page .container,
.accounts-page .container-lg,
.accounts-page .container-xl{
  max-width: 1400px !important; /* 你要更寬就 1500/1600 */
}

/* 2) 主卡片：桌面全寬 + 不受 max-width 限制 */
.acc-maincard{
  width: 100% !important;
  max-width: none !important;   /* 關鍵：解鎖寬度 */
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 40px !important;
  box-sizing: border-box !important;
}

/* 3) 卡片裏查詢框也變大一圈 */
.acc-maincard .acc-search-box{
  width: 100% !important;
  max-width: none !important;
  padding: 28px 32px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* 4) input 高一點、字大一點 */
.acc-maincard .acc-search-box .form-control{
  min-height: 64px;
  font-size: 1.1rem;
  padding-left: 22px;
  padding-right: 22px;
}

/* 5) 右側按鈕更大更圓 */
.acc-maincard .acc-search-box .btn{
  min-height: 64px;
  min-width: 110px;
  font-size: 1.1rem;
  font-weight: 800;
}

/* 手機就緊湊點 */
@media (max-width:576px){
  .acc-maincard{ padding:16px !important; }
  .acc-maincard .acc-search-box{ padding:16px !important; }
  .acc-maincard .acc-search-box .form-control,
  .acc-maincard .acc-search-box .btn{
    min-height: 52px;
    font-size: 1rem;
  }
}
.top-langbar{
  background: #0f172a;
  color: #e5e7eb;
  font-size: 12px;
}
.top-lang-btn{
  border: 0;
  background: transparent;
  color: #9ca3af;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.top-lang-btn.is-active{
  background: rgba(248,250,252,.12);
  color: #f97316;
  font-weight: 600;
}
.top-lang-btn:hover{
  background: rgba(248,250,252,.1);
  color: #f97316;
}
.md-bottom-actions--authed {
  left: 40px;
  right: 40px;
}


.md-bottom-actions--authed .left-btn {
  flex: 0 0 78%;       /* 原本 100% 幾乎佔滿，改成 78% */
  font-size: 1rem;     /* 字略小 */
  padding: 10px 0;     /* 高度略降 */
}

/* 右邊 form 也參與分配寬度 */
.md-bottom-actions--authed .right-btn-form {
  flex: 0 0 30%;
  display: flex;
}

/* 右邊「退出」變長一點，不再是小圓點 */
.md-bottom-actions--authed .right-btn {
  width: 100%;
  min-width: 90px;        /* 確保有一定長度 */
  padding: 12px 0;        /* 保持上下高度 */
  border-radius: 999px;   /* 保持膠囊形狀 */
}
.exit-circle-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--brand, #ff7a00);
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  border: none;
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .22s ease;
  cursor: pointer;
}

/* 懸停變亮、微浮起 */
.exit-circle-btn:hover {
  background: #ff8a22;
  box-shadow: 0 14px 28px rgba(255, 122, 0, 0.38);
  transform: translateY(-3px);
}

/* 按下時微微下壓 */
.exit-circle-btn:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.25);
}
.exit-circle-wafu {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e5e7eb;              /* 淡灰日本系外框 */
  color: #111;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Noto Sans JP","Noto Sans TC",sans-serif; /* 日式字體 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);  /* 日本 UI 常用淡陰影 */
  transition: all .20s ease;
}

/* Hover：浮起 */
.exit-circle-wafu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  border-color: #ff7a00;                   /* 日本式 hover：外框變橙色 */
  color: #ff7a00;
}

/* Active：按下稍微凹下 */
.exit-circle-wafu:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.md-bottom-actions--authed .right-btn.exit-circle-wafu {
  flex: 0 0 auto;
  padding: 10px 18px;                /* 和左邊差不多的高度、內距 */
  border-radius: 999px;              /* 橢圓膠囊 */
  background: #ffffff;               /* 白底 */
  border: 2px solid #ff7a00;         /* 橙色描邊 */
  color: #ff7a00;
  font-size: 0.95rem;                /* 比「賬户」略小一點，視覺更協調 */
  font-weight: 700;
  font-family: "Noto Sans JP","Noto Sans TC",sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all .2s ease;
  margin-left: 14px;                 /* 和左邊拉開一點距離 */
}

/* hover 效果 */
.md-bottom-actions--authed .right-btn.exit-circle-wafu:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
  background: #ff7a00;
  color: #ffffff;
}

/* active 效果 */
.md-bottom-actions--authed .right-btn.exit-circle-wafu:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* ===============================
   已登入：底部賬户 + 日式圓形退出
   =============================== */

/* 整塊左右不要那麼貼邊 */
.md-bottom-actions--authed {
  left: 32px;
  right: 32px;
}

/* 左邊「賬户」比例 & 視覺稍微輕一點 */
.md-bottom-actions--authed .left-btn {
  flex: 1;            /* 自然佔滿剩餘空間 */
  font-size: 1rem;
  padding: 11px 0;
}

/* 右邊 form 只包著小圓按鈕即可 */
.md-bottom-actions--authed .right-btn-form {
  flex: 0 0 auto;
  display: flex;
}

/* 右邊：日式和風圓形「退」按鈕 */
.md-bottom-actions--authed .right-btn.exit-circle-wafu {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ff7a00;
  color: #ff7a00;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Noto Sans JP","Noto Sans TC",sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
  transition: all .2s ease;
  margin-left: 14px;
}

/* hover 效果 */
.md-bottom-actions--authed .right-btn.exit-circle-wafu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
  background: #ffffff;
}

/* active 效果 */
.md-bottom-actions--authed .right-btn.exit-circle-wafu:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.md-bottom-actions--authed {
  left: 32px;
  right: 32px;
}

/* 左邊「賬户」按鈕：佔大部分寬度，但不要太粗 */
.md-bottom-actions--authed .left-btn {
  flex: 1;
  font-size: 1rem;
  padding: 11px 0;
}

/* 右邊 form 只包小圓按鈕 */
.md-bottom-actions--authed .right-btn-form {
  flex: 0 0 auto;
  display: flex;
}

/* ✅ 日式和風圓形「退」 */
.md-bottom-actions--authed .right-btn.exit-circle-wafu {
  flex: 0 0 auto;
  padding: 10px 18px;                /* 和左邊差不多的高度、內距 */
  border-radius: 999px;              /* 橢圓膠囊 */
  background: #ffffff;               /* 白底 */
  border: 2px solid #ff7a00;         /* 橙色描邊 */
  color: #ff7a00;
  font-size: 0.95rem;                /* 比「賬户」略小一點，視覺更協調 */
  font-weight: 700;
  font-family: "Noto Sans JP","Noto Sans TC",sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all .2s ease;
  margin-left: 14px;                 /* 和左邊拉開一點距離 */
}

/* hover 效果 */
.md-bottom-actions--authed .right-btn.exit-circle-wafu:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
  background: #ff7a00;
  color: #ffffff;
}

/* active 效果 */
.md-bottom-actions--authed .right-btn.exit-circle-wafu:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}