/* /put_ins/css/footer.css */
/* Readable HTML credit over the restored parchment; legal links stay below. */
#footer.site-footer {
  position:relative;
  box-sizing:border-box;
  width:850px;
  height:68px;
  min-height:68px;
  padding:0;
  border:0;
  background:url("/images/layout_bottom-clean.png") 0 0 / 850px 68px no-repeat;
}
#footer .site-footer-credit {
  position:absolute;
  top:17px;
  right:38px;
  left:38px;
  margin:0;
  color:#fff8e8;
  font:12px/16px Arial,Helvetica,sans-serif;
  text-align:center;
  text-shadow:0 1px 2px #36200e,0 0 1px #36200e;
}
#site-footer-info {
  box-sizing:border-box;
  width:850px;
  max-width:100%;
  margin:12px auto 0;
  padding:0 24px 12px;
  text-align:center;
}
#site-footer-info #site-legal-links {
  margin:0;
}

/* Keep the complete footer aligned with the existing scaled article frame. */
@media (max-width:849px) {
  body.forever-article-page #footer.site-footer {
    width:850px;
    height:68px;
    min-height:68px;
    background-size:850px 68px;
    zoom:var(--article-shell-scale);
  }
}

@media (max-width:760px) {
  body.gold-preview #footer.site-footer {
    width:100%;
    height:auto;
    min-height:68px;
    background-size:100% 100%;
  }
  body.gold-preview #footer .site-footer-credit {
    position:static;
    margin:0 5%;
    padding:18px 0 20px;
    font-size:11px;
    line-height:15px;
  }
}


/* /put_ins/css/forever-menu.css */
/* Forever navigation: four categories and Gold Guide above five farm links. */
#menu>.forever-menu-primary{display:flex;justify-content:space-between;align-items:center;width:700px;max-width:calc(100% - 16px);margin-left:auto;margin-right:auto;font-size:12px;}
#menu>.forever-menu-primary>li{position:relative;display:inline-block;flex:0 0 auto;min-width:0;margin:0;padding:0!important;background-image:none;text-align:center;}
#menu .forever-menu-label{display:inline-flex;align-items:center;justify-content:center;height:23px;gap:6px;padding:0 12px;}
#menu .forever-menu-arrow{display:inline-block;flex:0 0 8px;width:8px;margin-left:2px;color:#77512b;font-size:9px;text-shadow:none;}
#menu>.forever-menu-secondary{display:flex;justify-content:space-between;align-items:center;width:726px;max-width:100%;margin-left:auto;margin-right:auto;}
#menu>.forever-menu-secondary>li{position:relative;display:inline-block;flex:0 0 auto;margin:0;white-space:nowrap;}
#menu .forever-menu-secondary a{display:inline-flex;align-items:center;justify-content:center;height:21px;gap:6px;padding:0 5px;vertical-align:top;}
#menu .forever-menu-icon{display:block;flex:none;width:14px;height:14px;margin:0;border:0;background:none;overflow:visible;}
#menu .forever-menu-secondary .forever-menu-icon{width:13px;height:13px;}
#menu .forever-menu-icon--native{overflow:hidden;}
#menu .forever-menu-icon,#menu .forever-submenu-icon{filter:brightness(1.06) saturate(1.6) contrast(1.23) drop-shadow(0 .65px .25px #201107e6) drop-shadow(0 0 .8px #fff4cc) drop-shadow(0 0 .45px #fff9e6);}
#menu svg feFlood:nth-of-type(2){flood-color:#180f09;flood-opacity:1;}
#menu .forever-menu-label:hover,#menu .forever-menu-secondary a:hover{background:none;}
#menu .forever-menu-category>.forever-menu-submenu{left:50%;top:23px;width:max-content;min-width:calc(100% + 10px);margin:0;transform:translateX(-50%);font-size:12px;border:1px solid #5a3f22;box-shadow:0 5px 12px rgba(0,0,0,.55);}
#menu .forever-menu-submenu>.forever-menu-entry{position:relative;margin:0;border:0;border-top:1px solid rgba(122,85,48,.4);padding:6px 14px 6px 32px!important;line-height:15px;white-space:nowrap;background-image:none;}
#menu .forever-menu-submenu>.forever-menu-entry:first-child{border-top:0;}
#menu .forever-menu-submenu>.forever-menu-entry:hover{background-color:rgba(255,246,220,.5);}
#menu .forever-menu-entry>a{display:block;}
#menu .forever-submenu-icon{display:block;position:absolute;left:10px;top:50%;width:14px;height:14px;transform:translateY(-50%);overflow:hidden;}
#menu .forever-menu-category:hover>.forever-menu-submenu,#menu .forever-menu-category:focus-within>.forever-menu-submenu{display:block;}
#menu .forever-menu-art{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;}
#menu .is-current-section>.forever-menu-label>.forever-menu-text,#menu .forever-menu-primary a.is-current-page,#menu .forever-menu-secondary a.is-current-page{color:#990000;}
#menu .is-current-section>.forever-menu-label>.forever-menu-text,#menu .forever-menu-primary a.is-current-page>.forever-menu-text,#menu .forever-menu-secondary a.is-current-page>.forever-menu-text{text-decoration:underline;text-underline-offset:2px;}
#menu .forever-menu-entry.is-current-page{box-shadow:inset 3px 0 #990000;}
#menu .forever-menu-entry.is-current-page>a{color:#990000;}
#menu .forever-menu-category:focus-visible,#menu a:focus-visible{outline:1px dotted #62472b;outline-offset:2px;}
@media(max-width:760px){
  #menu>.forever-menu-secondary{overflow-x:auto;justify-content:flex-start;gap:12px;scrollbar-width:thin;}
}
/* Uniform flex rows avoid inline-baseline gaps in both document modes. */
@media(min-width:880px){
  #menu>.forever-menu-primary,#menu>.forever-menu-secondary{height:24px;align-items:stretch;}
  #menu>.forever-menu-primary>li,#menu>.forever-menu-secondary>li{display:flex;align-items:center;height:24px;}
  #menu .forever-menu-label,#menu .forever-menu-secondary a{display:flex;height:24px;min-height:24px;line-height:1;}
  #menu .forever-menu-category>.forever-menu-submenu{top:100%;}
  /* Centre the visible content on the light parchment, above its dark fold. */
  #menu .forever-menu-secondary a>.forever-menu-icon,
  #menu .forever-menu-secondary a>.forever-menu-text{transform:translateY(-2px);}
}

