.word-detail-page {
    --wd-primary: #000;
    --wd-primary-dark: #000;
    --wd-primary-soft: #edf4fa;
    --wd-text: #263442;
    --wd-muted: #718096;
    --wd-border: #e3eaf0;
    --wd-page-bg: #f5f8fb;
    max-width: 1180px;
    width: calc(100% - 32px);
    margin: 24px auto 56px;
    color: var(--wd-text);
    font-size: 16px;
    line-height: 1.75;
}
.word-detail-page * { box-sizing: border-box; }
.word-detail-page a { color: var(--wd-primary); text-decoration: none; }
.word-detail-page a:hover { color: var(--wd-primary-dark); }

.wd-hero { position:relative; display:flex; justify-content:space-between; align-items:center; min-height:190px; overflow:hidden; padding:32px 38px; border:1px solid #dce8f2; border-radius:18px; background:linear-gradient(120deg,#d9fbf0  0%,#ffffff 72%); box-shadow:0 6px 22px rgba(34,68,100,.045); }
.wd-hero-main { position:relative; z-index:1; min-width:0; }
.wd-eyebrow { color:#000; font-size:13px; font-weight:700; letter-spacing:.12em; }
.wd-word-title { margin:4px 0 12px; color:#1f3448; font-size:clamp(30px,4vw,42px); line-height:1.3; font-weight:750; letter-spacing:.04em; overflow-wrap:anywhere; }
.wd-pronunciation { display:flex; flex-wrap:wrap; gap:10px 24px; }
.wd-pron-item { display:flex; gap:8px; align-items:baseline; }
.wd-pron-label { color:var(--wd-muted); font-size:13px; }
.wd-pron-value { color:#000; font-size:16px; font-weight:600; }
.wd-hero-mark { position:absolute; right:38px; top:50%; transform:translateY(-50%) rotate(8deg); display:flex; align-items:center; justify-content:center; width:124px; height:124px; border:1px solid rgba(49,95,140,.12); border-radius:28px; background:rgba(255,255,255,.62); color:rgba(7, 76, 28, 0.4); font-size:82px; font-weight:800; user-select:none; }
.wd-hero-cy
{
    font-size:41px;
}
.wd-content-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(260px,.85fr); align-items:start; gap:22px; }
.wd-main-column,.wd-side-column { display:flex; flex-direction:column; gap:22px; min-width:0; }
.wd-card { min-width:0; padding:24px 26px; border:1px solid var(--wd-border); border-radius:15px; background:#fff; box-shadow:0 5px 18px rgba(35,58,79,.035); }
.wd-section-heading { display:flex; align-items:center; gap:10px; margin:0 0 18px; }
.wd-section-heading h2 { margin:0; color:#253a4e; font-size:19px; line-height:1.4; font-weight:750; }
.wd-section-icon {
     display:inline-flex; flex:0 0 30px; align-items:center; 
     justify-content:center; width:30px; height:30px; border-radius:9px; 
     background:#086144; color:#fff; font-size:15px; font-weight:750; }
.wd-heading-note { margin-left:auto; color:var(--wd-muted); font-size:12px; font-weight:400; }
.wd-definition { color:#000; font-size:16px; line-height:2; white-space:pre-line; overflow-wrap:anywhere; }
.wd-empty { margin:0; color:#999; font-size:14px; }
.wd-empty-small { font-size:13px; }
.wd-character-list { display:flex; flex-direction:column; gap:15px; }
.wd-character-card { padding:18px; border:1px solid #999; border-radius:12px;  }
.wd-character-top { display:flex; gap:15px; align-items:center; }
.wd-character-glyph { display:flex; flex:0 0 76px; align-items:center; justify-content:center; width:76px; height:76px; border:1px solid #000; border-radius:13px; background:#fff; color:#000!important; font-size:39px; line-height:1; font-weight:650; }
.wd-character-glyph:hover{
    color:#fff !important;
    background:#086144;
    border-color:#086144;
}
.wd-character-info { min-width:0; }
.wd-character-name { display:inline-block;  color:#000!important; font-size:17px; font-weight:400; }
.wd-char-pron { color:#000; font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.wd-char-pron span { display:inline-block; min-width:38px; color:#000; font-size:14px; }
.wd-char-definition {  color:#000; font-size:16px; line-height:1.2; white-space:pre-line; overflow-wrap:anywhere; }
.wd-char-definition-cy
{
    line-height:1.8
}
.wd-char-definition a{
    color:#086144;
}
.wd-char-definition a:hover{
    text-decoration: underline;
}
.wd-inline-label { display:inline-block; margin-right:8px; color:#000; font-size:12px; font-weight:700;margin-bottom:5px; }
.wd-char-words { display:flex; align-items:flex-start; flex-wrap:wrap; gap:7px; margin-top:14px; padding-top:13px; border-top:1px dashed #e1e8ef; }
.wd-char-words > .wd-inline-label { padding-top:4px; }
.wd-chip-list { display:flex; flex:1 1 70%; flex-wrap:wrap; gap:7px; }
.wd-chip { display:inline-flex; align-items:center; padding:3px 10px; border:1px solid #000; border-radius:999px; background:#fff; color:#000!important; font-size:15px; line-height:1.7; transition:background .15s,border-color .15s; }
.wd-chip:hover { border-color:#086144; background:#086144; color:#fff !important;}
.wd-muted { color:#9aa5af; font-size:13px; }
.wd-related-card { padding:21px 22px; }
.wd-related-card .wd-section-heading { margin-bottom:13px; }
.wd-related-card .wd-section-heading h2 { font-size:17px; }

.wd-related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.wd-related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.wd-related-link:hover {
    color: #fff;
    border-color: #086144;
    background-color: #086144;
}

.wd-related-link span {
    font-size: 16px;
    line-height: 1;
}

.wd-definition b{
    background:#086144;
    color:#fff;
    padding:0px 2px;
}
.wd-definition a{
    color:#086114;

}
.wd-definition a:hover{
    text-decoration: underline;
}

.wd-line-one
{
    line-height:1.2;
}


#sutian {
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}



#sutian .sutian_item {
    background: #fff;
    border: 1px solid #e5ebe7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20, 60, 35, 0.035);
}



#sutian .sutian_item > h5 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 15px 18px;
    background: #f1f7f2;
    border-bottom: 1px solid #e1ebe3;
    color: #245b37;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}



#sutian .sutian_item > h5 {
    letter-spacing: 0.2px;
}



#sutian .sutian_item > h5 .yin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 auto;
    padding: 5px 11px;
    background: #fff;
    border: 1px solid #dce8de;
    border-radius: 6px;
    color: #376c49;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}



#sutian .sound-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e8f3ea;
    color: #347449;
    cursor: pointer;
    transition: all 0.2s ease;
}

#sutian .sound-btn:hover {
    background: #347449;
    color: #fff;
    transform: scale(1.08);
}

#sutian .sound-btn i {
    font-size: 13px;
}



#sutian .sutian_detail {
    padding: 12px 18px 16px;
}



#sutian .one_item {
    position: relative;
    padding: 13px 14px;
    margin-bottom: 10px;
    background: #fafcfb;
    border: 1px solid #edf1ee;
    border-radius: 7px;
    transition: background 0.2s ease;
}

#sutian .one_item:last-child {
    margin-bottom: 0;
}

#sutian .one_item:hover {
    background: #f5faf6;
}



#sutian .one_item > p {
    margin: 0;
    color: #444d47;
    font-size: 15px;
    line-height: 1.9;
}



#sutian .one_item > p > span {
    display: inline-block;
    margin-right: 9px;
    padding: 2px 8px;
    background: #eaf3ec;
    border-radius: 4px;
    color: #347449;
    font-size: 12px;
    font-weight: 600;
    vertical-align: 1px;
    white-space: nowrap;
}



#sutian .one_item ul {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    border-top: 1px dashed #dce5de;
}

#sutian .one_item ul li {
    padding: 12px 0 5px;
    margin: 0;
}



#sutian .exp-title {
    display: block;
    margin-bottom: 5px;
    color: #285e3b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}



#sutian .exp-audio {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
    color: #78877c;
    font-size: 13px;
    line-height: 1.8;
}



#sutian .one_item ul li > p {
    margin: 5px 0 0;
    padding-left: 11px;
    border-left: 3px solid #dce9df;
    color: #737d76;
    font-size: 13px;
    line-height: 1.8;
}




.wd-addcontent .wd-extra-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 11px;
    line-height: 1.8;
}

.wd-addcontent .wd-extra-info-row:last-child {
    margin-bottom: 0;
}

.wd-addcontent .wd-extra-label {
    flex-shrink: 0;
    width: 82px;
    color: #888;
    font-size: 14px;
}

.wd-addcontent .wd-extra-value {
    color: #333;
    font-size: 15px;
}

.wd-addcontent .wd-extra-paragraph {
    margin: 15px 0 0;
    color: #555;
    font-size: 15px;
    line-height: 1.9;
}


/* ==========================================
   常見搭配與句型
========================================== */

.wd-addcontent .wd-extra-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wd-addcontent .wd-extra-item {
    padding: 15px 17px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: border-color .2s, background .2s;
}

.wd-addcontent .wd-extra-item:hover {
    border-color: #c9dced;
    background: #fcfdff;
}

.wd-addcontent .wd-extra-item-title {
    color: #3978c5;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.wd-addcontent .wd-extra-item-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.wd-addcontent .wd-extra-example {
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 5px;
    background: #f6f8fb;
    color: #444;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   常見錯誤與詞語辨析
========================================== */

.wd-addcontent .wd-mistake-panel {
    overflow: hidden;
    border: 1px solid #e9e9e9;
    border-radius: 9px;
}

.wd-addcontent .wd-mistake-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 17px;
    background: #f7f9fc;
    border-bottom: 1px solid #eee;
}

.wd-addcontent .wd-mistake-badge {
    display: inline-block;
    padding: 4px 9px;
    background: #e9a348;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.wd-addcontent .wd-mistake-title {
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.wd-addcontent .wd-mistake-compare {
    display: flex;
    gap: 12px;
    padding: 17px;
}

.wd-addcontent .wd-mistake-column {
    flex: 1;
    min-width: 0;
    padding: 15px;
    border-radius: 7px;
}

.wd-addcontent .wd-mistake-correct {
    background: #f1f8f3;
    border: 1px solid #d9ebdd;
}

.wd-addcontent .wd-mistake-wrong {
    background: #fff5f4;
    border: 1px solid #f1dad7;
}

.wd-addcontent .wd-mistake-status {
    font-size: 13px;
    font-weight: 600;
}

.wd-addcontent .wd-mistake-correct .wd-mistake-status {
    color: #32945a;
}

.wd-addcontent .wd-mistake-wrong .wd-mistake-status {
    color: #d65c55;
}

.wd-addcontent .wd-mistake-word {
    margin: 13px 0;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #333;
}

.wd-addcontent .wd-mistake-column p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.wd-addcontent .wd-mistake-sentences {
    padding: 17px;
    border-top: 1px solid #eee;
}

.wd-addcontent .wd-mistake-sentence-label {
    margin-bottom: 8px;
    color: #888;
    font-size: 13px;
}

.wd-addcontent .wd-mistake-sentence {
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.8;
}

.wd-addcontent .wd-mistake-sentence:last-child {
    margin-bottom: 0;
}

.wd-addcontent .wd-sentence-wrong {
    background: #fff5f4;
    color: #b94c45;
}

.wd-addcontent .wd-sentence-correct {
    background: #f1f8f3;
    color: #287d48;
}

.wd-addcontent .wd-mistake-sentence i {
    margin-right: 5px;
}

.wd-addcontent .wd-mistake-memory {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 17px;
    background: #fff9ec;
    border-top: 1px solid #f2e8d4;
    margin-bottom:1em;
}

.wd-addcontent .wd-mistake-memory > i {
    flex-shrink: 0;
    margin-top: 3px;
    color: #d49a37;
    font-size: 18px;
}

.wd-addcontent .wd-mistake-memory strong {
    display: block;
    color: #8b6422;
    font-size: 14px;
}

.wd-addcontent .wd-mistake-memory p {
    margin: 5px 0 0;
    color: #6e5a38;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   不同情境的造句
========================================== */

.wd-addcontent .wd-scenario-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wd-addcontent .wd-scenario-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 15px;
    border: 1px solid #eee;
    border-radius: 7px;
}

.wd-addcontent .wd-scenario-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf4fc;
    color: #3978c5;
    font-size: 12px;
    font-weight: 700;
}

.wd-addcontent .wd-scenario-content {
    flex: 1;
    min-width: 0;
}

.wd-addcontent .wd-scenario-tag {
    display: inline-block;
    margin-bottom: 5px;
    color: #3978c5;
    font-size: 13px;
    font-weight: 600;
}

.wd-addcontent .wd-scenario-content p {
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   詞語使用提醒
========================================== */

.wd-addcontent .wd-usage-tips {
    padding: 15px 17px;
    background: #f7f9fc;
    border-radius: 8px;
}

.wd-addcontent .wd-usage-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 13px;
}

.wd-addcontent .wd-usage-tip:last-child {
    margin-bottom: 0;
}

.wd-addcontent .wd-usage-tip > i {
    flex-shrink: 0;
    margin-top: 5px;
    color: #4b9b6b;
    font-size: 14px;
}

.wd-addcontent .wd-usage-tip p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.85;
}

