/* =====================================================================
   Name080 新版面通用组件样式（components.css）
   由 layout/name080_2024 统一加载；用法见 doc/version/page-redesign-guide.md
   ===================================================================== */

/* ---------- 左侧导航：当前项高亮 ---------- */
.sidebar li.active > a {
    color: #71b32e;
    font-weight: bold;
}

/* ---------- FAQ 手风琴 ---------- */
.faq-item {
    border: 1px dashed #bce5f8;
    margin-bottom: 10px;
    border-radius: 4px;
}

.faq-item .faq-question {
    cursor: pointer;
    padding: 12px 15px;
    border-left: 5px solid #71b32e;
    color: #333;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item .faq-question:hover {
    background-color: #f9f9f9;
}

.faq-item .faq-question .arrow {
    transition: transform 0.2s;
    color: #999;
}

.faq-item.open .faq-question .arrow {
    transform: rotate(90deg);
}

.faq-item .faq-answer {
    display: none;
    padding: 15px;
    color: #333;
    border-top: 1px dashed #bce5f8;
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-download {
    display: inline-block;
    margin-top: 8px;
    color: #030EAE;
    text-decoration: none;
}

.faq-download:hover {
    text-decoration: underline;
}

.answer-content {
    line-height: 1.8;
}

/* ---------- 统一表单 / 卡片（c-*） ---------- */
.c-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.c-info-box {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.c-info-item {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: linear-gradient(180deg, #fbfdf9, #f5faf0);
    border: 1px solid #edf4e6;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(113, 179, 46, 0.06);
}

.c-info-item > i {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf6dc;
    color: #6dad2b;
    border-radius: 50%;
    font-size: 18px;
}

.c-info-item a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.c-info-item a:hover {
    color: #71b32e;
}

.c-tip {
    background: linear-gradient(180deg, #fbfdf8, #f6f9f2);
    border: 1px dashed #cfe6bb;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 28px;
    color: #555;
    line-height: 1.9;
    font-size: 14px;
}

.c-form-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    padding: 34px 38px 38px;
}

.c-field {
    margin-bottom: 22px;
}

.c-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.c-label {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.c-label em {
    color: #e4393c;
    font-style: normal;
    margin-left: 2px;
}

.c-input,
.c-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e6e9ed;
    border-radius: 8px;
    padding: 11px 14px;
    height: 36px;
    font-size: 15px;
    line-height: 24px;
    color: #333;
    background: #f7f8fa;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.c-input:focus,
.c-textarea:focus {
    outline: none;
    border-color: #8ecd4e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(142, 205, 78, 0.18);
}

/* 校驗失敗（失去焦點自動校驗 / 提交前校驗，見 reg_2026.php）
   僅將邊框改為淺紅色，背景色維持原樣（.c-input 預設 / :focus 的 #fff） */
.c-input.err,
.c-textarea.err {
    border-color: #f3b0b0;
}

.c-input.err:focus,
.c-textarea.err:focus {
    border-color: #f3b0b0;
    box-shadow: 0 0 0 3px rgba(243, 176, 176, 0.28);
}

.c-textarea {
    height: 140px;
    resize: vertical;
}

.c-form-actions {
    margin-top: 30px;
    text-align: center;
}

.c-submit {
    display: inline-block;
    border: 0;
    border-radius: 24px;
    padding: 12px 52px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #8ecd4e, #71b32e);
    box-shadow: 0 4px 14px rgba(113, 179, 46, 0.35);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.c-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(113, 179, 46, 0.4);
}

/* 頁首標題：主標題改用 h2（SEO / 讀屏友善），樣式與 all2025.css 的 .newstitle h4 一致 */
.newstitle h2 {
    color: #000;
    font-size: 20px;
    line-height: 20px;
    padding: 15px 95px 15px 60px;
}

/* ---------- 會員註冊（reg_2026，c-reg-*） ---------- */
.c-reg-star {
    color: #e4393c;
    font-style: normal;
}

.c-reg-tip {
    font-size: 12px;
    line-height: 1.7;
    color: #999;
    margin-top: 8px;
}

/* 未顯示提示訊息時不佔高度（錯誤提示以動態文字填入，見 reg_2026.php） */
.c-reg-tip:empty {
    display: none;
}

.c-reg-tip.err {
    color: #e4393c;
}

.c-reg-tip.ok {
    color: #71b32e;
}

/* ---------- 註冊頁（reg_2026）背景/卡片對比調整 ---------- */
/* A1：表單卡與 .detail 白卡合一，消除「白卡疊白卡」的堆疊感 */
.reg-2026 .c-form-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    /* 卡面已隱形：左右 padding 改為 0 與上方 .c-tip 對齊；
       上方 padding 歸零（第一個元素是「帳號資料」分割線，避免與 tip 間出現大段空白）；
       下方保留呼吸空間 */
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

/* 區塊小標題：置於卡片/表單最上方時收起上方間距 */
.c-sec-title--top {
    margin-top: 0;
}

/* C：輸入框邊框對比提升（清晰淡雅邊框 + 聚焦綠色高亮） */
.reg-2026 .c-input,
.reg-2026 .c-textarea {
    border-color: #d1d5db;
}

.reg-2026 .c-input:focus,
.reg-2026 .c-textarea:focus {
    border-color: #8ecd4e;
    box-shadow: 0 0 0 3px rgba(142, 205, 78, 0.22);
}

/* 校驗失敗仍維持淺紅邊框（優先於上方預設邊框） */
.reg-2026 .c-input.err,
.reg-2026 .c-textarea.err {
    border-color: #f3b0b0;
}

.reg-2026 .c-input.err:focus,
.reg-2026 .c-textarea.err:focus {
    border-color: #f3b0b0;
    box-shadow: 0 0 0 3px rgba(243, 176, 176, 0.28);
}

.c-sec-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 36px 0 24px;
    color: #71b32e;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.c-sec-title::before,
.c-sec-title::after {
    content: "";
    flex: 1;
    height: 1px;
    border-top: 1px dashed #d8dce1;
}

.c-sec-title span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.c-sec-title span::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, #8ecd4e, #71b32e);
}

.c-captcha {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.c-captcha .c-input {
    width: 160px;
    flex: 0 0 auto;
}

.c-captcha-img {
    height: 36px;
    border: 1px solid #e6e9ed;
    border-radius: 8px;
    cursor: pointer;
}

.c-captcha-refresh {
    font-size: 13px;
    color: #8ecd4e;
    text-decoration: none;
    white-space: nowrap;
}

.c-captcha-refresh:hover {
    color: #71b32e;
    text-decoration: underline;
}

.c-reg-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    cursor: pointer;
}

.c-reg-agree input {
    flex: 0 0 auto;
    margin: 0;      /* 清除 checkbox 的預設邊距，讓 #agree 與文字上下居中 */
}

.c-reg-agree.err span {
    color: #e4393c;
}

.c-reg-agree a {
    color: #086eca;
    margin: 0 2px;
}

.c-reg-agree a:hover {
    text-decoration: underline;
}

/* 註冊同意條款頁（reg_agree_2026）：文字內容左右留白 */
.reg-agree-content {
    padding-left: 30px;
    padding-right: 30px;
}

.c-gmail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f0f7ff;
    border: 1px solid #d7e9ff;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 14px;
    color: #555;
}

.c-gmail-row i {
    color: #4A90D9;
}

/* ---------- 會員註冊成功頁（reg_ok_2026，c-reg-ok-*） ---------- */
.c-reg-ok {
    text-align: center;
}

.c-reg-ok-icon {
    width: 84px;
    height: 84px;
    margin: 6px auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eef8e3, #e2f3d2);
    border-radius: 50%;
    color: #6dad2b;
    font-size: 40px;
}

.c-reg-ok-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.c-reg-ok-msg {
    max-width: 560px;
    margin: 0 auto 26px;
    font-size: 14px;
    line-height: 1.9;
    color: #666;
}

.c-reg-ok-tip {
    max-width: 560px;
    margin: 0 auto 22px;
    text-align: left;
}

.c-reg-ok-tip i {
    margin-right: 6px;
    color: #71b32e;
}

.c-reg-ok-tip a {
    color: #086eca;
    margin: 0 2px;
}

.c-reg-ok-tel {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

.c-reg-ok-tel > i {
    margin-top: 5px;
    color: #71b32e;
    font-size: 17px;
}

.c-reg-ok-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.c-reg-ok-actions .c-submit {
    text-decoration: none;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .c-reg-ok-actions .c-submit {
        padding: 12px 36px;
    }
}

/* ---------- 登入頁（login_2026_new，舊版卡片風格，login-*） ---------- */

/* A：登入表單卡與 .detail 白卡合一，消除「白卡疊白卡」的堆疊感
   （與註冊頁 .reg-2026 .c-form-card 同一套解法，見上方 265 行註解）。
   卡面拆掉後，max-width 與左右 padding 就是控制輸入框寬度的唯一來源：
   max-width 480 − 38×2 = 內容欄 404px，輸入框文字區約 344px。
   （原本 420px／內容欄 344px 在大片 .detail 白卡中顯得過於緊湊，
     放寬後同時解決驗證碼列 placeholder「驗證碼，不區分大小寫」被截斷的問題。）
   padding-top 歸零：標題已改由 .newstitle + .c-sec-title 呈現。 */
.login-2026 .login-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding-top: 0;
    /* 內容欄 404px（= 480 − 38×2），不隨 .detail（960/1170px）被撐寬 */
    max-width: 480px;
}

/* 上方已有 .newstitle（mb15）標題條，收掉原本 40px（手機 20px）的上方留白，
   節奏與註冊頁的 .c-wrap 一致；下方與左右 padding 維持不變 */
.login-2026 .login-wrapper {
    padding-top: 0;
    padding-bottom: 60px;
}

/* 社群登入鈕與輸入框左右對齊：解除原本 max-width:160px 的上限
   （兩顆上限 160×2+12 = 332px，內容欄放寬到 404px 後會明顯內縮），
   改為兩顆 flex:1 平均撐滿內容欄；與手機端既有的 max-width:100% 一致 */
.login-2026 .login-social-btn {
    max-width: 100%;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    min-height: 60vh;
}

.login-card {
    background: #fff;
    /* 卡片外觀對齊註冊頁 .c-form-card，讓登入卡更明顯（見 131 行） */
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    padding: 34px 38px 38px;
    width: 100%;
    max-width: 420px;
}

.login-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 28px;
}

.login-form-group {
    margin-bottom: 16px;
}

.login-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
    background: #fafafa;
}