/* Same decoded texture pixels; the original remains available to Classic. */
#menu .menupoints li ul{background-image:url("/images/optimized/menu-bg-lossless-42083ff186-106.webp");}


/* /put_ins/css/feedback.css */
/* Direct email link in the established warm feedback style. */
.feedback-launcher { box-sizing:border-box; position:fixed; z-index:9000; right:18px; bottom:18px; display:flex; align-items:center; gap:8px; min-height:40px; padding:8px 13px; border:1px solid #8b6b43; border-radius:3px; box-shadow:inset 0 0 0 1px #f4db9e,0 2px 8px #0006; background:linear-gradient(#efd9aa,#d2af72); color:#593c1e; font:bold 13px/1.3 Arial,Helvetica,sans-serif; text-decoration:none; cursor:pointer; }
.feedback-launcher:link,.feedback-launcher:visited { color:#593c1e; text-decoration:none; }
.feedback-launcher > svg { display:block; flex:none; color:#765329; }
.feedback-launcher:hover { color:#593c1e; text-decoration:none; background:linear-gradient(#f8e7c1,#e1c18b); }
.feedback-launcher:focus-visible { outline:2px solid #90541f; outline-offset:3px; }
body:has(.statistics-choice:not([hidden])) .feedback-launcher { visibility:hidden; }
@media(max-width:520px) {
 .feedback-launcher { right:12px; bottom:12px; min-height:44px; padding:9px 12px; }
}


/* /put_ins/css/forever-responsive.css */
/* Forever only. The approved desktop frame, artwork and guide content stay intact. */
body.forever-responsive #footer.site-footer { background-image:var(--forever-footer-art,url("/images/layout_bottom-clean.png")); }
body.forever-responsive .forever-table-scroll { display:contents; }

@media (max-width:879px) {
  body.forever-responsive {
    --mobile-header-height:clamp(132px,18.118vw,154px);
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }
  body.forever-responsive #maincontainer { width:100%; max-width:850px; }
  body.forever-responsive #maincontainer::before {
    top:var(--mobile-header-height);
    background-size:100% auto;
  }
  body.forever-responsive #header,
  body.forever-responsive .forever-header-link {
    width:100%; height:var(--mobile-header-height); zoom:1;
  }
  body.forever-responsive .forever-header-visual { width:100%; height:100%; }
  body.forever-responsive #header .forever-header-art { inset:6px 1.65% 0; width:auto; height:auto; }
  body.forever-responsive #header .forever-official-logo {
    left:calc(50% - 58px); width:116px; height:99px;
  }
  body.forever-responsive #header .forever-site-title {
    top:auto; bottom:6px; font-size:clamp(17px,2.7vw,23px); line-height:1.2;
  }
  body.forever-responsive #menu {
    box-sizing:border-box; width:100%; height:auto; zoom:1;
    padding:8px 5% 6px; background:none;
  }
  body.forever-responsive #menu > :is(.forever-menu-primary,.forever-menu-secondary) {
    box-sizing:border-box; width:100%; max-width:100%; margin:0;
    display:flex; flex-wrap:wrap; justify-content:center; gap:0 4px;
    padding:3px 4px; border:1px solid #9d733e;
    background:#e6c58d url("/images/optimized/menu-bg-lossless-42083ff186-106.webp") center repeat;
    box-shadow:0 1px 3px #2d160b80;
    overflow:visible; font-size:12px; line-height:1.4;
  }
  body.forever-responsive #menu > .forever-menu-secondary { margin-top:4px; }
  body.forever-responsive #menu .forever-menu-label { height:auto; min-height:30px; padding:0 4px; }
  body.forever-responsive #menu .forever-menu-secondary a { height:auto; min-height:28px; padding:0 2px; }
  body.forever-responsive #menu .forever-menu-category > .forever-menu-submenu {
    display:none; top:100%; min-width:100%; max-width:calc(100vw - 40px); z-index:10;
  }
  body.forever-responsive #menu .forever-menu-category:hover > .forever-menu-submenu,
  body.forever-responsive #menu .forever-menu-category:focus-within > .forever-menu-submenu { display:block; }
  body.forever-responsive #menu .forever-menu-category:first-child > .forever-menu-submenu {
    left:0; transform:none;
  }
  body.forever-responsive #menu .forever-menu-category:last-of-type > .forever-menu-submenu {
    left:auto; right:0; transform:none;
  }
  body.forever-responsive #menu .forever-menu-entry > a { padding:4px 0; }
  body.forever-responsive #content { width:auto; margin:16px 6% 12px; }
  body.forever-responsive #einfuehrung { width:auto; min-height:0; display:flow-root; }
  body.forever-responsive .wide_content { box-sizing:border-box; min-width:0; padding-left:0; padding-right:0; }
  body.forever-responsive .titleline { margin-left:-10px; margin-right:-10px; }
  body.forever-responsive #content img { max-width:100%; }
  body.forever-responsive #content :is(input,select,textarea) { max-width:100%; }
  body.forever-responsive #links { box-sizing:border-box; width:auto; margin:0 6%; padding:12px; }
  body.forever-responsive #links label { display:block; }
  body.forever-responsive #links .linkcode { box-sizing:border-box; width:100%; max-width:100%; }
  body.forever-responsive :is(.engineering-table-scroll,.darkmoon-table-scroll,.merchant-table-scroll,.legacy-v2-table-scroll,.gold-table-wrap) {
    max-width:100%; overflow-x:auto; overscroll-behavior-x:contain;
  }
  body.forever-responsive .forever-table-scroll { display:block; overflow-x:auto; margin:12px 0; }
  body.forever-responsive .forever-table-scroll table { min-width:560px; }
  body.forever-responsive .forever-table-scroll:focus-visible { outline:2px solid #8a6a43; outline-offset:2px; }
  body.forever-responsive :is(.engineering-trainers,.engineering-skillguide-v1,.engineering-resources-v1,.engineering-camp-v1,.recipe-library-v2,.engineering-specializations-v7,.profession-specializations-v7,.mining-resources,.fishing-quest-guide) {
    max-width:100%; min-width:0;
  }
  body.forever-responsive .wide_content:has(> :is(.mining-skillguide,.mining-smelting,.mining-resources)) { width:auto; }
  body.forever-responsive :is(.engineering-skillguide-v1,.engineering-resources-v1,.recipe-library-v2) + .back_to_top {
    max-width:100%; margin-left:0; margin-right:0;
  }
  body.forever-responsive #footer.site-footer {
    width:100%; height:auto; min-height:90px; zoom:1;
    background:none; border:solid transparent; border-width:0 10px 16px;
    border-image-source:var(--forever-footer-art,url("/images/layout_bottom-clean.png"));
    border-image-slice:0 30 16 30 fill;
    border-image-width:0 10px 16px;
    border-image-repeat:stretch;
  }
  body.forever-responsive #footer .site-footer-credit {
    position:static; margin:0 6%; padding:18px 0 10px;
    font-size:11px; line-height:1.5;
  }
  body.forever-responsive #site-footer-info { width:100%; }
  body.forever-responsive .footer_note { padding:0 6%; overflow-wrap:anywhere; }
}