.wd-pannel-box
    {
        padding:10px 0px;
        margin-top:10px;
        border-top:1px solid #eee;
    }
    .wd-pannel-box .wd-mistake-sentence
    {
        padding:10px 0px !important;
    }

/* ==========================================
   手機版適配
========================================== */

@media (max-width: 576px) {

	.wd-addcontent .wd-usage-tip
    {
        width:100%;
        display:block;
        margin-bottom:1em;
    }
    .wd-addcontent .wd-usage-tip p{
        display:block;
        margin-bottom:1em;
    }
    .wd-addcontent .wd-extra-info {
        padding: 13px;
    }

    .wd-addcontent .wd-extra-info-row {
        gap: 8px;
    }

    .wd-addcontent .wd-extra-label {
        width: 72px;
        font-size: 13px;
    }

    .wd-addcontent .wd-extra-value {
        font-size: 14px;
    }

    .wd-addcontent .wd-extra-paragraph {
        font-size: 14px;
    }

    .wd-addcontent .wd-extra-item {
        padding: 12px;
    }

    .wd-addcontent .wd-extra-item-title {
        font-size: 15px;
    }

    .wd-addcontent .wd-extra-item-desc,
    .wd-addcontent .wd-extra-example {
        font-size: 13px;
    }

    .wd-addcontent .wd-mistake-top {
        padding: 12px;
    }

    .wd-addcontent .wd-mistake-compare {
        gap: 8px;
        padding: 12px;
    }

    .wd-addcontent .wd-mistake-column {
        padding: 10px;
    }

    .wd-addcontent .wd-mistake-word {
        font-size: 25px;
    }

    .wd-addcontent .wd-mistake-column p {
        font-size: 12px;
    }

    .wd-addcontent .wd-mistake-sentences {
        padding: 12px;
    }

    .wd-addcontent .wd-mistake-memory {
        padding: 12px;
    }

    .wd-addcontent .wd-scenario-item {
        gap: 10px;
        padding: 12px 10px;
    }

    .wd-addcontent .wd-scenario-number {
        width: 29px;
        height: 29px;
    }

    .wd-addcontent .wd-scenario-content p {
        font-size: 13px;
    }

    .wd-addcontent .wd-usage-tips {
        padding: 13px;
    }

    .wd-addcontent .wd-usage-tip p {
        font-size: 13px;
    }

}

