/* Shared dark controls and separate guide/workshop surfaces. */
:root { color-scheme: dark; }
select, .inline-select {
  color: #f0ebe4;
  background-color: #282023;
  border: 1px solid #5d564f;
  border-radius: 8px;
  padding: 10px 32px 10px 12px;
  min-height: 42px;
  line-height: 1.4;
  color-scheme: dark;
}
select option { color: #f0ebe4; background: #282023; }
select:focus-visible { border-color: #ccaa7e; }
.inline-select { margin-top: 0; font-size: 13px; }
.build-selector { align-items: center; gap: 12px; margin: 24px 0; }
.build-selector .badge.subtle { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 14px; color: #cbc1b3; background: #31282b; border: 1px solid #4d4145; font-size: 12px; line-height: 1.5; }
.build-selector button { min-height: 42px; font-size: 12px; line-height: 1.5; }
.dg-template-role { display: flex; align-items: center; gap: 10px; color: #c1b5a3; font-size: 12px; }
.dg-template-role select { min-width: 140px; }
.detail-tabs { overflow-x: auto; scrollbar-width: thin; gap: 28px; }
.detail-tabs button { flex-shrink: 0; white-space: nowrap; padding: 18px 0; font-size: 13px; line-height: 1.5; }
.detail-layout > div, .detail-layout > aside { min-width: 0; }
.detail-hero { min-height: 335px; padding: 36px; }
.detail-hero-content { max-width: 55%; }
.detail-hero p { max-width: 520px; font-size: 13px; line-height: 1.9; color: #c5baaa; }
.detail-hero .detail-portrait, .detail-hero.has-hero .detail-portrait { right: 25px; bottom: 10px; width: 38%; height: calc(100% - 24px); max-height: 320px; object-fit: contain; object-position: center bottom; opacity: 1; filter: drop-shadow(0 16px 24px #1a131555); }
.detail-hero.has-hero .detail-portrait { width: 46%; right: 0; }
.detail-hero .button-row { max-width: none; flex-wrap: wrap; gap: 9px; }
.detail-hero .button { font-size: 12px; min-height: 42px; }
.panel-heading { gap: 12px; align-items: flex-start; }
.panel-heading span { line-height: 1.6; text-align: right; }
.note-box { font-size: 13px; line-height: 1.9; }
.note-box strong { margin-bottom: 6px; }
.source-line { font-size: 11px; line-height: 1.9; }
.header-inner nav { gap: 21px; }
.header-inner nav a { white-space: nowrap; font-size: 11px; }

.dg-team-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 25px; }
.dg-team-modes > a { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #241d1f; border: 1px solid #483d41; border-radius: 10px; min-width: 0; transition: border-color .18s, background .18s; }
.dg-team-modes > a:hover { border-color: #8b785a; background: #2f282a; }
.dg-team-modes > a.active { background: linear-gradient(110deg, #3b302333, #2d2528); border-color: #a78963; box-shadow: inset 3px 0 #cba87b; }
.dg-mode-icon { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; background: #3b3134; border: 1px solid #5e544c; border-radius: 10px; color: #bcad99; }
.dg-mode-icon svg { height: 22px; width: 22px; }
.active .dg-mode-icon { color: #cead83; border-color: #816d4d; background: #42372b; }
.dg-team-modes strong { display: block; font-size: 17px; color: #dcd4c7; }
.dg-team-modes .active strong { color: #e3d1b9; }
.dg-team-modes small { display: block; font-size: 11px; color: #a89b89; margin-top: 6px; line-height: 1.7; }
.dg-mode-number { margin-left: auto; font-size: 11px; color: #80766e; }
.dg-library-intro { display: flex; align-items: center; gap: 20px; justify-content: space-between; margin: 4px 0 22px; }
.dg-library-intro > span { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #c0ad94; white-space: nowrap; }
.dg-library-intro svg { width: 16px; height: 16px; }
.dg-library-intro p { font-size: 12px; line-height: 1.8; color: #b1a28e; text-align: right; }
.dg-library-intro a { color: #ceae85; text-decoration: underline; text-underline-offset: 3px; }
.dg-library-results { margin: 32px 0; }
.dg-library-results .section-header h2 { font-size: 25px; }
.dg-library-results .section-header p { font-size: 13px; }
.dg-library-results .section-header .small-link { font-size: 12px; }
.dg-library-results .dg-kicker { margin-bottom: 8px; font-size: 9px; }
.dg-library-results .search-box input { font-size: 13px; }
.dg-finder .dg-filter-fields select { font-size: 13px; min-height: 44px; }
.dg-finder .dg-filter-fields label, .dg-finder .dg-collection-toggle label { font-size: 12px; }
.dg-finder .dg-filter-tip { font-size: 11px; line-height: 1.9; }
.dg-finder .dg-focus-character p, .dg-finder .dg-no-focus p { font-size: 12px; line-height: 1.8; }
.dg-finder .dg-step-label { font-size: 9px; }
.dg-finder .dg-focus-actions .button, .dg-finder .small-link { font-size: 12px; min-height: 42px; }
.dg-team-card { padding: 24px; }
.dg-team-card > h3 { font-size: 21px; line-height: 1.4; margin: 16px 0; }
.dg-team-card > p { font-size: 13px; line-height: 1.9; min-height: 0; color: #c2b5a2; }
.dg-team-card .dg-team-actions .button { font-size: 12px; min-height: 43px; }
.dg-team-ownership { font-size: 11px; line-height: 1.7; }
.dg-team-tag, .dg-team-cost { font-size: 10px; line-height: 1.5; }
.team-members { align-items: start; gap: 10px; }
.team-member { min-width: 0; }
.dg-member-art { position: relative; aspect-ratio: 1; width: 100%; background: radial-gradient(ellipse at 50% 95%, color-mix(in srgb, var(--el) 23%, transparent), transparent 90%), #3b3034; border-radius: 9px; overflow: hidden; }
.team-member .dg-member-art img, .dg-plan-example .team-member .dg-member-art img, .dg-guide-members .dg-member-art img { position: static; display: block; height: 100%; width: 100%; max-height: none; aspect-ratio: 1; object-fit: contain; object-position: center bottom; opacity: 1; }
.team-member b, .dg-plan-example .team-member b { display: block; font-size: 12px; line-height: 1.5; margin-top: 8px; overflow-wrap: anywhere; }
.team-member small, .dg-plan-example .team-member small { display: block; color: #b7aa97; font-size: 10px; line-height: 1.5; margin-top: 4px; overflow-wrap: anywhere; }
.dg-member-element { left: 5px; top: 5px; bottom: auto; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #251a1ebb; }
.dg-member-element .element { width: 14px; height: 14px; }
.dg-guide-members { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.dg-guide-members > a { min-width: 0; text-align: center; }
.dg-guide-members strong { display: block; font-size: 12px; line-height: 1.6; margin-top: 9px; }
.dg-guide-members small { color: #bead96; font-size: 11px; line-height: 1.6; display: block; margin-top: 4px; }
.dg-guide-note { padding: 18px; background: #33282c; border: 1px solid #594e44; border-radius: 9px; margin-bottom: 20px; }
.dg-guide-note h3, .dg-guide-rotation h3 { font-size: 15px; margin: 0 0 10px; }
.dg-guide-note p, .dg-guide-rotation p { font-size: 13px; color: #cec0ac; line-height: 1.9; }
.dg-guide-rotation { display: flex; gap: 14px; padding: 4px 2px 20px; }
.dg-guide-rotation > span { color: #c8a980; flex-shrink: 0; }
.dg-guide-rotation svg { width: 22px; height: 22px; }
.dg-guide-rotation small { display: block; font-size: 11px; line-height: 1.8; margin-top: 10px; color: #a99881; }
.dg-guide-footer { display: flex; gap: 15px; justify-content: space-between; align-items: center; border-top: 1px solid #584e46; padding-top: 20px; }
.dg-guide-footer .small-link { font-size: 12px; }

.dg-workshop-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 22px; }
.dg-workshop-intro p { font-size: 12px; color: #b5a792; margin-top: 8px; }
.dg-plan-version { font-size: 10px; color: #d6cbbb; }
.dg-workshop-intro .button { font-size: 12px; min-height: 42px; }
.dg-workshop { border-color: #5b5149; padding: 28px; }
.dg-workshop .builder-heading h2 { font-size: 27px; }
.dg-workshop .builder-heading p { font-size: 12px; line-height: 1.7; }
.dg-workshop .dg-step-label { font-size: 9px; }
.dg-workshop .team-slots { gap: 16px; }
.dg-workshop .dg-plan-slot { height: 230px; background: radial-gradient(ellipse at 50% 75%,color-mix(in srgb,var(--el,#a49683) 14%,transparent),transparent 85%),#32262a !important; border-radius: 12px; }
.dg-plan-slot.filled > button:not(.remove-slot) { display: grid; grid-template-rows: minmax(0,1fr) auto auto; align-content: stretch; justify-content: stretch; gap: 4px; padding: 30px 12px 14px; }
.dg-plan-slot .dg-slot-art { min-height: 0; width: 100%; height: 100%; display: block; }
.dg-plan-slot .dg-slot-art img { position: static; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center bottom; display: block; }
.dg-workshop .dg-plan-slot .slot-name { position: static; font-size: 14px; line-height: 1.5; padding: 4px 0 0; max-width: 100%; display: block; }
.dg-workshop .dg-plan-slot-role { position: static; max-width: 100%; font-size: 10px; line-height: 1.5; display: block; color: #c5b7a3; }
.dg-plan-slot .slot-number { font-size: 10px; left: 12px; top: 12px; }
.dg-plan-slot-element { top: 12px; left: 36px; }
.dg-workshop .dg-plan-slot .remove-slot { width: 28px; height: 28px; right: 9px; top: 9px; font-size: 18px; }
.dg-workshop .builder-actions .button { min-height: 43px; font-size: 12px; padding: 10px 15px; }
.dg-workshop .builder-actions .small-link { font-size: 12px; }
.dg-workshop-section-title { display: flex; gap: 12px; align-items: center; margin: 28px 0 18px; padding-top: 23px; border-top: 1px solid #534941; }
.dg-workshop-section-title > span { color: #ab967a; font-size: 12px; }
.dg-workshop-section-title h3 { font-size: 18px; }
.dg-workshop-section-title p { font-size: 12px; line-height: 1.8; color: #b2a18a; margin-top: 5px; }
.dg-plan-rolebar { gap: 12px; }
.dg-plan-rolebar > div { padding: 14px 12px; }
.dg-plan-rolebar strong { font-size: 11px; }
.dg-plan-rolebar small { font-size: 10px; line-height: 1.6; margin-top: 5px; }
.dg-plan-controls > label:first-child { font-size: 11px; }
.dg-plan-controls select { min-height: 43px; font-size: 12px; }
.dg-plan-controls .dg-plan-owned, .dg-plan-controls > .small-link { font-size: 11px; }
.dg-plan-live-layout { grid-template-columns: minmax(0,1fr) 290px; }
.dg-plan-main .section-header h3 { font-size: 22px; }
.dg-plan-main .section-header p { font-size: 12px; }
.dg-plan-main .section-header > .small-link { font-size: 11px; }
.dg-plan-candidate { padding: 18px; }
.dg-plan-candidate-art img { display: block; width: 62px; height: 62px; object-fit: contain; object-position: center bottom; }
.dg-plan-candidate h4 { font-size: 15px; }
.dg-plan-candidate-top small { font-size: 10px; line-height: 1.5; }
.dg-plan-candidate > p { font-size: 13px; line-height: 1.9; }
.dg-plan-candidate-evidence, .dg-plan-candidate > .small-link { font-size: 11px; line-height: 1.8; }
.dg-plan-candidate .icon-button { width: 35px; height: 35px; flex-shrink: 0; }
.dg-plan-example { padding: 20px; }
.dg-plan-example > h4 { font-size: 20px; line-height: 1.4; }
.dg-plan-example-head .dg-team-tag, .dg-plan-match { font-size: 10px; }
.dg-plan-example-delta p { font-size: 12px; line-height: 1.7; }
.dg-plan-example-delta p > span { font-size: 9px; line-height: 1.7; }
.dg-plan-example-note { font-size: 12px; line-height: 1.9; }
.dg-plan-example-actions .button { font-size: 11px; min-height: 43px; padding: 10px; }
.dg-plan-keep { font-size: 12px; line-height: 1.8; }
.dg-plan-tips { padding: 22px 20px; }
.dg-plan-tips article h4 { font-size: 14px; line-height: 1.6; }
.dg-plan-tips article p { font-size: 12px; line-height: 1.9; }
.dg-plan-tips article small { font-size: 9px; }
.dg-plan-tips article .small-link, .dg-plan-tip-limit { font-size: 11px; line-height: 1.9; }
.dg-plan-tips > .dg-kicker { font-size: 8px; }
.dg-plan-build-links a { font-size: 12px; padding: 11px 0; }
.dg-plan-build-links img { height: 42px; width: 42px; display: block; }
.dg-workshop > .roster-note { font-size: 11px; }
.modal-characters { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.pick-character { padding: 8px 7px; min-width: 0; }
.pick-character img { display: block; height: 90px; object-fit: contain; object-position: center bottom; }
.pick-character span { font-size: 11px; line-height: 1.6; margin-top: 7px; overflow-wrap: anywhere; }
.pick-character > small, .dg-plan-pick-card > small { font-size: 9px; line-height: 1.6; }
.dg-plan-picker-filters select { font-size: 12px; min-height: 44px; }

@media(max-width:1100px) {
  .header-inner nav { gap: 15px; }
  .header-inner nav a { font-size: 10px; }
  .dg-plan-live-layout { grid-template-columns: 1fr; }
  .dg-plan-sidebar { position: static; display: grid; grid-template-columns: 1fr 240px; gap: 20px; align-items: start; }
  .dg-plan-build-links { margin-top: 0; }
  .dg-workshop .dg-plan-slot { height: 210px; }
  .dg-plan-rolebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dg-team-modes > a { padding: 18px; }
  .dg-team-modes strong { font-size: 16px; }
}
@media(max-width:740px) {
  .dg-team-modes { gap: 10px; }
  .dg-team-modes > a { gap: 10px; padding: 15px; }
  .dg-mode-icon { width: 34px; height: 34px; }
  .dg-mode-icon svg { width: 18px; height: 18px; }
  .dg-mode-number { display: none; }
  .dg-team-modes strong { font-size: 14px; }
  .dg-team-modes small { font-size: 10px; }
  .dg-library-intro { display: block; }
  .dg-library-intro p { text-align: left; margin-top: 10px; }
  .dg-workshop .team-slots { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dg-plan-sidebar { display: block; }
  .dg-plan-build-links { margin-top: 18px; }
  .dg-plan-candidates, .dg-plan-examples { grid-template-columns: 1fr; }
  .dg-plan-example .team-member b { font-size: 12px; }
  .dg-plan-example .team-member small { font-size: 10px; }
  .detail-hero, .detail-hero.has-hero { padding: 25px; display: flex; flex-direction: column; align-items: stretch; }
  .detail-hero-content { max-width: none; width: 100%; }
  .detail-hero p { max-width: none; }
  .detail-hero .detail-portrait, .detail-hero.has-hero .detail-portrait { position: static; width: 100%; height: 230px; max-height: none; margin-top: 25px; object-fit: contain; }
  .detail-hero .button-row { max-width: none; }
  .dg-template-role { flex-wrap: wrap; }
  .dg-team-card { padding: 20px; }
}
@media(max-width:560px) {
  .header-inner nav { gap: 20px; }
  .header-inner nav a { font-size: 11px; padding: 15px 0; }
  .page-top > p { font-size: 13px; }
  .dg-team-modes { gap: 9px; margin-bottom: 22px; }
  .dg-team-modes > a { display: block; padding: 15px 12px; }
  .dg-mode-icon { margin-bottom: 12px; width: 31px; height: 31px; border-radius: 8px; }
  .dg-team-modes strong { font-size: 15px; }
  .dg-team-modes small { font-size: 10px; line-height: 1.9; margin-top: 5px; }
  .dg-workshop-intro { align-items: flex-start; gap: 12px; }
  .dg-workshop-intro p { font-size: 11px; max-width: 200px; line-height: 1.8; }
  .dg-plan-version { font-size: 8px; letter-spacing: .8px; }
  .dg-workshop-intro .button { font-size: 10px; padding: 10px; flex-shrink: 0; }
  .dg-workshop-intro .button svg { width: 14px; }
  .dg-workshop { padding: 20px 14px; }
  .dg-workshop .builder-heading { gap: 10px; }
  .dg-workshop .builder-heading h2 { font-size: 24px; }
  .dg-workshop .builder-heading p { font-size: 11px; }
  .dg-workshop .dg-step-label { font-size: 8px; }
  .dg-workshop .team-slots { gap: 10px; }
  .dg-workshop .dg-plan-slot { height: 214px; }
  .dg-plan-slot.filled > button:not(.remove-slot) { padding: 35px 9px 14px; }
  .dg-workshop .dg-plan-slot .slot-name { font-size: 12px; }
  .dg-workshop .dg-plan-slot-role { font-size: 9px; }
  .dg-workshop .builder-actions .button { font-size: 11px; padding: 10px; }
  .dg-workshop-section-title { align-items: flex-start; }
  .dg-workshop-section-title h3 { font-size: 17px; }
  .dg-workshop-section-title p { font-size: 11px; }
  .dg-plan-rolebar { gap: 9px; }
  .dg-plan-rolebar > div { padding: 12px 9px; }
  .dg-plan-rolebar strong { font-size: 10px; }
  .dg-plan-rolebar small { font-size: 9px; }
  .dg-plan-controls .dg-plan-owned { font-size: 12px; }
  .dg-plan-main .section-header h3 { font-size: 21px; max-width: 235px; }
  .dg-plan-main .section-header p { font-size: 12px; }
  .dg-plan-candidate { padding: 17px; }
  .dg-plan-candidate-art img { width: 57px; height: 57px; }
  .dg-plan-candidate h4 { font-size: 15px; }
  .dg-plan-example { padding: 18px 15px; }
  .team-members { gap: 7px; }
  .team-member b, .dg-plan-example .team-member b { font-size: 10px; line-height: 1.6; }
  .team-member small, .dg-plan-example .team-member small { font-size: 9px; line-height: 1.6; }
  .dg-team-card > p, .dg-plan-example-note { font-size: 12px; }
  .dg-plan-example-actions .button { font-size: 11px; }
  .dg-library-results .section-header { align-items: flex-start; }
  .dg-library-results .section-header h2 { font-size: 22px; max-width: 230px; }
  .dg-library-results .section-header .small-link { max-width: 85px; text-align: right; line-height: 1.8; font-size: 11px; }
  .dg-guide-members { gap: 7px; }
  .dg-guide-members strong { font-size: 10px; }
  .dg-guide-members small { font-size: 9px; }
  .dg-guide-footer { flex-wrap: wrap; }
  .dg-guide-footer .button { width: 100%; }
  .dg-guide-note { padding: 15px; }
  .modal-characters { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
  .pick-character img { height: 78px; }
  .pick-character span { font-size: 11px; }
  .pick-character > small, .dg-plan-pick-card > small { font-size: 9px; }
  .detail-hero h1 { font-size: 30px; }
  .detail-hero p { font-size: 12px; }
  .detail-hero .button { font-size: 11px; }
  .detail-tabs { gap: 24px; }
  .detail-tabs button { font-size: 12px; }
  .build-selector { gap: 12px; align-items: flex-start; margin-top: 22px; }
  .build-selector .badge.subtle { font-size: 11px; min-height: 40px; }
  .dg-template-role { width: 100%; justify-content: space-between; font-size: 12px; }
  .dg-template-role select { flex: 1; max-width: 210px; font-size: 13px; }
  .note-box { font-size: 12px; }
  .source-line { font-size: 11px; }
  .panel-heading span { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) { .dg-team-modes > a { transition: none; } }

/* Teams navigation and quick tools. */
.header-inner nav .dg-team-nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: stretch; position: relative; padding: 0; flex-shrink: 0; border: 0; background: none; font-size: 11px; font-weight: 600; color: #beb4a7; cursor: pointer; }
.dg-team-nav-toggle svg { width: 13px; height: 13px; transition: transform .18s; }
.header-inner nav .dg-team-nav-toggle:hover, .header-inner nav .dg-team-nav-toggle.active, .header-inner nav .dg-team-nav-toggle[aria-expanded="true"] { color: #cdad83; }
.dg-team-nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dg-team-nav-toggle.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #cdad83; }
#dg-teams-menu { box-sizing: border-box; display: none; position: fixed; inset: auto; margin: 0; padding: 12px; border: 1px solid #5b5651; border-radius: 12px; background: linear-gradient(135deg,#32292c,#251e20); color: #efe9e0; box-shadow: 0 20px 60px #100b0daa; overflow-y: auto; z-index: 1000; }
#dg-teams-menu:popover-open { display: block; }
#dg-teams-menu[data-open="true"] { display: block; }
.dg-nav-menu-label { font-size: 9px; letter-spacing: 1.8px; color: #b19c80; padding: 7px 10px 12px; }
.dg-nav-choice { display: flex; align-items: center; gap: 12px; padding: 16px 12px; border: 1px solid transparent; border-radius: 8px; }
.dg-nav-choice + .dg-nav-choice { margin-top: 6px; }
.dg-nav-choice:hover, .dg-nav-choice.active { background: #3e3337; border-color: #665e57; }
.dg-nav-choice.active { border-color: #9c7d51; background: #442d3133; }
.dg-nav-choice-icon { display: grid; place-items: center; width: 37px; height: 39px; background: #4c4145; color: #ceae85; border-radius: 8px; font-size: 24px; flex-shrink: 0; }
.dg-nav-choice > span:nth-child(2) { flex: 1; min-width: 0; }
.dg-nav-choice strong { display: block; font-size: 15px; color: #ddcebb; }
.dg-nav-choice small { display: block; font-size: 11px; color: #c3b6a4; line-height: 1.8; margin-top: 5px; }
.dg-nav-choice-arrow { color: #b2a592; font-size: 18px; }
.dg-team-desk { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 15px 18px; margin: -5px 0 24px; background: #292124; border: 1px solid #4c3f43; border-radius: 9px; }
.dg-draft-link { display: flex; align-items: center; gap: 13px; min-width: 0; }
.dg-draft-portraits { display: flex; align-items: center; padding-left: 8px; flex-shrink: 0; }
.dg-draft-portraits img, .dg-draft-portraits i { width: 36px; height: 36px; object-fit: contain; border: 1px solid #6a5e54; border-radius: 50%; background: #45373c; margin-left: -8px; }
.dg-draft-portraits i { display: grid; place-items: center; font-style: normal; color: #b39a7a; }
.dg-draft-portraits i svg { height: 16px; width: 16px; }
.dg-draft-link strong { display: block; font-size: 13px; color: #e3d8c9; }
.dg-draft-link small { display: block; font-size: 11px; margin-top: 5px; color: #b1a18a; line-height: 1.7; }
.dg-draft-link > svg { color: #b89d7a; width: 17px; height: 17px; margin-left: 7px; flex-shrink: 0; }
.dg-team-desk > .button { min-height: 40px; font-size: 12px; white-space: nowrap; }
.dg-team-desk > .button b { background: #564d45; color: #ede5da; padding: 2px 6px; font-size: 10px; border-radius: 4px; }
.dg-compare-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; color: #d3c4af; padding: 12px 0 0; margin-top: 13px; border: 0; border-top: 1px solid #584e45; background: transparent; width: 100%; cursor: pointer; line-height: 1.7; }
.dg-compare-link svg { width: 15px; height: 15px; }
.dg-compare-link:hover { color: #d3b690; }
.dg-guide-footer-actions { display: flex; gap: 9px; }
.dg-guide-footer-actions .button { font-size: 11px; min-height: 42px; }
.dg-saved-quick-list { display: grid; gap: 12px; margin-top: 20px; }
.dg-saved-quick-list > button { display: flex; text-align: left; align-items: center; gap: 15px; padding: 17px; border: 1px solid #675b51; background: #382b2f; border-radius: 9px; cursor: pointer; }
.dg-saved-quick-list > button:hover { border-color: #a48864; background: #3c3437; }
.dg-saved-quick-art { display: grid; grid-template-columns: repeat(4,1fr); width: 135px; flex-shrink: 0; }
.dg-saved-quick-art img { width: 100%; height: 40px; object-fit: contain; object-position: center bottom; }
.dg-saved-quick-list strong { font-size: 14px; display: block; line-height: 1.6; color: #ede6db; }
.dg-saved-quick-list small { display: block; color: #bdac95; font-size: 11px; line-height: 1.8; margin-top: 6px; }
.dg-saved-quick-list > button > svg { width: 17px; height: 17px; margin-left: auto; flex-shrink: 0; color: #c6ac89; }
.dg-saved-quick-empty { text-align: center; padding: 30px 12px 8px; }
.dg-saved-quick-empty > svg { width: 35px; height: 35px; color: #b79b76; margin-bottom: 15px; }
.dg-saved-quick-empty h3 { font-size: 20px; color: #ede5d9; }
.dg-saved-quick-empty p { color: #c0b099; font-size: 13px; line-height: 1.9; margin: 14px 0 22px; }
.dg-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 22px 0; }
.dg-compare-column { border: 1px solid #64584d; border-radius: 10px; padding: 18px; background: #35282c; min-width: 0; }
.dg-compare-column.is-example { border-color: #867049; background: linear-gradient(150deg,#41372533,#33282c); }
.dg-compare-column h3 { font-size: 16px; color: #e1d4c3; margin: 0 0 17px; line-height: 1.5; }
.dg-compare-column.is-example h3 { color: #d2b998; }
.dg-compare-portraits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.dg-compare-portraits > div { min-width: 0; text-align: center; }
.dg-compare-portraits .dg-member-art { display: block; }
.dg-compare-portraits img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center bottom; }
.dg-compare-portraits strong { display: block; font-size: 9px; line-height: 1.6; margin-top: 7px; overflow-wrap: anywhere; color: #e6dccd; }
.dg-compare-hole > span { display: grid; place-items: center; aspect-ratio: 1; border: 1px dashed #706358; border-radius: 8px; color: #8f8175; }
.dg-compare-hole small { font-size: 9px; color: #a29077; line-height: 1.6; margin-top: 7px; display: block; }
.dg-compare-facts { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px 0; border-bottom: 1px solid #5a4e44; }
.dg-compare-facts > span { font-size: 10px; color: #cebea8; padding: 4px 7px; background: #4d414555; border-radius: 4px; }
.dg-compare-column dl { margin: 10px 0 0; }
.dg-compare-column dl > div { padding: 9px 0; }
.dg-compare-column dt { font-size: 10px; color: #af9d83; line-height: 1.7; }
.dg-compare-column dd { margin: 4px 0 0; font-size: 12px; color: #e2d6c5; line-height: 1.8; }
.dg-compare-diff { background: #2c2125; border: 1px solid #605449; border-radius: 8px; padding: 17px; }
.dg-compare-diff p { font-size: 12px; color: #e1d4c1; line-height: 1.8; }
.dg-compare-diff p + p { margin-top: 11px; }
.dg-compare-diff span { display: block; font-size: 9px; color: #b09879; letter-spacing: 1.1px; margin-bottom: 3px; }
.dg-compare-note { font-size: 12px; line-height: 1.9; color: #c3b39c; margin: 18px 0; }
.dg-guide-footer > small { font-size: 10px; color: #b4a187; line-height: 1.8; max-width: 250px; }
@media(max-width:820px) {
  .header-inner nav .dg-team-nav-toggle { font-size: 11px; }
}
@media(max-width:560px) {
  .header-inner nav .dg-team-nav-toggle { font-size: 11px; padding: 15px 0; }
  .dg-team-desk { padding: 15px 13px; flex-wrap: wrap; gap: 15px; }
  .dg-draft-link { gap: 10px; width: 100%; }
  .dg-draft-link strong { font-size: 12px; }
  .dg-draft-link small { font-size: 10px; }
  .dg-draft-portraits img { height: 29px; width: 29px; }
  .dg-draft-link > svg { margin-left: auto; }
  .dg-team-desk > .button { width: 100%; justify-content: center; font-size: 11px; min-height: 41px; }
  .dg-guide-footer-actions { flex-wrap: wrap; width: 100%; }
  .dg-guide-footer-actions .button { flex: 1; font-size: 10px; width: auto; white-space: nowrap; }
  .dg-compare-grid { grid-template-columns: 1fr; }
  .dg-compare-column { padding: 17px; }
  .dg-compare-portraits strong { font-size: 10px; }
  .dg-compare-column dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .dg-compare-column dd { font-size: 11px; }
  .dg-saved-quick-list > button { padding: 14px; gap: 12px; flex-wrap: wrap; position: relative; }
  .dg-saved-quick-art { width: 160px; }
  .dg-saved-quick-list > button > span:nth-child(2) { width: 100%; padding-right: 20px; }
  .dg-saved-quick-list > button > svg { position: absolute; right: 15px; top: 30px; }
  .dg-compare-link { font-size: 12px; min-height: 42px; }
  .dg-guide-footer > small { max-width: none; }
}
@media(prefers-reduced-motion:reduce) { .dg-team-nav-toggle svg { transition: none; } }
