#goldSilver{position:relative!important}#tc-royal-audio{display:inline-flex!important;align-items:center;justify-content:center;position:relative;vertical-align:middle;margin:0 4px!important;padding:2px!important;width:34px;height:32px;min-width:34px;border:1px solid #bc914a;border-radius:7px;background:linear-gradient(#47321d,#21170f);color:#e8bd59;font-size:21px;cursor:pointer;z-index:6;box-shadow:inset 0 0 5px #c68a4555}#tc-royal-audio[aria-pressed=false]{opacity:.65}#tc-royal-panel{position:fixed;z-index:2147480000;top:75px;right:12px;width:230px;max-width:calc(100vw - 30px);background:#2b2118;color:#f6d99d;border:2px solid #bd924d;border-radius:9px;box-shadow:0 8px 25px #000a;padding:13px;direction:rtl;text-align:right;font-size:15px}#tc-royal-panel strong{display:block;margin-bottom:10px}#tc-royal-panel label{display:block;margin:10px 0}#tc-royal-panel input[type=range]{display:block;width:100%;accent-color:#c89e4b}#tc-royal-panel button{background:#b9904b;color:#17130e;border:0;border-radius:5px;padding:7px 10px;font-weight:bold;cursor:pointer}
#tc-royal-audio img{width:25px;height:25px;display:block;pointer-events:none}#tc-royal-audio[aria-pressed=false] img{filter:grayscale(1);opacity:.55}

#tc-royal-audio img{display:block;width:24px;height:24px;object-fit:contain}#tc-royal-audio[aria-pressed="false"] img{filter:grayscale(1);opacity:.55}

.tc-royal-report-preview{margin:5px;padding:5px 10px;border:1px solid #b3904d;border-radius:5px;background:#31291b;color:#f3d79e;cursor:pointer;font-weight:600}

/* Compact mobile controls share the real mobile currency region, not desktop #goldSilver. */
@media screen and (max-width:767.99px) and (orientation:portrait) {
 ul#stockBar #stockBarGoldSilverMobile { overflow: visible !important; }
 ul#stockBar #stockBarGoldSilverMobile #tc-mobile-top-actions {
  position:absolute !important; top:5px !important;left:2px !important; width:52px !important;
  height:44px !important;display:flex !important;align-items:center !important;
  justify-content:center !important;gap:1px !important;z-index:100 !important;
  pointer-events:auto !important;direction:ltr !important;
 }
 #tc-mobile-top-actions #tc-mobile-audio,
 #tc-mobile-top-actions #tc-mobile-settings {
  box-sizing:border-box !important;display:flex !important;position:relative !important;
  align-items:center !important;justify-content:center !important;
  width:25px !important;height:28px !important;min-width:25px !important;
  padding:1px !important;margin:0 !important;border:1px solid #c4a25e !important;
  border-radius:5px !important;background:linear-gradient(#50371e,#23190f) !important;
  color:#edc875 !important;opacity:1 !important;visibility:visible !important;
  text-decoration:none !important;cursor:pointer !important;touch-action:manipulation !important;
 }
 #tc-mobile-top-actions img,#tc-mobile-top-actions svg {
  display:block !important;width:21px !important;height:21px !important;
  max-width:21px !important;max-height:21px !important;opacity:1 !important;
  filter:none !important;pointer-events:none !important;
 }
 #tc-mobile-audio[aria-pressed=false] img {opacity:.4 !important;filter:grayscale(1) !important}
 body.tc-viewport-hud-pinned > ul#stockBar {
  position:fixed !important;top:var(--tc-vv-top,0px) !important;
  left:var(--tc-vv-center-x,50%) !important;right:auto !important;
  margin:0 !important;
  transform-origin:top left !important;
  transform:scale(var(--tc-vv-hud-scale,1)) translateX(-50%) !important;
  z-index:2147481000 !important;will-change:transform !important;
 }
 body.tc-viewport-hud-pinned > div#header {
  position:fixed !important;top:auto !important;
  bottom:var(--tc-vv-bottom,0px) !important;
  left:var(--tc-vv-center-x,50%) !important;right:auto !important;
  margin:0 !important;transform-origin:bottom left !important;
  transform:scale(var(--tc-vv-hud-scale,1)) translateX(-50%) !important;
  z-index:2147480800 !important;will-change:transform !important;
 }
 body.tc-viewport-hud-pinned > div#tc-royal-panel {
  top:calc(var(--tc-vv-top,0px) + 56px) !important;
  right:auto !important;left:calc(var(--tc-vv-center-x,50%) - 115px) !important;
 }
}