@media (max-width:1366px)
{
    .wd-pron-item
    {
        gap:3px;
    }
    .wd-pron-value
    {
        font-size:15px;
        font-weight:400;
    }
}
@media (max-width: 900px) {
    .wd-content-grid { grid-template-columns:minmax(0,1fr); }
    .wd-side-column { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
    .wd-side-column .wd-related-card:last-child { grid-column:1 / -1; }
}
@media (max-width: 600px) {
    .word-detail-page { width:calc(100% - 22px); margin:14px auto 34px; font-size:15px; }
    .wd-breadcrumb { margin-bottom:13px; font-size:12px; }
    .wd-hero { min-height:155px; padding:23px 20px; border-radius:14px; }
    .wd-word-title { font-size:32px; }
    .wd-hero-mark { right:13px; width:78px; height:78px; border-radius:20px; font-size:52px; }
    .wd-hero-cy
    {
        font-size:26px;
    }
    .wd-pronunciation { max-width:calc(100% - 25px); gap:5px 14px; }
    .wd-pron-value { font-size:14px; }
    .wd-card { padding:19px 16px; border-radius:13px; }
    .wd-section-heading h2 { font-size:17px; }
    .wd-heading-note { display:none; }
    .wd-character-card { padding:14px; }
    .wd-character-glyph { flex-basis:58px; width:58px; height:58px; font-size:33px; }
    .wd-side-column { display:flex; }
    .wd-side-column .wd-related-card:last-child { grid-column:auto; }
}
@media (max-width:576px)
{
    #sutian {
        gap: 14px;
    }

    #sutian .sutian_item > h5 {
        padding: 12px;
        gap: 7px;
        font-size: 16px;
    }

    #sutian .sutian_item > h5 .yin {
        margin-left: auto;
        padding: 4px 8px;
        font-size: 14px;
    }

    #sutian .sutian_detail {
        padding: 10px;
    }

    #sutian .one_item {
        padding: 11px;
        margin-bottom: 9px;
    }

    #sutian .one_item > p {
        font-size: 14px;
        line-height: 1.85;
    }

    #sutian .exp-title {
        font-size: 14px;
    }

    #sutian .exp-audio {
        font-size: 12px;
    }

    #sutian .one_item ul li > p {
        font-size: 13px;
    }
}
