/* 科目三模拟灯光频道（/dengguang/）样式 —— 与全站 site-shell.css 视觉体系统一 */
.dg-body { background: #f5f6f8; color: #1a1e23; font-family: var(--sh-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif); }
.dg-body * { box-sizing: border-box; }
.dg-main { width: min(980px, 100% - 28px); margin: 0 auto 44px; padding-top: 14px; }

/* 面包屑 */
.dg-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; color: #6b7280; }
.dg-crumb a { color: #4b5563; text-decoration: none; }
.dg-crumb a:hover { color: #ec2139; }
.dg-crumb i { font-style: normal; color: #9ca3af; }

/* 顶部首屏 */
.dg-hero { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 22px 24px; margin-bottom: 18px; }
.dg-hero-compact { padding: 18px 22px; }
.dg-hero-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dg-hero h1 { margin: 8px 0 8px; font-size: 24px; font-weight: 700; line-height: 1.35; color: #111827; }
.dg-lead { margin: 0; font-size: 14px; line-height: 1.7; color: #4b5563; max-width: 650px; }
.dg-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff1f2; color: #d0192e; font-size: 12px; font-weight: 600; }
.dg-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 6px; }

/* 按钮 */
.dg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all .15s ease; }
.dg-btn-lg { min-height: 44px; padding: 0 22px; font-size: 15px; }
.dg-btn-primary { background: #ec2139; color: #fff; }
.dg-btn-primary:hover { background: #d0192e; color: #fff; }
.dg-btn-dark { background: #142d50; color: #fff; }
.dg-btn-dark:hover { background: #0c1f3a; color: #fff; }
.dg-btn-ghost { background: #fff; border-color: #d1d5db; color: #1f2937; }
.dg-btn-ghost:hover { border-color: #111827; color: #111827; }
.dg-btn:disabled { opacity: .55; cursor: not-allowed; }

/* 工具主卡片 */
.dg-tool-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 4px 18px rgba(17, 24, 39, .05); }
.dg-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #fafbfc; border-bottom: 1px solid #e5e7eb; }
.dg-picker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dg-picker-label { font-size: 13px; font-weight: 600; color: #374151; }
.dg-select { height: 34px; padding: 0 10px; border: 1px solid #d1d5db; border-radius: 7px; background: #fff; color: #111827; font-size: 13px; max-width: 210px; }
.dg-select:disabled { background: #f3f4f6; color: #9ca3af; }
.dg-toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dg-chip-btn { height: 32px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: 999px; background: #fff; color: #374151; font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }
.dg-chip-btn:hover { border-color: #142d50; color: #142d50; }
.dg-chip-accent { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }

/* 模拟灯光舞台（浅色 / 深色两套主题） */
.dg-sim-panel { position: relative; padding: 16px; --box-bg: #ffffff; --card-bg: #f8fafc; --card-border: #e2e8f0; --label: #1e293b; --sel-bg: #d0ebfe; --sel-border: #007ef6; --sel-text: #0066cc; --alt-bg: #f6e1a9; --alt-border: #e5b94c; --alt-text: #854d0e; --grp-bg: #f1f5f9; --grp-num-bg: #ffffff; background: #f1f5f9; }
.dg-sim-panel.dg-theme-dark { --box-bg: #1b293b; --card-bg: #0f1b2d; --card-border: #2a3a52; --label: #e2e8f0; --sel-bg: #133963; --sel-border: #38bdf8; --sel-text: #7dd3fc; --alt-bg: #453411; --alt-border: #f59e0b; --alt-text: #fde68a; --grp-bg: #0f1b2d; --grp-num-bg: #1e293b; background: #101d32; color: #f1f5f9; }

.dg-sim-top { max-width: 720px; margin: 0 auto 14px; }
.dg-dashboard { position: relative; width: 100%; aspect-ratio: 750 / 390; border-radius: 12px; overflow: hidden; background: #091322; }
.dg-dash-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dg-dash-controls { position: absolute; inset: 0; pointer-events: none; perspective: 400px; }
.dg-road-lights { position: absolute; top: 0; left: 0; right: 0; height: 58%; overflow: hidden; mix-blend-mode: screen; }
.dg-road-light, .dg-alt-road, .dg-alt-road i { position: absolute; inset: 0; }
.dg-pos-beam { clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%); background: radial-gradient(ellipse 85% 70% at 50% 100%, rgba(255,248,216,.22) 0%, rgba(255,244,205,.09) 48%, transparent 88%); }
.dg-near-beam { clip-path: polygon(0 30%, 100% 30%, 100% 100%, 0 100%); background: radial-gradient(ellipse 78% 90% at 50% 100%, rgba(255,248,211,.3) 0%, rgba(255,244,199,.14) 32%, transparent 84%); }
.dg-far-beam { background: radial-gradient(ellipse 43% 125% at 50% 100%, rgba(255,252,226,.46) 0%, rgba(255,248,213,.22) 35%, transparent 92%); }
.dg-fog-beam { background: radial-gradient(ellipse 95% 65% at 50% 100%, rgba(237,244,230,.5) 0%, rgba(225,237,215,.25) 46%, transparent 86%); }
.dg-alt-road .dg-near-beam { animation: dg-near-alt 1.4s ease-in-out infinite; }
.dg-alt-road .dg-far-beam { animation: dg-far-alt 1.4s ease-in-out infinite; }
.dg-alt-road.is-pulse .dg-near-beam, .dg-alt-road.is-pulse .dg-far-beam { animation-iteration-count: 1; }
.dg-knob-plate, .dg-knob-grip { position: absolute; top: 74.1%; left: 21.73%; width: 3.6%; height: 20.51%; }
.dg-knob-grip { z-index: 2; transition: transform .3s ease; }
.dg-stick { position: absolute; top: 46%; left: 19.5%; z-index: 3; width: 20%; transform-origin: 100% 100%; transition: transform .25s ease; }
.dg-stick.is-left { transform: rotate(-25deg); }
.dg-stick.is-right { transform: rotate(25deg); }
.dg-stick.is-far { filter: brightness(1.15) drop-shadow(0 0 4px rgba(161,220,255,.9)); }
.dg-stick.is-alternation, .dg-stick.is-alternation-pulse { animation: dg-stick-alt 1.4s ease-in-out infinite; }
.dg-stick.is-alternation-pulse { animation-iteration-count: 1; }
.dg-turn { position: absolute; top: 68%; z-index: 4; width: 3.5%; animation: dg-blink .9s steps(2, end) infinite; }
.dg-turn-left { left: 44.5%; }
.dg-turn-right { left: 61%; }
.dg-hazard { position: absolute; top: 70.77%; left: 88.13%; z-index: 5; width: 3.47%; height: 7.18%; }
.dg-hazard.is-on { animation: dg-blink .9s steps(2, end) infinite; }

@keyframes dg-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: .2; } }
@keyframes dg-near-alt { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes dg-far-alt { 0%,49% { opacity: 0; } 50%,100% { opacity: 1; } }
@keyframes dg-stick-alt { 0%,18% { transform: rotateY(0); } 40% { transform: rotateY(32deg) scale(1.06); } 75% { transform: rotateY(-22deg) scale(.94); } 100% { transform: rotateY(0); } }

/* 语音指令提示条 */
.dg-prompt-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding: 12px 16px; border-radius: 10px; background: var(--box-bg); border: 1px solid var(--card-border); }
.dg-prompt-bar.is-idle strong { display: block; font-size: 15px; color: var(--label); }
.dg-prompt-bar.is-idle span { display: block; margin-top: 2px; font-size: 13px; color: #64748b; }
.dg-prompt-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.dg-step-pill { padding: 2px 8px; border-radius: 6px; background: #e0f2fe; color: #0369a1; font-size: 12px; font-weight: 700; }
.dg-timer-pill { padding: 2px 8px; border-radius: 6px; background: #fef3c7; color: #b45309; font-size: 12px; font-weight: 700; }
.dg-timer-pill.is-urgent { background: #fee2e2; color: #dc2626; }
.dg-prompt-text { margin: 0; font-size: 16px; font-weight: 600; color: var(--label); line-height: 1.5; }
.dg-prompt-ctrl { display: flex; align-items: center; gap: 10px; flex: none; }
.dg-caption-toggle { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #64748b; cursor: pointer; white-space: nowrap; }
.dg-stop-btn { padding: 5px 12px; border-radius: 6px; border: 1px solid #ef4444; background: #fff; color: #dc2626; font-size: 12px; font-weight: 600; cursor: pointer; }

/* 灯光组 + 8格开关 */
.dg-sim-body { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.dg-box { background: var(--box-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 14px; }
.dg-groups-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.dg-group-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 10px; border: 1px solid transparent; background: var(--grp-bg); color: var(--label); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s; }
.dg-group-btn:hover { border-color: #93c5fd; }
.dg-group-btn.is-active { background: var(--sel-bg); border-color: var(--sel-border); color: var(--sel-text); }
.dg-group-num { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--grp-num-bg); font-size: 15px; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.dg-group-btn.is-active .dg-group-num { background: #007ef6; color: #fff; }
.dg-group-rand-img { width: 34px; height: 34px; object-fit: contain; }

.dg-switch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dg-switch-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 10px 6px; border-radius: 10px; border: 1.5px solid var(--card-border); background: var(--card-bg); color: var(--label); cursor: pointer; transition: all .12s; user-select: none; }
.dg-switch-card:hover { border-color: #60a5fa; }
.dg-switch-card.is-on { background: var(--sel-bg); border-color: var(--sel-border); color: var(--sel-text); }
.dg-switch-card.is-second { background: var(--alt-bg); border-color: var(--alt-border); color: var(--alt-text); }
.dg-switch-card:disabled { opacity: .6; cursor: not-allowed; }
.dg-switch-icon { width: 42px; height: 40px; object-fit: contain; }
.dg-switch-name { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* 判定弹框 */
.dg-result-mask { position: absolute; inset: 0; background: rgba(9, 19, 34, .58); display: flex; align-items: center; justify-content: center; z-index: 20; padding: 16px; }
.dg-result-popup { width: min(340px, 100%); border-radius: 14px; padding: 22px 20px; text-align: center; color: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.dg-result-popup.is-correct { background: linear-gradient(135deg, #10b981, #059669); }
.dg-result-popup.is-wrong { background: linear-gradient(135deg, #ef4444, #dc2626); }
.dg-result-icon { font-size: 40px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.dg-result-title { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.dg-result-box { background: rgba(0,0,0,.18); border-radius: 10px; padding: 10px 12px; font-size: 13px; text-align: left; line-height: 1.7; }
.dg-result-box p { margin: 0; }

/* SEO 内容区块 */
.dg-section { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; }
.dg-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dg-sec-head h2 { margin: 0; font-size: 18px; font-weight: 700; color: #111827; }
.dg-sec-sub { font-size: 13px; color: #6b7280; }
.dg-sec-link { font-size: 13px; color: #ec2139; text-decoration: none; font-weight: 600; }

.dg-region-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 10px; }
.dg-region-grid a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; color: #1f2937; font-size: 14px; font-weight: 600; background: #fafbfc; }
.dg-region-grid a:hover { border-color: #ec2139; color: #ec2139; background: #fff; }
.dg-region-grid em { font-style: normal; font-size: 12px; font-weight: 400; color: #6b7280; }

.dg-city-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dg-city-pills a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; border: 1px solid #e5e7eb; background: #f9fafb; color: #374151; font-size: 13px; text-decoration: none; }
.dg-city-pills a:hover, .dg-city-pills a.is-active { border-color: #ec2139; color: #ec2139; background: #fff1f2; }
.dg-city-pills em { font-style: normal; font-size: 12px; color: #6b7280; }

.dg-site-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dg-site-grid a { display: block; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; text-decoration: none; background: #fafbfc; transition: border-color .15s; }
.dg-site-grid a:hover { border-color: #ec2139; background: #fff; }
.dg-site-grid strong { display: block; font-size: 15px; color: #111827; margin-bottom: 4px; }
.dg-site-grid span { display: block; font-size: 12px; color: #6b7280; }
.dg-site-grid small { display: block; margin-top: 4px; font-size: 12px; color: #9ca3af; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 表格 */
.dg-table-wrap { overflow-x: auto; }
.dg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dg-table th, .dg-table td { padding: 10px 12px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.dg-table th { background: #f9fafb; color: #374151; font-weight: 600; white-space: nowrap; }
.dg-ans-tag { display: inline-block; padding: 3px 9px; border-radius: 6px; background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 600; }
.dg-sort-tag { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.dg-sort-1 { background: #ecfdf5; color: #047857; }
.dg-sort-2 { background: #f3f4f6; color: #374151; }
.dg-sort-3 { background: #fef2f2; color: #b91c1c; }
.dg-item-skill { margin-top: 4px; font-size: 12px; color: #6b7280; }
.dg-notice-box { padding: 12px 14px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; font-size: 14px; line-height: 1.7; color: #78350f; }

.dg-faq-list { display: grid; gap: 10px; }
.dg-faq-item { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; background: #fafbfc; }
.dg-faq-item summary { cursor: pointer; font-weight: 600; font-size: 15px; color: #111827; }
.dg-faq-item p { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: #4b5563; }

.dg-link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f3f4f6; }
.dg-link-row a { font-size: 13px; color: #1d4ed8; text-decoration: none; }
.dg-link-row a:hover { text-decoration: underline; }

/* 弹窗（扫码下载百分驾考 APP） */
.dg-modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .62); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dg-modal { position: relative; width: min(440px, 100%); background: #fff; border-radius: 16px; padding: 26px 24px 22px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.dg-modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: #6b7280; cursor: pointer; }
.dg-modal h3 { margin: 10px 0 4px; font-size: 19px; color: #111827; }
.dg-modal-field { margin: 0 0 14px; font-size: 13px; color: #6b7280; }
.dg-modal-qr { display: inline-flex; padding: 10px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.dg-modal-desc { margin: 12px 0 16px; font-size: 13px; line-height: 1.65; color: #4b5563; text-align: left; }
.dg-modal-actions { display: flex; flex-direction: column; gap: 8px; }
.dg-modal-status { margin: 10px 0 0; font-size: 13px; color: #dc2626; min-height: 18px; }

/* 传图建库页 */
.dg-custom-wrap { display: grid; gap: 16px; }
.dg-login-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-radius: 12px; background: #fffbeb; border: 1px solid #fcd34d; }
.dg-login-banner strong { display: block; font-size: 15px; color: #92400e; }
.dg-login-banner p { margin: 4px 0 0; font-size: 13px; color: #78350f; }
.dg-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.dg-tab { padding: 9px 16px; border-radius: 8px; border: 1px solid #d1d5db; background: #fff; color: #374151; font-size: 14px; font-weight: 600; cursor: pointer; }
.dg-tab.is-active { background: #142d50; border-color: #142d50; color: #fff; }
.dg-tab-count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: 12px; }
.dg-panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 22px; }
.dg-upload-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; }
.dg-sub-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.dg-form-row { margin-bottom: 14px; }
.dg-form-row > label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.dg-input { width: 100%; height: 38px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; }
.dg-dropzone { border: 2px dashed #cbd5e1; border-radius: 12px; padding: 24px 16px; text-align: center; background: #f8fafc; cursor: pointer; transition: all .15s; }
.dg-dropzone.is-drag { border-color: #ec2139; background: #fff1f2; }
.dg-drop-title { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #1e293b; }
.dg-drop-sub { margin: 0 0 12px; font-size: 12px; color: #64748b; }
.dg-preview-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.dg-preview-item { position: relative; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; }
.dg-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.dg-preview-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.dg-upload-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dg-quota-tip { font-size: 13px; color: #6b7280; }
.dg-upload-tips { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 18px; }
.dg-upload-tips h3 { margin: 0 0 10px; font-size: 15px; color: #1e293b; }
.dg-upload-tips ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.8; color: #475569; }
.dg-status-bar { margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.dg-status-bar.is-info { background: #eff6ff; color: #1d4ed8; }
.dg-status-bar.is-ok { background: #ecfdf5; color: #047857; }
.dg-status-bar.is-err { background: #fef2f2; color: #b91c1c; }

.dg-editor-box { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.dg-warn-box { margin-bottom: 14px; padding: 10px 14px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; font-size: 13px; color: #92400e; }
.dg-editor-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dg-editor-split { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.dg-editor-images { display: grid; gap: 10px; }
.dg-editor-images a { display: block; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; text-decoration: none; text-align: center; background: #f9fafb; }
.dg-editor-images img { display: block; width: 100%; max-height: 220px; object-fit: cover; }
.dg-editor-images span { display: block; padding: 5px; font-size: 12px; color: #1d4ed8; }
.dg-editor-table-wrap { overflow-x: auto; }
.dg-edit-table tr.is-warn { background: #fffbeb; }
.dg-ed-sort, .dg-ed-title, .dg-ed-limit { width: 100%; height: 32px; padding: 0 8px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 13px; }
.dg-ed-note { margin-top: 4px; font-size: 12px; color: #b45309; }
.dg-chip-wrap { display: flex; flex-wrap: wrap; gap: 4px; }
.dg-ans-chip { padding: 3px 7px; border-radius: 5px; border: 1px solid #d1d5db; background: #fff; color: #374151; font-size: 12px; cursor: pointer; }
.dg-ans-chip.is-on { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 600; }
.dg-del-row { padding: 4px 8px; border: 1px solid #fca5a5; border-radius: 5px; background: #fff; color: #dc2626; font-size: 12px; cursor: pointer; }
.dg-editor-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f3f4f6; }
.dg-share-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #374151; cursor: pointer; }

.dg-my-banks { display: grid; gap: 12px; }
.dg-my-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafbfc; }
.dg-my-card h3 { margin: 0 0 6px; font-size: 16px; color: #111827; }
.dg-my-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: #6b7280; }
.dg-my-remark { margin: 6px 0 0; font-size: 12px; color: #b91c1c; }
.dg-my-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.dg-loading, .dg-empty-bank { padding: 32px 16px; text-align: center; font-size: 14px; color: #64748b; }
.dg-empty-bank a { color: #ec2139; font-weight: 600; text-decoration: none; }

@media (max-width: 768px) {
    .dg-main { width: calc(100% - 20px); }
    .dg-hero { padding: 16px; }
    .dg-hero h1 { font-size: 20px; }
    .dg-groups-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .dg-group-btn { padding: 8px 3px; font-size: 11px; }
    .dg-switch-grid { gap: 6px; }
    .dg-switch-card { min-height: 78px; padding: 8px 3px; }
    .dg-switch-icon { width: 32px; height: 30px; }
    .dg-switch-name { font-size: 12px; }
    .dg-upload-grid, .dg-editor-meta, .dg-editor-split { grid-template-columns: 1fr; }
}