@media screen and (max-width:767.99px) and (orientation:portrait) {
ul#stockBar #stockBarGoldSilverMobile #tc-mobile-top-actions #tc-mobile-settings {
 width:25px !important;height:28px !important;min-width:25px !important;flex:0 0 25px !important;
}
}

/* TS1: construction queue floats above the pinned bottom navigation. */
@media screen and (max-width:768px) and (orientation:portrait){
 body.village1 > #tgMobileBuildingList, body.village2 > #tgMobileBuildingList {
  display:block!important;position:fixed!important;z-index:2147480900!important;
  bottom:92px!important;top:auto!important;left:50%!important;
  pointer-events:auto!important;visibility:visible!important;
 }
}

/* TS1 mobile queue readability: real full-size card, readable countdown on both villages. */
@media screen and (max-width:768px) and (orientation:portrait) {
 body.village1 #tgMobileBuildingList,body.village2 #tgMobileBuildingList {
  width:min(94vw,410px)!important;min-width:0!important;max-width:min(94vw,410px)!important;
  transform:translate3d(-50%,0,0) scale(1)!important;transform-origin:center bottom!important;
  bottom:92px!important;z-index:2147480900!important;
 }
 body.village1 #tgMobileBuildingList > .boxes-contents.cf,
 body.village2 #tgMobileBuildingList > .boxes-contents.cf {
  padding:35px 10px 9px!important;max-height:min(38vh,245px)!important;overflow-y:auto!important;
 }
 body.village1 #tgMobileBuildingList .tg-buildlist-header,
 body.village2 #tgMobileBuildingList .tg-buildlist-header {height:29px!important;top:5px!important;}
 body.village1 #tgMobileBuildingList h5,body.village2 #tgMobileBuildingList h5 {
  font-size:16px!important;line-height:22px!important;
 }
 body.village1 #tgMobileBuildingList .finishNow button,
 body.village2 #tgMobileBuildingList .finishNow button {min-height:27px!important;}
 body.village1 #tgMobileBuildingList .finishNow .button-content,
 body.village2 #tgMobileBuildingList .finishNow .button-content {font-size:13px!important;}
 body.village1 #tgMobileBuildingList ul.tg-build-job-normal,
 body.village2 #tgMobileBuildingList ul.tg-build-job-normal {padding:7px 6px!important;margin-bottom:5px!important;}
 body.village1 #tgMobileBuildingList ul.tg-build-job li,
 body.village2 #tgMobileBuildingList ul.tg-build-job li {
  grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'name' 'duration'!important;
  row-gap:5px!important;min-height:44px!important;padding:0 24px 0 4px!important;
 }
 body.village1 #tgMobileBuildingList .tg-build-job-name,
 body.village2 #tgMobileBuildingList .tg-build-job-name {
  font-size:15px!important;line-height:1.4!important;font-weight:700!important;
  white-space:normal!important;overflow:visible!important;
 }
 body.village1 #tgMobileBuildingList .tg-build-job-name .lvl,
 body.village2 #tgMobileBuildingList .tg-build-job-name .lvl {font-size:14px!important;}
 body.village1 #tgMobileBuildingList .tg-build-job-duration,
 body.village2 #tgMobileBuildingList .tg-build-job-duration {
  font-size:14px!important;line-height:1.35!important;text-align:right!important;
  white-space:normal!important;color:#3e342b!important;
 }
 body.village1 #tgMobileBuildingList .tg-build-job-duration .timer,
 body.village2 #tgMobileBuildingList .tg-build-job-duration .timer {
  font-size:16px!important;font-weight:800!important;color:#7d3116!important;
 }
 body.village1 #tgMobileBuildingList .tg-build-job-cancel,
 body.village2 #tgMobileBuildingList .tg-build-job-cancel,
 body.village1 #tgMobileBuildingList .tg-build-job-cancel img.del,
 body.village2 #tgMobileBuildingList .tg-build-job-cancel img.del {width:20px!important;height:20px!important;}
}
