/* v82 shared identity and three-theme selector. Layout themes remain isolated. */
.guild-emblem{display:block;width:100%;height:100%;object-fit:contain}
:root[data-appearance] .brand-lockup .brand-mark:has(.guild-emblem),
:root[data-appearance] .drawer-head .crest:has(.guild-emblem){padding:0!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important;border-radius:0!important;flex-shrink:0}
:root[data-appearance] .brand-lockup .brand-mark:has(.guild-emblem){width:44px;height:44px}
:root[data-appearance] .drawer-head .crest:has(.guild-emblem){width:64px;height:64px}
:root[data-appearance] .crest:has(.guild-emblem):after,:root[data-appearance] .brand-mark:has(.guild-emblem):after{display:none!important}
:root[data-appearance] .appearance-dialog{width:min(940px,calc(100vw - 24px))!important;max-width:940px!important}
:root[data-appearance] .appearance-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 18px}
:root[data-appearance] .appearance-choice-title{align-items:flex-start;flex-direction:column;gap:6px}
:root[data-appearance] .appearance-choice{padding:8px 8px 16px}
:root[data-appearance] .preview-maple{background:#132239;color:#f4eedf}
:root[data-appearance] .preview-maple b{font-family:'Noto Sans TC',sans-serif;font-weight:800;letter-spacing:0}
:root[data-appearance] .preview-maple small{color:#d8c18f;font-size:11px}
@media(max-width:699px){
  :root[data-appearance] .appearance-choices{grid-template-columns:1fr;gap:10px;margin:18px 0 14px}
  :root[data-appearance] .appearance-choice{display:grid;grid-template-columns:100px 1fr;grid-template-rows:auto auto;gap:0 12px;padding:7px;text-align:left}
  :root[data-appearance] .appearance-preview{grid-row:1/3;height:110px;padding:16px 5px 5px 32px;border-radius:7px}
  :root[data-appearance] .appearance-preview:before{width:19px}
  :root[data-appearance] .appearance-preview i{left:6px;top:18px;width:8px;height:8px;box-shadow:0 23px #aab9c666,0 46px #aab9c666}
  :root[data-appearance] .appearance-preview b{font-size:20px;letter-spacing:0;white-space:nowrap}
  :root[data-appearance] .appearance-preview em{font-size:11px}
  :root[data-appearance] .appearance-preview small{display:none}
  :root[data-appearance] .preview-cloud:after{width:65px;height:65px;right:-4px;bottom:-8px}
  :root[data-appearance] .preview-maple:after{width:50px;height:50px;right:0;bottom:0}
  :root[data-appearance] .appearance-choice-title{font-size:14px;margin:8px 0 4px;align-self:end;gap:4px}
  :root[data-appearance] .appearance-description{font-size:11px;margin:2px 5px 7px 0;line-height:1.65}
  :root[data-appearance] .appearance-state{font-size:11px!important}
}