@media (max-width:700px) {
  body.forever-responsive :is(.thumb_container2,.thumb_container3):has(> .farm-map-thumbs) { display:flex; flex-direction:column; }
  body.forever-responsive :is(.thumb_container2,.thumb_container3):has(> .farm-map-thumbs) > * { order:2; }
  body.forever-responsive :is(.thumb_container2,.thumb_container3) > .farm-map-thumbs { order:1; margin-top:10px; margin-bottom:0; }
  body.forever-responsive :is(.thumb_container2,.thumb_container3) > .farm-map-thumbs + p { order:0; margin-bottom:0; }
  body.forever-responsive .engineering-skill-grid { grid-template-columns:minmax(0,1fr); }
  body.forever-responsive .engineering-skill-side { border-left:0; border-top:1px solid #c4a984; }
  body.forever-responsive .farm-map-thumbs {
    float:none; width:100%; margin:12px 0;
    grid-template-columns:repeat(2,minmax(0,156px)); justify-content:end; gap:8px;
  }
  body.forever-responsive .farm-map-thumbs--single { grid-template-columns:minmax(0,156px); }
  body.forever-responsive .farm-map-thumbs > a { min-width:0; }
  body.forever-responsive .farm-map-thumbs img.right { box-sizing:border-box; width:100%; height:auto; }
  body.forever-responsive .farm-guide-preview { float:none; width:fit-content; max-width:100%; margin:0 0 12px auto; }
  body.forever-responsive .mining-step-maps {
    width:100%; grid-template-columns:repeat(2,minmax(0,156px)); justify-content:end;
  }
  body.forever-responsive .gathering-route-skillguide .gathering-single-map {
    grid-template-columns:minmax(0,156px); justify-content:end;
  }
  body.forever-responsive .mining-step-map { width:100%; }
  body.forever-responsive .mining-step-map > img { box-sizing:border-box; width:100%; height:auto; }
  body.forever-responsive .mining-step-map:nth-child(3):last-child { grid-column:2; }
  body.forever-responsive .engineering-skill-info { align-items:flex-start; }
  body.forever-responsive .thumb_container4 { box-sizing:border-box; max-width:100%; }
}

@media (max-width:600px) {
  body.forever-responsive { font-size:14px; }
  body.forever-responsive #content { line-height:1.55; }
  body.forever-responsive #content h1 { display:block; font-size:19px; line-height:1.3; }
  body.forever-responsive .titleline { font-size:17px; line-height:1.4; padding-top:6px; padding-bottom:6px; background-position:0 8px; }
  body.forever-responsive :is(.home-intro,.news-archive-intro) { display:flow-root; }
  body.forever-responsive :is(.home-intro,.news-archive-intro) > img.left_mainpic,
  body.forever-responsive #einfuehrung > img.left_mainpic {
    float:left; width:120px; height:auto; margin:0 12px 8px 0;
  }
  body.forever-responsive .home-intro-text { display:contents; }
  body.forever-responsive img.right_mainpic { width:120px; height:auto; margin-left:12px; }
  body.forever-responsive .forever-article #news_text:not(.bonuses-intro) { padding-left:0; min-height:0; }
  body.forever-responsive .forever-article #news_text:not(.bonuses-intro) > img.left_mainpic {
    position:static; float:left; width:120px; height:auto; margin:0 12px 8px 0;
  }
  body.forever-responsive .home-intro .forever-news { clear:both; padding-left:20px; }
  body.forever-responsive #uebersicht { line-height:1.8; }
  body.forever-responsive #uebersicht a { display:inline-block; }
  body.forever-responsive :is(.left_box,.right_box) { max-width:100%; box-sizing:border-box; }
  body.forever-responsive :is(.left_box,.right_box),
  body.forever-responsive .wide_content > :is(.left,.right):has(> .box) {
    float:none; width:fit-content; margin:12px auto;
  }
  body.forever-responsive .wide_content > :is(.left,.right) > .box { margin:0; max-width:100%; box-sizing:border-box; }
  body.forever-responsive :is(.left_box,.right_box) img { height:auto; }
  body.forever-responsive :is(.engineering-skillguide-v1,.engineering-camp-v1,.recipe-library-v2,.profession-specializations-v7,.engineering-specializations-v7,.engineering-resources-v1) {
    font-size:13px; line-height:1.55;
  }
  body.forever-responsive .engineering-skillguide-v1 .engineering-skill-row { grid-template-columns:58px minmax(0,1fr); }
  body.forever-responsive .engineering-skillguide-v1 .engineering-skill-side { padding:12px; }
  body.forever-responsive .engineering-skillguide-v1 .engineering-skill-shopping > li { font-size:12px; }
  body.forever-responsive .engineering-trainers-v61 .trainer-intro { grid-template-columns:minmax(0,1fr) 90px; gap:12px; }
  body.forever-responsive .engineering-trainers-v61 .trainer-intro-art { width:90px; }
  body.forever-responsive .engineering-factions > div { flex-wrap:wrap; }
  body.forever-responsive .engineering-trainers .engineering-factions button { min-height:34px; padding:5px 9px; }
  body.forever-responsive .trainer-detail-content { flex-direction:column; }
  body.forever-responsive .engineering-table-scroll { container-type:inline-size; }
  body.forever-responsive .engineering-table-scroll .trainer-detail-content {
    position:sticky; left:8px; box-sizing:border-box;
    width:calc(88vw - 44px); width:calc(100cqw - 32px); max-width:100%;
  }
  body.forever-responsive .trainer-map { box-sizing:border-box; width:100%; }
  body.forever-responsive .trainer-map-info { width:100%; }
  body.forever-responsive .back_to_top { margin:22px 0; }
}