.login-input-wrap:focus-within {
    border-color: #4A90D9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74,144,217,0.1);
}

.login-input-icon {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    flex-shrink: 0;
}

.login-input-wrap input[type="text"],
.login-input-wrap input[type="password"] {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    color: #333;
    /* 新版型 all2025.css 有全域 input { height:24px; line-height:24px; padding:5px 10px }
       規則，在 box-sizing:border-box 下會把輸入框壓扁，這裡改用固定高度 44px 明確覆蓋 */
    height: 44px;
    line-height: 44px;
    padding: 0 12px 0 8px;
    font-size: 15px;
    box-shadow: none;
    transition: none;
}

.login-input-wrap input::placeholder {
    color: #bbb;
}

.login-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-captcha-row .login-input-wrap {
    flex: 1;
}

.login-captcha-img {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.login-captcha-refresh {
    font-size: 13px;
    color: #4A90D9;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.login-captcha-refresh:hover {
    text-decoration: underline;
}

.login-captcha-hint {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.login-gmail-row {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #f0f7ff;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
}

.login-gmail-row .login-input-icon {
    color: #4A90D9;
}

.login-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.login-btn {
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.login-btn-primary {
    background: #4A90D9;
    color: #fff;
}

.login-btn-primary:hover {
    background: #357ABD;
}

.login-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.login-links a {
    font-size: 13px;
    color: #4A90D9;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-divider {
    display: flex;
    align-items: center;
    /* 原為 28px 0 20px；上方額外的 40px 由 span 的 padding 移到此處。
       span 加 padding-top 會讓文字相對 ::before/::after 細線下移
       （align-items:center 是對「含 padding 的整個盒子」置中，
        盒子長高後文字被推到底部，細線仍留在垂直中央），
       改由容器 margin 撐開，文字與細線才能維持同一水平線。 */
    margin: 68px 0 20px;
    color: #bbb;
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.login-divider span {
    padding: 0 14px;
    white-space: nowrap;
}

.login-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.login-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    flex: 1;
    max-width: 160px;
}

.login-social-google {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.login-social-google:hover {
    background: #f8f8f8;
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    /* 固定文字色：避免被全域 a:hover（#71b32e）覆蓋 */
    color: #333;
}

.login-social-google .login-social-icon {
    width: 18px;
    height: 18px;
}

.login-social-line {
    background: #06C755;
    color: #fff;
    border: 1px solid #06C755;
}

.login-social-line:hover {
    background: #05b04c;
    border-color: #05b04c;
    box-shadow: 0 2px 8px rgba(6,199,85,0.2);
    /* 固定文字色：避免被全域 a:hover（#71b32e）覆蓋（圖示為 currentColor） */
    color: #fff;
}

.login-social-line .login-social-icon {
    width: 18px;
    height: 18px;
}

/* 手機端（登入卡比照新版面 767px 斷點縮小內距／圓角） */
@media (max-width: 767px) {
    .login-wrapper {
        padding: 20px 0;
        min-height: auto;
    }
    .login-card {
        border-radius: 14px;
        padding: 24px 18px 22px;
    }
    .login-card-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .login-form-group {
        margin-bottom: 14px;
    }
    /* 驗證碼列：輸入框獨占一行，避免窄螢幕被圖片與「換一張」擠壓溢出 */
    .login-captcha-row {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .login-captcha-row .login-input-wrap {
        flex: 1 1 100%;
    }
    .login-divider {
        margin: 22px 0 16px;
    }
    .login-links {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .login-btn-row {
        flex-direction: column;
    }
    .login-btn {
        flex: none;
        padding: 12px 20px;
    }
    .login-social {
        flex-direction: column;
        align-items: center;
    }
    .login-social-btn {
        max-width: 100%;
        width: 100%;
    }
}

/* ---------- 社交登入 / QR（weixin / line / google 2026） ---------- */
.c-social {
    text-align: center;
    margin-bottom: 24px;
}

.c-social:last-child {
    margin-bottom: 0;
}

.c-qr {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    border: 1px solid #e6e9ed;
    border-radius: 12px;
    padding: 8px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.c-qr img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.c-line-btn {
    display: inline-block;
    width: 222px;
    height: 64px;
    border: 0;
    padding: 0;
    background: url("../../name080/images/line/btn_login_base.png") no-repeat;
    background-size: 100% 100%;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    transition: none;
}

.c-line-btn:hover {
    background-image: url("../../name080/images/line/btn_login_hover.png");
}

.c-line-btn:active {
    background-image: url("../../name080/images/line/btn_login_press.png");
}

.c-line-info {
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 24px;
}

.c-line-id {
    color: #06c755;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.c-line-id:hover {
    text-decoration: underline;
}

.c-google-next {
    margin-top: 8px;
}

.c-google-next-text {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 16px;
}

.c-google-mail {
    color: #71b32e;
    font-weight: 700;
}

.c-google-next-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.c-submit-ghost {
    background: #fff;
    color: #71b32e;
    border: 1px solid #8ecd4e;
    box-shadow: none;
}

.c-submit-ghost:hover {
    background: #f3f9eb;
    box-shadow: none;
}

/* ---------- 網址服務（domain 2026：index / tsf / certificate / loot） ---------- */
.d-sec {
    margin-bottom: 28px;
}

.d-sec-title {
    position: relative;
    margin: 0 0 14px;
    padding: 0 0 10px 14px;
    font-size: 17px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #eee;
}

.d-sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 5px;
    height: 18px;
    background: #71b32e;
    border-radius: 2px;
}

.d-box {
    background: linear-gradient(180deg, #fbfdf8, #f6f9f2);
    border: 1px dashed #cfe6bb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 18px;
    color: #555;
    line-height: 1.9;
    font-size: 14px;
}

.d-box ul,
.d-box ol {
    margin: 0 0 0 20px;
    padding: 0;
}

.d-box li {
    margin-bottom: 6px;
}

.d-box p {
    margin: 0 0 8px;
}

.d-note-red {
    background: linear-gradient(180deg, #fefbfb, #fdf4f4);
    border-color: #f3c5c6;
    color: #a43a3a;
}

.d-note-red strong {
    color: #c0392b;
}

.d-box .red,
.d-box li .red,
.d-box strong.red {
    color: #e4393c;
}

.d-warn-text {
    color: #e4393c;
    font-weight: 700;
    font-size: 15px;
    margin: 6px 0 0;
    line-height: 1.8;
}

.d-warn-text i {
    color: #e4393c;
}

.d-link {
    color: #8ecd4e;
    font-weight: 600;
}

.d-link:hover {
    color: #71b32e;
    text-decoration: underline;
}

.d-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.d-card-img {
    flex: 0 0 auto;
    width: 96px;
    height: auto;
    border: 1px solid #eee;
    border-radius: 8px;
}

.d-card-body {
    flex: 1 1 auto;
    color: #555;
    line-height: 1.9;
    font-size: 14px;
}

.d-card-body p {
    margin: 0 0 10px;
}

.d-shot p {
    margin: 0 0 6px;
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

.d-shot-img {
    text-align: center;
    margin: 8px 0 18px;
}

.d-shot-img img {
    max-width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
}

.d-img-center {
    text-align: center;
    margin: 12px 0 18px;
}

.d-img-center img {
    max-width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
}

.d-float-img {
    float: right;
    margin: 0 0 12px 16px;
}

.d-logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.d-logo-row a {
    display: inline-block;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 4px 6px;
    background: #fff;
    line-height: 0;
}

.d-logo-row img {
    width: 80px;
    height: 30px;
}

.d-form {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    padding: 26px 28px;
    margin-bottom: 28px;
}

.d-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.d-form-label {
    font-weight: 600;
    color: #333;
}

.d-form-input,
.d-form-select {
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e6e9ed;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #f7f8fa;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.d-form-input:focus,
.d-form-select:focus {
    outline: none;
    border-color: #8ecd4e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(142, 205, 78, 0.18);
}

.d-form-input {
    flex: 1 1 220px;
    max-width: 320px;
}

.d-form-select {
    flex: 0 0 auto;
    min-width: 150px;
}

.d-fee {
    margin: 0;
    padding: 0;
    list-style: none;
}

.d-fee li {
    margin-bottom: 5px;
}

.d-fee .red {
    color: #e4393c;
}

.d-btn-center {
    text-align: center;
    margin: 20px 0 6px;
}

/* ---------- SSD 雲端主機（ssd_vps_2026） ---------- */
.ssd-sec {
    margin-top: 28px;
}

.ssd-table-wrap {
    overflow-x: auto;
}

.ssd-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 14px;
}

.ssd-table th {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid #71b32e;
    background: #f4f9ef;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
}

.ssd-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.ssd-table tbody tr:nth-child(even) td {
    background: #f8faf5;
}

.ssd-table tbody tr:hover td {
    background: #f2f8ec;
}

.ssd-buy {
    display: inline-block;
    background: linear-gradient(135deg, #8ecd4e, #71b32e);
    color: #fff;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.ssd-buy:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

/* 網址搶註 彈窗 iframe（取代 layui layer） */
.d-modal-body {
    padding: 0;
}

.d-modal-iframe {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
}

/* ---------- 手机端 ---------- */
@media (max-width: 767px) {
    .newstitle h2 {
        padding-right: 15px;
    }

    .d-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .d-card-body {
        text-align: left;
    }

    .d-form {
        padding: 20px 16px;
    }

    .d-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .d-form-input,
    .d-form-select {
        max-width: 100%;
        width: 100%;
    }
    .c-info-item {
        flex: 1 1 100%;
    }

    .c-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .c-captcha .c-input {
        width: 100%;
    }

    .c-form-card {
        padding: 22px 20px 26px;
        border-radius: 14px;
    }

    .c-submit {
        width: 100%;
        text-align: center;
    }

    .c-google-next-actions {
        flex-direction: column;
        align-items: center;
    }

    .c-google-next-actions .c-submit {
        width: 100%;
    }
}
