/* DuoDuo navigation integration - scoped to the site header, based on approved V9 test.
   Original page layout, other site UI, and text sizes of branding/buttons are preserved. */
.site-header.dd-nav-ready{overflow:visible;z-index:200}
.site-header.dd-nav-ready nav.dd-main-nav{display:grid!important;grid-template-columns:minmax(76px,.73fr) repeat(6,minmax(0,1fr));gap:0!important;align-items:center;min-width:0;flex:1;overflow:visible!important;padding:0!important;scrollbar-width:none}
.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link{position:relative;min-width:0;display:flex;align-items:center;justify-content:center;gap:7px!important;padding:10px 3px!important;color:var(--muted);font-size:17px!important;font-weight:800;line-height:1.3;border:1px solid transparent;border-radius:10px;white-space:nowrap;background:transparent;transform:none!important;box-shadow:none;transition:color .16s,background .16s,border-color .16s}
.site-header.dd-nav-ready nav.dd-main-nav .dd-nav-icon{width:18px;height:18px;flex:none;display:block;stroke:currentColor}
.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link::after{content:"";position:absolute;bottom:3px;left:10px;right:10px;height:2px;background:var(--accent);transform:scaleX(0);opacity:0;transition:transform .15s,opacity .15s}
.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link:hover,.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link:focus-visible{color:var(--accent2);background:var(--soft);border-color:var(--line)}
.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link:hover::after,.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link:focus-visible::after{transform:scaleX(1);opacity:1}
.site-header.dd-nav-ready .brand span,.site-header.dd-nav-ready .header-status,.site-header.dd-nav-ready .theme-toggle span:last-child{color:var(--muted)!important;font-weight:750!important}
.site-header.dd-nav-ready .dd-nav-menu{position:absolute;top:100%;left:0;right:0;z-index:220;background:rgba(7,17,31,.98);color:var(--text);backdrop-filter:blur(20px);border-bottom:1px solid var(--line);box-shadow:0 18px 35px #0002;padding:16px 0 20px;max-height:min(64vh,480px);overflow-y:auto;overscroll-behavior:contain}
.site-header.dd-nav-ready .dd-nav-menu[hidden]{display:none!important}
.dd-nav-menu .dd-nav-rail{display:grid;grid-template-columns:minmax(76px,.73fr) repeat(6,minmax(0,1fr));margin-left:var(--dd-nav-left,0px);width:var(--dd-nav-width,100%);box-sizing:border-box}
.dd-nav-menu .dd-nav-col{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:4px;border-left:1px solid var(--line);padding:0 7px;text-align:center}
.dd-nav-menu .dd-nav-col:first-child{grid-column:2}
.dd-nav-menu .dd-nav-col a{font-size:13px;font-weight:700;line-height:1.45;padding:6px 2px;color:var(--muted);text-decoration:none;border-radius:6px;overflow-wrap:anywhere;transition:background .16s,color .16s}
.dd-nav-menu .dd-nav-col a:hover,.dd-nav-menu .dd-nav-col a:focus-visible{background:var(--soft);color:var(--accent2);outline-offset:2px}
.dd-nav-menu .dd-nav-heading{display:none}
.dd-mobile-toggle{display:none;border:1px solid var(--line);background:var(--soft);color:var(--muted);border-radius:7px;min-width:36px;min-height:35px;cursor:pointer}
.dd-nav-toast{position:fixed;z-index:2000;bottom:20px;left:50%;transform:translateX(-50%);background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:12px 16px;box-shadow:0 10px 30px #0002;font-size:13px;max-width:min(92vw,550px)}
@media(max-width:1900px){.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link{font-size:17px!important}}
@media(max-width:1180px){.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link{font-size:15px!important;gap:5px!important}.site-header.dd-nav-ready nav.dd-main-nav .dd-nav-icon{height:16px;width:16px}}
@media(max-width:700px){
 .site-header.dd-nav-ready nav.dd-main-nav{display:flex!important;align-items:center;overflow-x:auto!important;overflow-y:hidden!important;gap:4px!important;width:100%;padding-bottom:3px!important}
 .site-header.dd-nav-ready nav.dd-main-nav .dd-top-link{flex:0 0 auto;font-size:13px!important;padding:8px 8px!important;gap:5px!important}
 .site-header.dd-nav-ready nav.dd-main-nav .dd-nav-icon{width:15px;height:15px}
 .site-header.dd-nav-ready .dd-nav-menu{left:0;right:0;padding:12px;max-height:65dvh}
 .dd-nav-menu .dd-nav-rail{width:100%;margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .dd-nav-menu .dd-nav-placeholder{display:none}
 .dd-nav-menu .dd-nav-col{padding:0 9px;text-align:left;gap:3px}
 .dd-nav-menu .dd-nav-col:first-child{grid-column:auto}
 .dd-nav-menu .dd-nav-heading{display:block;font-weight:850;font-size:13px;color:var(--text);margin:0 0 4px;padding:1px}
 .dd-nav-menu .dd-nav-col a{font-size:13px;padding:7px 2px}
 .dd-mobile-toggle{display:block;flex:0 0 auto;position:sticky;left:0;z-index:1}
}
@media(max-width:350px){.dd-nav-menu .dd-nav-rail{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.site-header.dd-nav-ready .dd-top-link,.site-header.dd-nav-ready .dd-top-link::after{transition:none}}

/* Navigation theme-switch stability (2026-10-30):
   One shared header typography context for the website, Jobs and Player Tools.
   Only colours/backgrounds change with data-theme; font metrics and button
   content-box dimensions must remain invariant across the two theme labels. */
.site-header.dd-nav-ready{
  font-family:"Noto Sans TC",system-ui,sans-serif;
  line-height:1.7;
}
.site-header.dd-nav-ready .theme-toggle{
  white-space:nowrap;
}
.site-header.dd-nav-ready .theme-toggle #themeIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  inline-size:1em;
  min-inline-size:1em;
  flex:0 0 1em;
  line-height:inherit;
}
.site-header.dd-nav-ready .theme-toggle #themeLabel{
  display:inline-block;
  inline-size:4em;
  flex:0 0 4em;
  text-align:center;
  white-space:nowrap;
  line-height:1.7;
}

/* Dropdown only: reduce page-content bleed-through without changing the header or its geometry. */
:root[data-theme="light"] .site-header.dd-nav-ready .dd-nav-menu{background:rgba(244,247,250,.98)}

/* V3.7: Mobile scroller must never paint nav links over the pinned menu button.
   This is the shared rule for Home, Jobs, Legion and Itempedia. */
@media(max-width:700px){
 .site-header.dd-nav-ready nav.dd-main-nav .dd-mobile-toggle{
   position:sticky;left:0;z-index:40;flex-shrink:0;isolation:isolate;
   background:#f4f8fb;
   box-shadow:5px 0 12px -7px rgba(8,29,47,.42);
 }
 .site-header.dd-nav-ready nav.dd-main-nav .dd-top-link{z-index:0}
}

/* Fully opaque backing prevents scrolling menu labels showing through the toggle. */
@media(max-width:700px){
 :root[data-theme="dark"] .site-header.dd-nav-ready nav.dd-main-nav .dd-mobile-toggle{background:#07111f}
 :root[data-theme="light"] .site-header.dd-nav-ready nav.dd-main-nav .dd-mobile-toggle{background:#f4f8fb}
}


/* 2026-11-05: canonical Discord header button artwork (all official pages). */
.site-header .header-actions a.btn-discord{
  align-items:center;
  justify-content:center;
  gap:7px;
  white-space:nowrap;
  background:#5865F2;
  border-color:#5865F2;
  color:#fff;
}
.site-header .header-actions a.btn-discord::before{
  content:"";
  display:block;
  flex:0 0 25px;
  inline-size:25px;
  block-size:21px;
  background:url("assets/discord-logo-white.png") center / contain no-repeat;
}
.site-header .header-actions a.btn-discord:hover{
  background:#4752C4;
  border-color:#4752C4;
  color:#fff;
}
.site-header .header-actions a.btn-discord:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
}


/* Main navigation · Option A refined (2026-11-05): icon + label move together.
   Shared by the public pages via dd-navigation.js/dd-navigation.css.
   The whole nav pair slides upward, so the symbol and text feel like one refined unit. */
.site-header.dd-nav-ready nav.dd-main-nav{--dd-nav-roll-enabled:1}
.site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-viewport{
 display:inline-flex;position:relative;overflow:hidden;max-width:100%;min-width:0;
 height:1.3em;block-size:1.3em;line-height:1.3;vertical-align:middle;align-items:flex-start;justify-content:center
}
.site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-track{
 display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
 width:max-content;max-width:100%;white-space:nowrap;line-height:1.3;
 transform:translate3d(0,0,0);will-change:transform;
 transition:transform .30s cubic-bezier(.22,.72,.28,1)
}
.site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item{
 display:flex;align-items:center;justify-content:center;gap:7px!important;
 flex:0 0 auto;height:1.3em;line-height:1.3;white-space:nowrap;min-width:0
}
.site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item .dd-nav-icon,
.site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item .dd-nav-roll-icon{
 width:18px;height:18px;flex:none;display:block;stroke:currentColor
}
.site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-label{
 display:inline-block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
@media(max-width:1180px){
 .site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item{gap:5px!important}
 .site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item .dd-nav-icon,
 .site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item .dd-nav-roll-icon{width:16px;height:16px}
}
@media(max-width:700px){
 .site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item{gap:5px!important}
 .site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item .dd-nav-icon,
 .site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-item .dd-nav-roll-icon{width:15px;height:15px}
}
@media (hover:hover) and (pointer:fine){
 .site-header.dd-nav-ready nav.dd-main-nav .dd-top-link:hover .dd-nav-roll-track{
  transform:translate3d(0,-50%,0)
 }
}
.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link:focus-visible .dd-nav-roll-track{
 transform:translate3d(0,-50%,0)
}
.site-header.dd-nav-ready nav.dd-main-nav .dd-top-link::after{
 background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 76%,transparent),transparent);
 transition:transform .30s cubic-bezier(.22,.72,.28,1),opacity .30s ease
}
@media (prefers-reduced-motion:reduce){
 .site-header.dd-nav-ready nav.dd-main-nav .dd-nav-roll-track{transition:none!important;transform:none!important}
 .site-header.dd-nav-ready nav.dd-main-nav .dd-top-link::after{transition:none!important}
}

/* 2026-11-06 · Astra submenu: keep the original 13px typography and one full line.
   On narrow desktop widths only, reserve sufficient room for player tools without
   creating overlap with Download or changing the mobile dropdown arrangement. */
.dd-nav-menu .dd-nav-col[data-dd-group="player-tools"] a[href*="ddnav=astra"]{
  font-size:13px;
  letter-spacing:normal;
  white-space:nowrap;
  overflow-wrap:normal;
  inline-size:max-content;
  max-inline-size:none;
  align-self:center;
}
@media (min-width:701px) and (max-width:980px){
  .dd-nav-menu .dd-nav-rail{
    grid-template-columns:minmax(76px,.73fr) repeat(2,minmax(0,1fr)) minmax(105px,1fr) repeat(2,minmax(0,1fr)) minmax(140px,1fr);
  }
}
@media (max-width:700px){
  .dd-nav-menu .dd-nav-col[data-dd-group="player-tools"] a[href*="ddnav=astra"]{
    inline-size:auto;
    align-self:stretch;
  }
}

/* Shared version badge: do not flash old hard-coded V282 on subpages. */
html:not(.dd-game-version-ready) .site-header .header-status > span:not(.status-dot){
  visibility:hidden!important;
}
html:not(.dd-game-version-ready) .site-header .header-status::after{
  content:'版本載入中';color:var(--muted);font:inherit;white-space:nowrap;
}


/* 2026-11-06: First-paint navigation parity.
   Raw HTML remains usable while dd-navigation.js builds the final menu.
   This reproduces only the final bar geometry, not dropdown/hover JS. */
.site-header:not(.dd-nav-ready):has(nav.dd-main-nav){
  overflow:visible;z-index:200;font-family:"Noto Sans TC",system-ui,sans-serif;line-height:1.7;
}
.site-header:not(.dd-nav-ready) nav.dd-main-nav{
  display:grid!important;
  grid-template-columns:minmax(76px,.73fr) repeat(6,minmax(0,1fr));
  gap:0!important;align-items:center;min-width:0;flex:1;
  overflow:visible!important;padding:0!important;scrollbar-width:none;
}
.site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-top-link{
  position:relative;min-width:0;display:flex;align-items:center;justify-content:center;
  gap:7px!important;padding:10px 3px!important;color:var(--muted);
  font-size:17px!important;font-weight:800;line-height:1.3;
  border:1px solid transparent;border-radius:10px;white-space:nowrap;
  background:transparent;transform:none!important;box-shadow:none;
}
.site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-nav-icon{
  width:18px;height:18px;flex:none;display:block;stroke:currentColor;
}
.site-header:not(.dd-nav-ready) .brand span,
.site-header:not(.dd-nav-ready) .header-status,
.site-header:not(.dd-nav-ready) .theme-toggle span:last-child{
  color:var(--muted)!important;font-weight:750!important;
}
.site-header:not(.dd-nav-ready) .theme-toggle{white-space:nowrap}
.site-header:not(.dd-nav-ready) .theme-toggle #themeIcon{
  display:inline-flex;align-items:center;justify-content:center;
  inline-size:1em;min-inline-size:1em;flex:0 0 1em;line-height:inherit;
}
.site-header:not(.dd-nav-ready) .theme-toggle #themeLabel{
  display:inline-block;inline-size:4em;flex:0 0 4em;text-align:center;
  white-space:nowrap;line-height:1.7;
}
@media(max-width:1180px){
  .site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-top-link{font-size:15px!important;gap:5px!important}
  .site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-nav-icon{width:16px;height:16px}
}
@media(max-width:700px){
  .site-header:not(.dd-nav-ready) nav.dd-main-nav{
    display:flex!important;align-items:center;overflow-x:auto!important;
    overflow-y:hidden!important;gap:4px!important;width:100%;padding-bottom:3px!important;
  }
  .site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-top-link{
    flex:0 0 auto;font-size:13px!important;padding:8px 8px!important;gap:5px!important;
  }
  .site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-nav-icon{width:15px;height:15px}
  .site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-mobile-toggle{
    position:sticky;left:0;z-index:40;flex-shrink:0;isolation:isolate;
    box-shadow:5px 0 12px -7px rgba(8,29,47,.42);
  }
  :root[data-theme="dark"] .site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-mobile-toggle{background:#07111f}
  :root[data-theme="light"] .site-header:not(.dd-nav-ready) nav.dd-main-nav .dd-mobile-toggle{background:#f4f8fb}
}


/* V408: first-load version badge must not reserve invisible V282/V283 text
   AND a second loading label at the same time. Keeps the existing cloud reader. */
.site-header .header-status{
  flex:0 0 auto;
  width:max-content;
  max-width:100%;
  min-width:0;
  justify-self:end;
  align-self:center;
  justify-content:center;
  box-sizing:border-box;
  white-space:nowrap;
}
html:not(.dd-game-version-ready) .site-header .header-status > span:not(.status-dot){
  display:none!important;
}
html:not(.dd-game-version-ready) .site-header .header-status::after{
  content:"版本載入中";
  display:inline-block;
  flex:0 0 auto;
  white-space:nowrap;
}


/* V409: The published version pill reserves the SAME width before and after
   site-data resolves. No JS, placeholder or backend status text is hardcoded. */
.site-header .header-status{
  box-sizing:border-box;
  flex:0 0 156px;
  inline-size:156px;
  width:156px;
  min-inline-size:156px;
  max-inline-size:156px;
  justify-content:center;
  white-space:nowrap;
}
.site-header .header-status > span:not(.status-dot){
  min-inline-size:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
html:not(.dd-game-version-ready) .site-header .header-status::after{
  flex:none;
  white-space:nowrap;
}
/* The shared version manager's [hidden] state still wins when the admin
   disables the badge; do not reserve space for a deliberately hidden badge. */
.site-header .header-status[hidden]{display:none!important}


/* V410: header action rhythm + fixed badge spacing.
   Keep the published version chip visually grouped with the right-side actions,
   while reserving a stable width so V283 / 載入中 never nudges the layout. */
.site-header .header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.site-header .header-status{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-inline-start:16px;
  margin-inline-end:12px;
  padding-inline:16px;
  flex:0 0 168px;
  inline-size:168px;
  width:168px;
  min-inline-size:168px;
  max-inline-size:168px;
}
.site-header .status-dot{
  position:relative;
  display:inline-block;
  inline-size:8px;
  block-size:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#56d67f;
  box-shadow:0 0 0 0 rgba(86,214,127,.28);
  animation:dd-status-breathe 2.2s ease-in-out infinite;
}
.site-header .status-dot::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:inherit;
  border:1px solid rgba(86,214,127,.26);
  opacity:.0;
  animation:dd-status-ring 2.2s ease-in-out infinite;
}
@keyframes dd-status-breathe{
  0%,100%{transform:scale(.96);box-shadow:0 0 0 0 rgba(86,214,127,.22)}
  40%{transform:scale(1);box-shadow:0 0 0 6px rgba(86,214,127,.10)}
  60%{transform:scale(1.08);box-shadow:0 0 0 8px rgba(86,214,127,.04)}
}
@keyframes dd-status-ring{
  0%,100%{opacity:0;transform:scale(.82)}
  45%{opacity:.65;transform:scale(1)}
  70%{opacity:0;transform:scale(1.18)}
}
@media(max-width:1180px){
  .site-header .header-actions{gap:10px}
  .site-header .header-status{margin-inline-start:12px;margin-inline-end:10px;flex-basis:164px;inline-size:164px;width:164px;min-inline-size:164px;max-inline-size:164px}
}
@media(max-width:700px){
  .site-header .header-actions{gap:8px}
  .site-header .header-status{margin-inline-start:8px;margin-inline-end:8px;padding-inline:14px;flex-basis:160px;inline-size:160px;width:160px;min-inline-size:160px;max-inline-size:160px}
}
@media(prefers-reduced-motion:reduce){
  .site-header .status-dot,.site-header .status-dot::after{animation:none!important}
}


/* V411: actual visible spacing. The shared header has 24px gap between
   siblings; V410 added a positive right margin, resulting in a 36px space
   after the badge while the action buttons had only 12px between them.
   Compensate for the header gap without changing badge width or action layout. */
.site-header .header-status:not([hidden]){
  margin-inline-end:-12px;
}
/* The main header changes from flex (24px gap) to a four-column grid
   (14px gap) below 1660px, so it needs its own compensation. */
@media (max-width:1660px){
  .site-header .header-status:not([hidden]){margin-inline-end:-2px}
}

/* Restore the original tablet/mobile contract: version status is hidden at
   narrow widths. The new high-specificity badge rule must not override it. */
@media(max-width:1180px){
  .site-header .header-status{display:none!important}
}


/* V20: Use the actual HOME V18/V19 transparent-logo animation on standalone pages.
   HOME keeps its own approved dd18/dd19 classes and is not changed. */
.site-header .brand.dd-shared-brand{
  position:relative;
  isolation:isolate;
  overflow:visible;
}
.site-header .brand.dd-shared-brand img{
  position:relative;
  z-index:1;
  width:132px;
  height:58px;
  max-width:none;
  object-fit:contain;
  border-radius:0;
  animation:none;
  filter:none;
  transition:transform .36s cubic-bezier(.2,1.4,.23,1),filter .3s ease;
  transform-origin:50% 54%;
}
/* Exact V19 HOME glint rhythm: one transparent-pixel-masked sweep / 8.6 sec. */
.site-header .brand.dd-shared-brand::before{
  content:"";
  position:absolute;
  z-index:2;
  pointer-events:none;
  left:0;top:50%;
  width:132px;height:58px;
  border-radius:0;
  transform:translateY(-50%);
  -webkit-mask-image:url("assets/logo1-header.png");
  mask-image:url("assets/logo1-header.png");
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  background:linear-gradient(105deg,transparent 31%,rgba(255,255,255,.06) 40%,rgba(255,255,233,.93) 49%,rgba(255,255,255,.15) 55%,transparent 70%);
  background-size:320% 100%;
  background-position:100% 0;
  mix-blend-mode:screen;
  animation:dd-shared-logo-glint 8.6s linear infinite;
}
.site-header .brand.dd-shared-brand::after{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  left:66px;top:50%;
  width:132px;height:58px;
  border:1px solid rgba(253,220,127,.60);
  border-radius:50%;
  background:none;
  opacity:0;
  transform:translate(-50%,-50%) scale(.65);
  animation:none;
  transition:opacity .2s ease;
}
.site-header .brand.dd-shared-brand:hover img,
.site-header .brand.dd-shared-brand:focus-visible img{
  filter:drop-shadow(0 0 10px rgba(252,217,113,.35));
  transform:scale(1.035);
}
/* Keep the subtle hover border feedback the user remembers. */
.site-header .brand.dd-shared-brand:hover::after,
.site-header .brand.dd-shared-brand:focus-visible::after{opacity:.24}
.site-header .brand.dd-shared-brand.dd-shared-brand-click img{
  animation:dd-shared-logo-tap .64s cubic-bezier(.19,.94,.26,1) both;
}
.site-header .brand.dd-shared-brand.dd-shared-brand-click::after{
  animation:dd-shared-logo-ring .55s ease-out both;
}
.site-header .brand.dd-shared-brand:focus-visible{
  outline:2px solid #f6d084;
  outline-offset:3px;
  border-radius:7px;
}
@keyframes dd-shared-logo-glint{
  0%,64%,100%{opacity:0;background-position:100% 0}
  66%{opacity:0}
  70%{opacity:.92}
  84%{opacity:0;background-position:0 0}
}
@keyframes dd-shared-logo-tap{
  0%,100%{transform:none;filter:none}
  25%{transform:scale(.94) rotate(-2deg);filter:brightness(1.08)}
  62%{transform:scale(1.055) rotate(1.6deg);filter:brightness(1.22) drop-shadow(0 0 7px rgba(254,223,125,.38))}
}
@keyframes dd-shared-logo-ring{
  0%{opacity:.8;transform:translate(-50%,-50%) scale(.64)}
  100%{opacity:0;transform:translate(-50%,-50%) scale(1.75)}
}
@media(max-width:680px){
  .site-header .brand.dd-shared-brand img{width:105px;height:48px}
  .site-header .brand.dd-shared-brand::before{width:105px;height:48px}
  .site-header .brand.dd-shared-brand::after{left:52px;width:105px;height:48px}
}
@media(prefers-reduced-motion:reduce){
  .site-header .brand.dd-shared-brand::before,
  .site-header .brand.dd-shared-brand.dd-shared-brand-click img,
  .site-header .brand.dd-shared-brand.dd-shared-brand-click::after{animation:none!important}
  .site-header .brand.dd-shared-brand::before{opacity:0!important}
}
