/* v27 functional workbench. Loaded after scene-workbench-v26.css.
 * Only the functional desk is styled; outer 1560 x 720 shell is untouched.
 * App-local coordinates: stage 170/95/660/330; tools 300/342/310/82;
 * quest 18/435/700/66; management 0/515/1070.16/121.48.
 * Game/adapter JS owns availability, counts, task completion and tool anchors.
 */

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] {
  --bench-ink: #446e5d;
  --bench-muted: #788364;
  --bench-paper: #fffbdc;
  --bench-green: #80b975;
  --bench-line: #b7c79b;
  --bench-gold: #ddbf6d;
  --manager-tone: #483a31;
  --manager-paper: #f5efdf;
  --manager-ink: #665946;
}

/* JS supplies the current region scene; the existing counter is the fallback. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-workshop {
  left: 0 !important;
  top: 0 !important;
  width: 1070.16px !important;
  height: 636.48px !important;
  background-image: var(--bench-scene-image,url("./assets/workshop-v27/counter-base-v27.webp")) !important;
  background-position: center !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app :is(#scene-growthbar,#desk-mission,#scene-window-locked,#desk-unlock-toast) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #stage.stage {
  left: 170px !important;
  top: 95px !important;
  width: 660px !important;
  height: 330px !important;
  overflow: visible !important;
  z-index: 8;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #stage.stage :is(canvas,#cutline) {
  background: transparent !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #stage.stage #hint {
  left: 70px !important;
  right: 70px !important;
  top: 0 !important;
  bottom: auto !important;
  width: auto !important;
  max-width: none !important;
  min-height: 24px !important;
  padding: 3px 9px !important;
  font: 14px/20px var(--fish-native-body) !important;
  pointer-events: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #stage :is(#ws-window-feedback,#desk-stage-hint) {
  left: 65px !important;
  right: 65px !important;
  top: 0 !important;
  width: auto !important;
  max-height: 54px;
  min-height: 30px !important;
  padding: 4px 10px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  pointer-events: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note {
  left: 280px !important;
  top: 16px !important;
  width: 390px !important;
  height: 65px !important;
  min-height: 65px !important;
  gap: 1px !important;
  padding: 5px 12px !important;
  border-color: #c2cda4 !important;
  background: #fffbdcf2 !important;
  z-index: 35;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > b {
  max-width: 100%;
  overflow: hidden;
  font-size: 21px !important;
  line-height: 25px !important;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > small {
  overflow: hidden;
  font-size: 13px !important;
  line-height: 18px !important;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > span {
  position: absolute;
  right: 10px;
  bottom: 4px;
  color: #8b8b64;
  font: 11px/14px var(--fish-native-body);
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-npc {
  left: 855px !important;
  top: 20px !important;
  width: 200px !important;
  height: 270px !important;
  z-index: 29;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-npc .scene-bubble {
  left: 3px !important;
  right: 3px !important;
  min-height: 37px !important;
  padding: 5px 8px !important;
  font-size: 16px !important;
  line-height: 22px !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #fc-stage-controls {
  left: 174px !important;
  top: 237px !important;
  width: 652px !important;
  height: 42px !important;
  z-index: 26;
}

/* Old tool nodes remain in the DOM for the native-action proxies. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #inspection-toolbar :is([data-inspect-tool],[data-workspace-tool]):not([data-inspect-tool="rotate"]) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #flashlight {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* The original mode switch remains a proxy; the visible control names its action. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #inspection-toolbar [data-inspect-tool="rotate"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-rotate {
  position: absolute !important;
  left: 172px !important;
  top: 365px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 46;
  display: grid !important;
  grid-template-columns: 24px minmax(0,1fr);
  grid-template-rows: 24px 17px;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 4px;
  width: 118px !important;
  height: 56px !important;
  min-width: 118px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 6px 5px !important;
  box-sizing: border-box;
  border: 1px solid #bac8a2 !important;
  border-radius: 12px !important;
  background: #fffbdcf5 !important;
  color: #587d61 !important;
  box-shadow: inset 0 0 0 2px #fffef1, 0 3px 0 #6c86595c !important;
  font: 17px/24px var(--fish-native-display) !important;
  text-align: center;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  cursor: pointer;
  touch-action: manipulation;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-rotate > i {
  grid-column: 1;
  grid-row: 1;
  font: normal 26px/24px Arial,sans-serif;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-rotate > span {
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-rotate > small {
  grid-column: 1 / 3;
  grid-row: 2;
  color: #7d8466;
  font: 10px/17px var(--fish-native-body);
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-rotate::before,
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-rotate::after {
  content: none !important;
  display: none !important;
}

/* Foreground tools are small selectors, never decorative scene machinery. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack {
  position: absolute;
  left: 300px;
  top: 342px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 310px;
  height: 82px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool) {
  position: relative;
  isolation: isolate;
  flex: 0 0 144px;
  display: grid !important;
  grid-template-columns: 72px minmax(0,1fr);
  grid-template-rows: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  justify-content: center;
  gap: 2px 0;
  width: 144px !important;
  height: 78px !important;
  min-height: 78px !important;
  margin: 0 !important;
  padding: 3px 5px 4px !important;
  box-sizing: border-box;
  border: 1px solid #d0d4af !important;
  border-radius: 12px !important;
  color: #52745e !important;
  background: #fffbdce8 !important;
  box-shadow: inset 0 0 0 2px #fffef1, 0 3px 0 #5b75564d !important;
  font: 15px/20px var(--fish-native-display) !important;
  text-align: center;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool)::before,
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool)::after {
  content: none !important;
  display: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool) > img {
  position: absolute;
  left: -5px;
  top: -9px;
  display: block;
  width: 94px;
  height: 94px;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 2px 1px #3e514344);
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack [data-bench-tool="window"] > img {
  left: -10px;
  top: -13px;
  width: 104px;
  height: 104px;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool) > :is(span,b) {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  display: block;
  max-width: 100%;
  max-height: 36px;
  overflow: hidden;
  color: inherit;
  font: 14px/18px var(--fish-native-display);
  font-weight: 400;
  text-overflow: ellipsis;
  text-align: left;
  white-space: normal;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool) > small {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  display: block;
  max-width: 100%;
  max-height: 26px;
  overflow: hidden;
  color: #7f8869;
  font: 10px/13px var(--fish-native-body);
  text-overflow: ellipsis;
  text-align: left;
  white-space: normal;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool):is([aria-pressed="true"],.is-selected,[data-selected="true"]) {
  border-color: #d7b65d !important;
  color: #5c7854 !important;
  background-color: #fff3c1 !important;
  box-shadow: inset 0 0 0 2px #fffde5, 0 3px 0 #9b895251, 0 0 11px #f1d26d85 !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool):is(:disabled,[aria-disabled="true"],[data-locked="true"],.is-locked) {
  border-color: #bfc9ac !important;
  color: #838970 !important;
  background: #ecefdace !important;
  box-shadow: inset 0 0 0 1px #f8f8e4, 0 2px 0 #7783674d !important;
  cursor: default;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool):is(:disabled,[aria-disabled="true"],[data-locked="true"],.is-locked) > img {
  opacity: .48;
  filter: grayscale(.65);
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack .bench-tool-lock {
  position: absolute;
  left: 60px;
  right: auto;
  top: 3px;
  display: none;
  width: 17px;
  height: 20px;
  background: url("./assets/workshop-v26/native-lock.png") center/contain no-repeat;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack [data-locked="true"] .bench-tool-lock {
  display: block;
}

/* The compact card is a functional chooser/disposition entry, not a baked tray. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-tray {
  position: absolute !important;
  isolation: isolate;
  left: 805px !important;
  top: 315px !important;
  width: 225px !important;
  height: 100px !important;
  min-height: 100px !important;
  padding: 8px 12px !important;
  border: 1px solid #bbc99f !important;
  border-radius: 13px !important;
  color: #4f785f !important;
  background: #fffbdcef !important;
  box-shadow: inset 0 0 0 2px #fffef0, 0 3px 0 #6984615c !important;
  z-index: 38;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-tray .scene-tray-label {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: inherit;
  font: 19px/26px var(--fish-native-display) !important;
  text-align: center;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-tray .scene-tray-lock {
  left: 96px !important;
  top: 8px !important;
  width: 29px !important;
  height: 34px !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-tray[data-locked="true"] {
  color: #858a6f !important;
  background: #edf0dce8 !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-tray[data-locked="true"] .scene-tray-label {
  padding-top: 29px !important;
  font-size: 15px !important;
  line-height: 21px !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-pieces {
  left: 805px !important;
  top: 292px !important;
  z-index: 39;
  width: 225px !important;
  max-width: 225px !important;
  height: 22px;
  min-height: 22px !important;
  gap: 4px !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-pieces .scene-piece-chip {
  min-height: 21px !important;
  padding: 0 6px !important;
  font-size: 11px !important;
  line-height: 19px !important;
}

/* Desk-edge quest: real completion requires an explicit claim/advance. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest {
  position: absolute;
  isolation: isolate;
  left: 18px;
  top: 435px;
  z-index: 48;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  grid-template-rows: 22px 16px 6px;
  align-items: center;
  gap: 2px 8px;
  width: 350px;
  height: 66px;
  min-height: 66px;
  margin: 0;
  padding: 7px 10px;
  box-sizing: border-box;
  overflow: visible;
  border: 2px solid #dfbf70 !important;
  border-radius: 14px !important;
  color: #57724e !important;
  background: #fff9d9 !important;
  box-shadow: inset 0 0 0 2px #fffdec, 0 3px 0 #8873496b, 0 0 13px #f4d57552 !important;
  font-family: var(--fish-native-body);
  text-align: left;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  cursor: pointer;
  touch-action: manipulation;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest::before {
  content: "" !important;
  position: absolute;
  inset: -1px;
  z-index: -1;
  display: block !important;
  box-sizing: border-box;
  border: 12px solid transparent !important;
  border-image: url("./assets/fishing-v10/panel-inner.png") 24 fill stretch !important;
  border-radius: 12px;
  background: none !important;
  opacity: .52;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest::after {
  content: none !important;
  display: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest .bq-icon {
  grid-column: 1;
  grid-row: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid #fff7da;
  border-radius: 50%;
  background: #e39556;
  box-shadow: 0 0 0 1px #c7a15b, inset 0 1px 0 #ffdca5;
  color: #fffbd9;
  font: 24px/30px var(--fish-native-display);
  font-style: normal;
  text-shadow: 0 1px 0 #997345;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest .bq-title {
  grid-column: 2;
  grid-row: 1;
  display: block;
  min-width: 0;
  overflow: visible;
  margin: 0;
  color: #54764e;
  font: 18px/22px var(--fish-native-display);
  font-weight: 400;
  text-overflow: clip;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest .bq-text {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest .bq-description {
  grid-column: 2;
  grid-row: 2;
  display: block;
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
  padding-right: 84px;
  margin: 0;
  color: #858368;
  font: 12px/16px var(--fish-native-body);
  text-overflow: clip;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest .bq-progress {
  position: absolute;
  right: 10px;
  top: 32px;
  display: block;
  max-width: 82px;
  margin: 0;
  color: #8d7d48;
  font: 13px/16px var(--fish-native-display);
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest .bq-meter {
  grid-column: 2;
  grid-row: 3;
  position: relative;
  display: block;
  width: 100%;
  height: 6px;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #b5c091;
  border-radius: 5px;
  background: #d8debc;
  box-shadow: inset 0 1px 1px #687b4733;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest .bq-meter > :is(i,span) {
  display: block;
  width: 0;
  max-width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #9cc77d;
  box-shadow: inset 0 1px 0 #e4f3b5;
  transition: width .24s ease;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest:is(.is-done,[data-done="true"],[data-state="done"]) {
  border-color: #94bf75 !important;
  color: #447546 !important;
  background: #eff9d2 !important;
  box-shadow: inset 0 0 0 2px #ffffe7, 0 3px 0 #5f874a75, 0 0 17px #bfe38095 !important;
  animation: bench-quest-ready 1.8s ease-in-out infinite;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest:is(.is-done,[data-done="true"],[data-state="done"]) .bq-icon {
  color: #fffde1;
  background: #83b36c;
  box-shadow: 0 0 0 1px #7e9f60, inset 0 1px 0 #d4eaaa;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest:is(.is-done,[data-done="true"],[data-state="done"]) .bq-progress {
  color: #58834d;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest:is(:disabled,[aria-disabled="true"]) {
  cursor: default;
  animation: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest[data-state="skipped"] {
  border-color: #c7b18a !important;
  box-shadow: inset 0 0 0 2px #fffdec, 0 3px 0 #88734950 !important;
  animation: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest[data-state="end"] {
  border-color: #9ab88a !important;
  background-color: #f0f5d8 !important;
  animation: none;
}

/* Next-feature entry sits apart from both the quest and the long-term upgrade. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business {
  position: absolute;
  left: 940px;
  top: 423px;
  z-index: 49;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100px;
  height: 75px;
  min-height: 75px;
  margin: 0;
  padding: 0 3px;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 10px !important;
  color: #597459 !important;
  background: none !important;
  box-shadow: none !important;
  font: 18px/23px var(--fish-native-display) !important;
  text-align: center;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  cursor: pointer;
  touch-action: manipulation;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business::before {
  content: "" !important;
  position: absolute;
  left: 22px;
  top: 0;
  z-index: -1;
  display: block !important;
  width: 56px;
  height: 49px;
  border: 0 !important;
  background: url("./assets/fishing-v10/icon-book.png") center/contain no-repeat !important;
  box-shadow: none !important;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business::after {
  content: none !important;
  display: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business > img {
  display: block;
  width: 56px;
  height: 49px;
  margin: 0;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business > :is(span,b):not(.bench-business-state):not(.bench-business-dot) {
  display: block;
  width: 100%;
  margin-top: 47px;
  color: inherit;
  font: 17px/23px var(--fish-native-display);
  font-weight: 400;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business:has(> img) > :is(span,b):not(.bench-business-state):not(.bench-business-dot) {
  margin-top: 0;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business .bench-business-state {
  position: absolute;
  right: 82px;
  top: 12px;
  display: block;
  width: max-content;
  max-width: 183px;
  padding: 4px 8px;
  box-sizing: border-box;
  border: 1px solid #bdc998;
  border-radius: 8px;
  background: #fffbdcf5;
  box-shadow: 0 2px 0 #66845a40;
  color: #6b7c56;
  font: 13px/18px var(--fish-native-body);
  text-align: center;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business .bench-business-dot {
  position: absolute;
  right: 19px;
  top: 1px;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff4d0;
  border-radius: 50%;
  background: #e97950;
  box-shadow: 0 1px 2px #6c623859;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business:is(.is-ready,[data-ready="true"])::before {
  filter: drop-shadow(0 0 7px #f1cf6c);
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business:is(:disabled,[aria-disabled="true"]) {
  opacity: .65;
  cursor: default;
}

/* A separate paper management area begins below the scene at y=515. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management {
  position: absolute;
  isolation: isolate;
  left: 0;
  top: 515px;
  z-index: 40;
  display: block;
  width: 1070.16px;
  height: 121.48px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 15px;
  color: var(--manager-ink);
  background: var(--manager-paper);
  box-shadow: 0 -2px 0 #e8d9bb, 0 -3px 0 #5d4c3d85;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  box-sizing: border-box;
  border: 1px solid #dfcfb2;
  border-image: none;
  border-radius: inherit;
  background: linear-gradient(to bottom,var(--manager-tone) 0 33px,#d9c6a4 33px 35px,var(--manager-paper) 35px 100%);
  box-shadow: inset 0 1px 0 #fff4db66;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 36px;
  bottom: 4px;
  z-index: -1;
  display: block;
  box-sizing: border-box;
  border: 10px solid transparent;
  border-image: url("./assets/fishing-v10/panel-inner.png") 24 fill stretch;
  opacity: .12;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management .bm-heading {
  position: absolute;
  left: 20px;
  top: 4px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 29px;
  margin: 0;
  overflow: hidden;
  color: #f8efdd;
  font: 19px/27px var(--fish-native-display);
  text-shadow: 0 1px 0 #241b1666;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management .bm-heading :is(b,strong) {
  color: inherit;
  font: inherit;
  font-weight: 400;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management .bm-heading :is(small,span) {
  overflow: hidden;
  color: #e5d9c4;
  font: 14px/22px var(--fish-native-body);
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management .bm-detail {
  position: absolute;
  left: 18px;
  top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 560px;
  height: 61px;
  margin: 0;
  overflow: hidden;
  padding: 0 9px;
  box-sizing: border-box;
  color: #837461;
  font: 14px/21px var(--fish-native-body);
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management .bm-detail :is(b,strong) {
  color: var(--manager-ink);
  font-size: 15px;
  line-height: 21px;
  font-weight: 400;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management .bm-detail > small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font: 13px/21px var(--fish-native-body);
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management .bm-detail > :is(p,div,span) {
  display: block;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #panel #activity-footer {
  left: 604px !important;
  top: 552px !important;
  width: 450px !important;
  height: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  z-index: 43;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #panel #activity-footer #activity-primary {
  left: 176px !important;
  top: 0 !important;
  width: 274px !important;
  height: 70px !important;
  min-height: 70px !important;
  padding: 0 12px 3px !important;
  font-size: 26px !important;
  line-height: 31px !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-upgrade {
  left: 604px !important;
  top: 552px !important;
  width: 160px !important;
  height: 70px !important;
  min-height: 70px !important;
  z-index: 44;
  font-size: 24px !important;
  line-height: 29px !important;
}

/* Carried tool actor uses app coordinates so it follows the pointer across the desk. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000;
  display: block;
  width: 140px;
  height: 140px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: none;
  pointer-events: none !important;
  user-select: none;
  transform-origin: var(--bit-x,28px) var(--bit-y,104px);
  will-change: left, top;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool > img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform-origin: var(--bit-x,28px) var(--bit-y,104px);
  transform: rotate(var(--bench-tool-angle,0deg));
  filter: drop-shadow(0 4px 2px #293f354f);
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool[data-state="pickup"] > img {
  animation: bench-tool-pickup .3s cubic-bezier(.2,.75,.25,1) both;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool[data-state="return"] > img {
  animation: bench-tool-return .22s ease-in both;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool .bench-spindle {
  position: absolute;
  left: calc(var(--bit-x,18px) - 11px);
  top: calc(var(--bit-y,94px) - 11px);
  z-index: 3;
  display: block;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 2px solid #d2d1ba;
  border-radius: 50%;
  background: conic-gradient(#59645b 0 12%,#babaa3 12% 25%,#687267 25% 38%,#d0cbb2 38% 50%,#59645b 50% 62%,#babaa3 62% 75%,#687267 75% 88%,#d0cbb2 88% 100%);
  box-shadow: inset 0 0 0 5px #899085, 0 1px 2px #33443b66;
  opacity: 0;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool[data-tool="window"]:is([data-state="active"],[data-state="working"]) .bench-spindle {
  opacity: 1;
  animation: bench-spindle-turn .14s linear infinite;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool[data-tool="window"][data-state="working"] .bench-spindle::after {
  content: "";
  position: absolute;
  inset: -5px;
  display: block;
  border: 1px dashed #fff6d6bb;
  border-radius: 50%;
  opacity: .6;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool .bench-tool-beam {
  position: absolute;
  left: calc(var(--bit-x,34px) - 70px);
  top: var(--bit-y,45px);
  z-index: 1;
  display: block;
  width: 140px;
  height: 100px;
  background: linear-gradient(180deg,#fffce6a6,#fffce654 45%,#fffce600);
  clip-path: polygon(43% 0,57% 0,100% 100%,0 100%);
  transform: rotate(var(--bench-beam-angle,28deg));
  transform-origin: 50% 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool[data-tool="flash"]:is([data-state="active"],[data-state="working"]) .bench-tool-beam {
  opacity: .65;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool[data-state="return"] .bench-spindle,
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool[data-state="return"] .bench-tool-beam {
  opacity: 0 !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #stage #bench-tool-label {
  position: absolute;
  left: 160px;
  top: 35px;
  z-index: 62;
  display: block;
  width: max-content;
  max-width: 340px;
  min-height: 24px;
  margin: 0;
  padding: 5px 12px;
  box-sizing: border-box;
  border: 1px solid #c5cd9f;
  border-radius: 9px;
  background: #fffbdcf0;
  color: #61795c;
  box-shadow: 0 2px 0 #6a835644;
  font: 15px/21px var(--fish-native-body);
  text-align: center;
  pointer-events: none !important;
}

/* Tutorial dimming has a non-intercepting hole; existing native hand/ring are reused. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-coach {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: none;
  pointer-events: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-coach :is(.bc-hole,.bench-coach-hole) {
  position: absolute;
  left: var(--coach-x,0px);
  top: var(--coach-y,0px);
  display: block;
  width: var(--coach-w,0px);
  height: var(--coach-h,0px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--coach-radius,12px);
  background: transparent;
  box-shadow: 0 0 0 1400px #15372c69;
  pointer-events: none !important;
  transition: left .16s ease, top .16s ease, width .16s ease, height .16s ease;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-coach-copy {
  position: absolute;
  left: 18px;
  top: 330px;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  width: 258px;
  height: 58px;
  margin: 0;
  padding: 6px 10px;
  box-sizing: border-box;
  border: 2px solid #dfc779;
  border-radius: 11px;
  color: #647654;
  background: #fffbdcf5;
  box-shadow: inset 0 0 0 1px #fffef1, 0 3px 0 #5c735660;
  font: 14px/20px var(--fish-native-body);
  pointer-events: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-coach-copy :is(b,strong) {
  display: block;
  margin: 0;
  color: #507553;
  font: 17px/22px var(--fish-native-display);
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-coach-copy :is(span,small,p) {
  display: block;
  margin: 0;
  color: #7b8262;
  font: 13px/18px var(--fish-native-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-complete-toast {
  position: absolute;
  isolation: isolate;
  left: 365px;
  top: 138px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 340px;
  min-height: 72px;
  margin: 0;
  padding: 12px 18px;
  box-sizing: border-box;
  border: 2px solid #d9c174;
  border-radius: 13px;
  background: #fffbdcf2;
  color: #537b57;
  box-shadow: inset 0 0 0 2px #fffde4, 0 4px 0 #57754d70;
  font: 23px/30px var(--fish-native-display);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-complete-toast::before {
  content: "";
  position: absolute;
  left: 70px;
  top: -65px;
  z-index: -1;
  display: block;
  width: 200px;
  height: 200px;
  background: url("./assets/workshop-v26/native-starburst.png") center/contain no-repeat;
  opacity: .8;
  pointer-events: none;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-complete-toast.is-show {
  opacity: 1;
  visibility: visible;
  animation: bench-complete-once 1.65s ease both;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-complete-toast :is(small,span) {
  display: block;
  color: #85815c;
  font: 14px/20px var(--fish-native-body);
}

/* Visibility and focus must beat inherited display overrides. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app :is(#bench-tool-rack,#bench-rotate,#bench-quest,#bench-business,#bench-management,#bench-coach,#bench-coach-copy,#bench-complete-toast)[hidden],
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool[hidden],
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #stage #bench-tool-label[hidden],
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack [hidden],
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-coach [hidden],
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-business [hidden] {
  display: none !important;
}

html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app :is(#bench-quest,#bench-business,#bench-rotate,#scene-tray,#bench-tool-rack button):focus-visible {
  outline: 2px solid #5b976d !important;
  outline-offset: 3px !important;
}

@keyframes bench-quest-ready {
  0%,100% { filter: drop-shadow(0 0 1px #d8eaa777); }
  50% { filter: drop-shadow(0 0 6px #e6edbbaa); }
}
@keyframes bench-tool-pickup {
  from { opacity: 0; transform: translate(var(--bench-pickup-x,80px),var(--bench-pickup-y,100px)) scale(.6) rotate(-18deg); }
  to { opacity: 1; transform: translate(0,0) scale(1) rotate(var(--bench-tool-angle,0deg)); }
}
@keyframes bench-tool-return {
  from { opacity: 1; transform: translate(0,0) scale(1) rotate(var(--bench-tool-angle,0deg)); }
  to { opacity: 0; transform: translate(var(--bench-pickup-x,80px),var(--bench-pickup-y,100px)) scale(.6) rotate(-18deg); }
}
@keyframes bench-spindle-turn { to { transform: rotate(360deg); } }
@keyframes bench-complete-once {
  0% { opacity: 0; transform: translateY(8px) scale(.95); }
  16%,82% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-6px) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest,
  html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool > img,
  html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-held-tool .bench-spindle,
  html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-complete-toast.is-show { animation: none !important; }
  html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-quest .bq-meter > :is(i,span),
  html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-coach :is(.bc-hole,.bench-coach-hole) { transition: none !important; }
}


/* A single active tool message replaces the former duplicate stage hints. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #stage :is(#desk-stage-hint,#ws-window-feedback) { display:none!important; }

/* The business book compares functional modules in readable, separate rows. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #modal-root .bench-business-modal .bench-business-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:4px 0 14px; }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #modal-root .bench-business-modal .bench-business-grid > .btn { display:flex!important; flex-direction:column; justify-content:center; gap:6px; width:100%!important; min-width:0!important; min-height:76px!important; margin:0!important; padding:12px 16px!important; font:22px/28px var(--fish-native-display)!important; }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #modal-root .bench-business-modal .bench-business-grid > .btn > small { display:block!important; font:14px/21px var(--fish-native-body)!important; }

/* A carried touch tool must keep the drag instead of starting a browser pan. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack, html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack [data-bench-tool="flash"] { touch-action:none!important; }

/* Current stone introduction belongs to the lower information panel. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note { left:26px!important; top:550px!important; width:560px!important; height:78px!important; min-height:78px!important; z-index:44; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:27px 23px 20px; gap:0 12px; align-items:center; justify-content:start; padding:3px 0!important; border:0!important; border-radius:0!important; background:none!important; box-shadow:none!important; text-align:left; }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > b { grid-column:1; grid-row:1; margin:0; max-width:100%; font:20px/27px var(--fish-native-display); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > small { grid-column:2; grid-row:1; max-width:250px; margin:0; color:#6e795d; font:14px/22px var(--fish-native-body); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > em { grid-column:1 / 3; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; color:#6b795d; font-style:normal; text-shadow:none; }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > .bench-note-brief { grid-row:2; font:15px/23px var(--fish-native-body); }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > .bench-note-ledger { grid-row:3; font:13px/20px var(--fish-native-body); }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-note > span { position:absolute!important; right:0!important; bottom:3px!important; top:auto!important; color:#8b8666; font:12px/18px var(--fish-native-body); }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-management .bm-detail { display:none!important; }

/* Carry mode substitutes the rendered flashlight for the mouse arrow, including over controls. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"][data-bench-cursor="true"] #app,
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"][data-bench-cursor="true"] #app * {
  cursor: none !important;
}

/* V29: no idle tray or manual rotation control in the first gambling flow. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-tray[hidden],
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #scene-pieces[hidden],
html.activity-theme #root[data-functional-desk="true"] #app #bench-rotate { display:none !important; }
/* Keep the remaining native disposition actions readable after order removal. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-scene-desk="true"] #modal-root .modal-card.scene-actions-dialog .scene-action-list {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-scene-desk="true"] #modal-root .modal-card.scene-actions-dialog .scene-action-list > button.btn {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap;
  align-items:center !important;
  justify-content:center !important;
  gap:7px;
  height:auto !important;
  min-height:72px !important;
  padding:10px !important;
  overflow:visible !important;
  white-space:normal !important;
  font-size:18px !important;
  line-height:23px !important;
}
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-scene-desk="true"] #modal-root .modal-card.scene-actions-dialog .scene-action-list > button.btn small {
  font:13px/18px var(--fish-native-body) !important;
}
/* Fit the full tool name on one line without reducing its readable font. */
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack { width:342px; gap:18px; }
html.activity-theme.igg-skin.feicui-ui.playable-v6.fishing-ui-v10.fishing-native-v11.activity-shell-v17 #root[data-functional-desk="true"] #app #bench-tool-rack :is(button,.bench-tool) { flex:0 0 162px; width:162px !important; }