@media (max-width:370px) {
  body.forever-responsive #content { margin-left:7%; margin-right:7%; }
  body.forever-responsive .mining-step-maps,
  body.forever-responsive .farm-map-thumbs { grid-template-columns:minmax(0,156px); }
  body.forever-responsive :is(.mining-step-map,.farm-map-thumbs > a):nth-child(3):last-child { grid-column:auto; }
  body.forever-responsive .engineering-trainers-v61 .trainer-intro { grid-template-columns:minmax(0,1fr) 72px; }
  body.forever-responsive .engineering-trainers-v61 .trainer-intro-art { width:72px; }
}


/* /put_ins/css/site-accessibility.css */
/* H2 and H3 already share the original 16px styling. Keep it explicit for the
   corrected homepage link-box heading without changing paragraph spacing. */
#links .site-linkbox-heading{
  display:inline;
  font-size:16px;
  font-weight:bold;
  color:#990000;
}

/* Keep the darker prose and keyboard focus. Link colors continue to come
   from the original theme, including its orange pointer-hover state. */
#content,#links { color:#000000; }
#content :is(p:not([class]),li:not([class])) > a:not([class]):not([style]):focus-visible {
  outline:1px dotted currentColor;
  outline-offset:2px;
}


/* /put_ins/css/statistics.css */
.statistics-choice[hidden], .statistics-settings[hidden], .statistics-current[hidden] { display:none; }
.statistics-choice {
  position:fixed; z-index:10000; left:50%; bottom:18px; transform:translateX(-50%);
  box-sizing:border-box; width:calc(100% - 28px); max-width:720px; max-height:calc(100vh - 36px); overflow:auto;
  padding:16px 20px; border:3px double #775b37; background:#ecddbe;
  box-shadow:0 4px 24px #0009; color:#30261a; font:13px/1.5 Arial,Helvetica,sans-serif; text-align:left;
}
.statistics-choice h2 { margin:0 0 8px; color:#4d331b; font:bold 19px/1.25 Georgia,'Times New Roman',serif; }
.statistics-choice p { margin:0 0 12px; }
.statistics-choice a { color:#673f19; text-decoration:underline; }
.statistics-actions { display:flex; flex-wrap:wrap; gap:10px; }
.statistics-actions button {
  flex:1 1 180px; min-height:40px; padding:8px 14px; cursor:pointer;
  border:1px solid #826440; border-radius:0; background:#f7edda; color:#382919;
  font:bold 13px/1.35 Arial,Helvetica,sans-serif; text-align:center;
}
.statistics-actions button:hover { background:#e1cba3; }
.statistics-choice :focus-visible, .statistics-settings:focus-visible { outline:2px solid #673f19; outline-offset:3px; }
.statistics-current { font-size:12px; }
.statistics-settings {
  display:block; margin:0 auto; padding:4px 6px; border:0; background:transparent;
  color:#f1d7a3; cursor:pointer; text-decoration:underline; font:12px/1.4 Arial,Helvetica,sans-serif;
}
.statistics-footer { margin:8px 0; text-align:center; }
@media(max-width:480px) {
  .statistics-choice { bottom:10px; padding:13px 14px; }
  .statistics-actions { gap:8px; }
}

