.bobber-page {
  --sim-bg: #0c1214;
  --sim-surface: #111a1c;
  --sim-panel: #151e20;
  --sim-control: #1b2627;
  --sim-border: #2d3a3b;
  --sim-muted: #a6b4b1;
  --sim-gold: #f2cb80;
  --sim-green: #a5d8bd;
  --sim-ink: #f1f1e8;
  color: var(--sim-ink);
  background: radial-gradient(ellipse at 74% -12%, #1a2c2c 0, transparent 55%), var(--sim-bg);
}
.bobber-main { padding-block: 42px 54px; }
.bobber-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.bobber-kicker { display: flex; align-items: center; gap: 9px; font-size: .73rem; font-weight: 650; letter-spacing: .12em; color: var(--sim-gold); }
.bobber-intro h1 { font-size: clamp(3.5rem, 7.6vw, 6.5rem); font-weight: 790; letter-spacing: -.082em; line-height: .99; margin: 9px 0 13px; }
.bobber-subtitle { color: var(--sim-muted); max-width: 490px; font-size: .95rem; }
.bobber-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; flex-wrap: wrap; flex: 0 0 auto; padding-bottom: 3px; }
.bobber-download { display: inline-flex; align-items: center; gap: 9px; background: var(--sim-gold); border: 1px solid #ffdd98; padding: 10px 13px; border-radius: 7px; color: #241807; font-weight: 750; font-size: .88rem; text-decoration: none; }
.bobber-download:hover { background: #ffe1a1; }
.bobber-download small { padding-left: 8px; border-left: 1px solid #8d713e65; font: .7rem var(--mono); white-space: nowrap; }
.bobber-install-link { color: var(--sim-muted); font-size: .82rem; text-decoration: none; }
.bobber-install-link:hover, .bobber-resources a:hover { color: var(--sim-gold); }
.sim { border: 1px solid var(--sim-border); border-radius: 14px; background: var(--sim-surface); box-shadow: 0 18px 52px #0004; }
.sim-header { min-height: 56px; display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; gap: 12px; }
.sim-header h2 { display: flex; align-items: center; gap: 9px; font-size: .94rem; }
.sim-header p { color: var(--sim-muted); font: .73rem var(--mono); }
.sim-header h2 { margin-right: auto; }
.sim-fullscreen { flex: 0 0 auto; }
.icon-fullscreen::before { content: "⛶"; font-size: 21px; }
.sim-header p span[aria-hidden] { padding-inline: 5px; color: #738382; }
.sim-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--sim-green); box-shadow: 0 0 0 4px #a5d8bd18; }
.sim-loading { padding: 28px; }
.sim-tabs { display: flex; gap: 7px; align-items: center; overflow-x: auto; border-block: 1px solid var(--sim-border); padding: 8px 13px; background: #0f1719; }
.sim button { cursor: pointer; }
.sim button:disabled { opacity: .5; cursor: default; }
.sim-tab, .sim-button, .sim-close, .sim-log-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; border: 1px solid transparent; border-radius: 5px; padding: 5px 9px; background: transparent; color: var(--sim-muted); font-size: .76rem; line-height: 1.5; }
.sim-tab { padding: 7px 12px; font-weight: 650; }
.sim button:hover:enabled { color: var(--sim-ink); border-color: #657571; background-color: #243130; }
.sim-tab[aria-pressed="true"], .sim-button[aria-pressed="true"], .sim-button.is-primary { color: var(--sim-gold); border-color: #75613f; background: #2c271c; }
.sim-button { color: var(--sim-ink); background: #1c2728; border-color: var(--sim-border); }
.sim-button.is-primary:hover { color: #ffdfa1; border-color: var(--sim-gold); background: #392f1f; }
.sim-icon { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; width: 16px; height: 16px; color: inherit; font: 16px/1 system-ui, sans-serif; }
.icon-fish::before { content: ""; width: 10px; height: 7px; border: 1px solid currentColor; border-radius: 75% 45% 45% 75%; position: absolute; top: 4px; left: 0; }
.icon-fish::after { content: ""; position: absolute; right: 0; top: 4px; width: 0; height: 0; border: 4px solid transparent; border-right: 5px solid currentColor; border-left: 0; }
.icon-download::before { content: "↓"; font-size: 18px; transform: translateY(-2px); }
.icon-download::after { content: ""; width: 12px; height: 4px; border: 1px solid currentColor; border-top: 0; position: absolute; bottom: 0; }
.icon-stats { width: 14px; background: linear-gradient(currentColor,currentColor) 1px 10px/3px 5px, linear-gradient(currentColor,currentColor) 6px 6px/3px 9px, linear-gradient(currentColor,currentColor) 11px 2px/3px 13px; background-repeat: no-repeat; }
.icon-gear::before { content: "⚙"; }
.icon-auction::before { content: "◇"; font-size: 20px; }
.icon-about::before { content: "i"; font: 600 11px/13px system-ui; border: 1px solid currentColor; border-radius: 100%; width: 13px; text-align: center; }
.icon-export::before { content: "↗"; }
.icon-swap::before { content: "⇄"; font-size: 21px; }
.icon-drag::before { content: "✥"; }
.icon-hook::before { content: ""; width: 8px; height: 11px; border: 1.5px solid currentColor; border-top: 0; border-left-width: 0; border-radius: 2px 0 10px 10px; position: absolute; bottom: 1px; }
.icon-hook::after { content: ""; border: 1px solid currentColor; width: 4px; height: 4px; border-radius: 50%; position: absolute; top: 0; right: 2px; }
.sim-columns { position: relative; isolation: isolate; height: clamp(560px, 52vw, 640px); overflow: hidden; }
.sim-scene { position: absolute; isolation: isolate; inset: 0; min-width: 0; background: #133132; }
.sim-scene::before, .sim-scene::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.sim-scene::before { background: url("./fishing-pond.webp") center 62% / cover no-repeat; }
.sim-scene::after { background: linear-gradient(180deg, #08191285 0%, transparent 30%, transparent 60%, #091618b8 100%); }
.sim-water { display: none; }
@supports (width: 1cqw) {
  @media (prefers-reduced-motion: no-preference) {
    .sim-scene { container-type: size; }
    .sim-water {
      display: block;
      position: absolute;
      z-index: -1;
      top: 62%;
      left: 50%;
      /* Match the 3:2 cover image so the mask follows the lake in full screen. */
      width: max(100cqw, 150cqh);
      height: max(100cqh, 66.6667cqw);
      transform: translate(-50%, -62%);
      pointer-events: none;
      mask-image: radial-gradient(ellipse 44% 21% at 45% 63%, #000 34%, #000c 69%, transparent 100%);
    }
    .sim-water::before, .sim-water::after { content: ""; position: absolute; inset: 0; }
    .sim-water::before {
      background: url("./fishing-pond.webp") center / 100% 100% no-repeat;
      mask-image: repeating-linear-gradient(0deg, transparent 0 4px, #000 8px 12px, transparent 18px 23px, #000c 27px 30px, transparent 37px 47px);
      animation: sim-water-drift 4.8s ease-in-out infinite alternate;
    }
    .sim-water::after {
      background:
        radial-gradient(ellipse 16% 21% at 53% 57%, #ffe5a99c, #ffd98b45 49%, transparent 100%),
        radial-gradient(ellipse 24% 17% at 30% 66%, #9de6dc59, transparent 100%),
        radial-gradient(ellipse 21% 14% at 62% 73%, #82cccb52, transparent 100%);
      mask-image: repeating-linear-gradient(0deg, transparent 0 4px, #000b 8px, transparent 14px 19px, #0009 24px, #000b 27px, transparent 33px 42px);
      animation: sim-water-glint 3.4s linear infinite;
    }
  }
}
@keyframes sim-water-drift {
  from { transform: translate(-2.2%, .6%); opacity: .72; }
  to { transform: translate(2.2%, -.7%); opacity: .88; }
}
@keyframes sim-water-glint {
  from { mask-position: 0 0; }
  to { mask-position: 0 42px; }
}
.sim-angler { position: absolute; z-index: 1; left: 5%; bottom: 76px; aspect-ratio: 2 / 3; height: clamp(250px, 45%, 310px); pointer-events: none; user-select: none; transform-origin: 27% 97%; animation: sim-angler-breathe 6s ease-in-out infinite; }
.sim-angler img { display: block; width: 100%; height: 100%; }
.sim-angler img[hidden] { display: none; }
.sim-scene-controls { display: contents; }
.sim-fishing-line { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
@keyframes sim-angler-breathe { 0%, 100% { transform: translateY(0) rotate(-.3deg); } 50% { transform: translateY(-1.5px) rotate(.3deg); } }
.sim-scene-top { position: absolute; inset: 16px 16px auto; display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.sim-location { display: flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 650; text-shadow: 0 1px 6px #000; }
.sim-location::before { content: "◈"; color: var(--sim-gold); }
.sim-scene .sim-button { background: #0d1c20e8; border-color: #ffffff36; }
.sim-house-controls { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; }
.sim-ambience-controls { display: inline-flex; align-items: center; gap: 6px; }
.sim-ambience-controls input[type="range"] { width: 64px; padding: 0; accent-color: var(--sim-gold); cursor: pointer; }
.sim-house-controls button[aria-pressed="true"] { color: #d3f9e4; border-color: #a5d8bd91; background: #193b35; }
.sim-scene-bottom { position: absolute; inset: auto 16px 17px; }
.sim-scene-bottom > p { font-size: .72rem; color: #c8d7cd; text-shadow: 0 1px 4px #000; margin-top: 6px; }
.sim-scene-bottom > .sim-fish-state { color: #f7f4df; font-weight: 680; font-size: .95rem; }
.sim-toolbar { position: absolute; z-index: 2; left: 25%; bottom: 112px; transform: translate(-50%); display: flex; gap: 5px; background: #0e1a1bed; border: 1px solid #bda4719e; border-radius: 8px; padding: 5px; box-shadow: 0 6px 22px #0009; }
.sim-toolbar button { position: relative; min-width: 35px; min-height: 35px; padding: 0 6px; border-color: #ffffff25; }
.sim-toolbar button.is-primary { min-width: 42px; }
.sim-toolbar button:has(.sim-action-art) { min-width: 42px; padding: 2px; border-color: #746348; background: linear-gradient(135deg, #3d382a, #141c1b 55%, #342b1e); box-shadow: inset 0 0 0 1px #0a0e0d, inset 0 1px 3px #b4a47e35; }
.sim-action-art { display: block; width: 32px; height: 32px; }
.sim-toolbar button:has(.sim-action-art) kbd { padding: 0 1px; border-radius: 2px; background: #080d0cbd; color: #e6c774; font-size: .51rem; }
.sim-toolbar button:last-child { cursor: grab; touch-action: none; }
.sim-toolbar kbd { position: absolute; bottom: -1px; right: 2px; max-width: 25px; overflow: hidden; font-size: .55rem; text-overflow: ellipsis; }
.sim-castbar { position: absolute; z-index: 2; left: 25%; bottom: 174px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; width: 260px; padding: 4px; border: 1px solid #9a8154; border-radius: 5px; background: #0e1718ed; box-shadow: 0 5px 16px #0009; }
.sim-cast-icon { display: grid; place-items: center; width: 27px; height: 27px; color: var(--sim-gold); border: 1px solid #9a815470; border-radius: 3px; background: #352e20; }
.sim-cast-track { position: relative; flex: 1; height: 22px; overflow: hidden; border: 1px solid #907b51; border-radius: 3px; background: #101b19; }
.sim-cast-track progress { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; appearance: none; background: transparent; }
.sim-cast-track progress::-webkit-progress-bar { background: #101b19; }
.sim-cast-track progress::-webkit-progress-value { background: linear-gradient(#96be78, #557a40 55%, #365c2e); }
.sim-cast-track progress::-moz-progress-bar { background: linear-gradient(#96be78, #557a40 55%, #365c2e); }
.sim-cast-label { position: absolute; inset: 0 6px; display: flex; align-items: center; justify-content: space-between; color: #fff8df; font-size: .73rem; line-height: 1; text-shadow: 0 1px 3px #000, 1px 0 #000; pointer-events: none; }
.sim-cast-label time { font: .68rem var(--mono); }
.sim-ambience-attribution { font-size: .69rem; color: var(--sim-muted); }
.sim-bobber { position: absolute; z-index: 2; top: 55%; left: 31%; width: 68px; height: 76px; padding: 0; transform: translate(-50%, -50%); border: 0; background: transparent; }
.sim button.sim-bobber:hover:enabled { border: 0; background: transparent; filter: brightness(1.15); }
.sim-bobber:focus-visible { outline: 1px solid var(--sim-gold); outline-offset: 3px; border-radius: 50%; }
.sim-bobber svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(1px 3px 2px #071914a0); }
.sim-bobber-float { transform-origin: 35px 50px; animation: sim-bob 3.6s ease-in-out infinite; }
.sim-bobber-ring { transform-origin: 34px 58px; animation: sim-ripple 3s ease-out infinite; }
.sim-bobber-ring.is-outer { animation-delay: -1.5s; }
.sim-bobber-splash { opacity: 0; }
.sim-bobber.is-ready .sim-bobber-float { animation: sim-bite .85s ease-in-out infinite; }
.sim-bobber.is-ready .sim-bobber-ring { animation-duration: .85s; stroke: #e4f6e8; }
.sim-bobber.is-ready .sim-bobber-splash { animation: sim-splash .85s ease-out infinite; }
@keyframes sim-bob { 50% { transform: translateY(2px) rotate(4deg); } }
@keyframes sim-bite { 30%, 65% { transform: translateY(7px) rotate(-12deg); } }
@keyframes sim-ripple { from { transform: scale(.55); opacity: .65; } to { transform: scale(1.5); opacity: 0; } }
@keyframes sim-splash { 10% { opacity: .95; } 80%, 100% { transform: translateY(-7px); opacity: 0; } }
.sim-loot { position: absolute; inset: 39% auto auto 50%; width: max-content; max-width: 90%; transform: translateX(-50%); z-index: 6; gap: 6px; padding: 8px; border: 1px solid #8e764f; border-radius: 6px; background: #1f261f; font-size: .75rem; }
.sim-panel-area { position: absolute; z-index: 3; inset: 58px 20px 20px; display: flex; justify-content: flex-end; align-items: flex-start; min-width: 0; pointer-events: none; }
.sim-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; width: min(392px, 43%); max-height: min(100%, 430px); border: 1px solid #8c754e; border-radius: 7px; background: #131d1ff5; box-shadow: 0 8px 24px #0007, 0 2px 5px #0006; pointer-events: auto; }
.sim-panel-titlebar { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 5px 2px 9px; border-bottom: 1px solid #65563a; border-radius: 6px 6px 0 0; background: linear-gradient(105deg, #30291c, #202923); color: var(--sim-gold); cursor: grab; touch-action: none; }
.sim-panel-titlebar h3 { font-size: .79rem; }
.sim-close { width: 26px; height: 26px; flex: 0 0 auto; font-size: 1rem; line-height: 1; padding: 0; }
.sim-panel-body { grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; min-width: 0; min-height: 0; padding: 8px; color: var(--sim-ink); font-size: .74rem; line-height: 1.45; overflow: auto; overscroll-behavior: contain; }
.sim-panel-body.sim-stack { gap: 6px; }
.sim-panel-body .sim-row, .sim-panel-body .sim-stack { gap: 5px; }
.sim-panel-body .sim-button, .sim-loot .sim-button { min-height: 24px; padding: 2px 6px; font-size: .7rem; }
.sim-panel .sim-goal { gap: 4px 6px; }
.sim-panel .sim-goal span { flex: 1 1 9em; }
.sim-panel .sim-goal progress { width: 43px; }
.sim-panel-body h4 { margin: 0 0 4px; color: var(--sim-gold); font-size: .78rem; }
.sim-panel-body .muted, .sim-status { color: var(--sim-muted); }
.sim-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
.sim-between { justify-content: space-between; }
.sim-stack { display: grid; align-content: start; gap: 9px; }
.sim-metrics, .sim-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--sim-border); border: 1px solid var(--sim-border); border-radius: 6px; overflow: hidden; }
.sim-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sim-metric { background: #10191a; padding: 5px 6px; min-width: 0; }
.sim-metric dt { font-size: .67rem; line-height: 1.25; color: var(--sim-muted); }
.sim-metric dd { margin: 2px 0 0; font: 650 1rem/1.2 var(--mono); }
.sim-metric small { color: var(--sim-muted); font-size: .62rem; display: block; margin-top: 1px; }
.sim-totals dd { font-size: .82rem; color: var(--sim-gold); }
.sim-inline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px 10px; min-width: 0; }
.sim-goal { background: #1b2525; border: 1px solid var(--sim-border); padding: 3px 5px; border-radius: 5px; }
.sim-goal progress { width: 94px; height: 6px; accent-color: var(--sim-gold); }
.sim-table { overflow: auto; border: 1px solid var(--sim-border); border-radius: 5px; }
.sim-table table { width: 100%; border-collapse: collapse; }
.sim-table th, .sim-table td { padding: 3px 5px; text-align: left; }
.sim-table td { border-top: 1px solid #2a3535; }
.sim-table th { color: var(--sim-gold); font-weight: 650; font-size: .67rem; background: #202927; }
.sim-catches tr:nth-child(even) { background: #192324; }
.sim-table .sim-empty { padding-block: 12px; text-align: center; color: var(--sim-muted); }
.sim-item { display: inline-flex; align-items: center; gap: 4px; }
.sim-item i { flex: 0 0 auto; width: 19px; height: 19px; border-radius: 4px; display: grid; place-content: center; color: #bce5c7; background: #25443c; border: 1px solid #49695a; }
.sim-item i[data-tone="2"] { color: #edce96; background: #423723; border-color: #65543b; }
.sim-item i[data-tone="0"] { color: #a9d9e4; background: #213a47; border-color: #3e6070; }
.sim-money { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sim-cell-note { display: block; color: var(--sim-muted); font-size: .61rem; }
[data-movable="stats"] .sim-panel-titlebar h3 { font-size: .72rem; }
[data-movable="stats"] .sim-panel-body { font-size: .66rem; line-height: 1.4; }
[data-movable="stats"] .sim-panel-body, .sim-catches { scrollbar-width: none; }
[data-movable="stats"] .sim-panel-body::-webkit-scrollbar, .sim-catches::-webkit-scrollbar { display: none; }
[data-movable="stats"] .sim-button { font-size: .64rem; }
[data-movable="stats"] .sim-metric dt, .sim-catches th { font-size: .62rem; }
[data-movable="stats"] .sim-metric dd { font-size: .9rem; }
[data-movable="stats"] .sim-totals dd { font-size: .74rem; }
[data-movable="stats"] .sim-metric small, .sim-catches .sim-cell-note { font-size: .59rem; }
.sim-command { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-top: 1px solid var(--sim-border); border-radius: 0 0 13px 13px; background: #0f1719; }
.sim-command label { font: 750 1rem var(--mono); color: var(--sim-gold); padding-inline: 3px; }
.sim input, .sim textarea { min-width: 0; border: 1px solid #3a4a49; border-radius: 5px; background: #0c1416; padding: 6px 8px; color: var(--sim-ink); font-size: .77rem; }
.sim-command input { flex: 1; font-family: var(--mono); }
.sim-command input::placeholder { color: var(--sim-muted); opacity: 1; }
.sim-log { padding: 8px 16px; border-top: 1px solid var(--sim-border); font: .72rem/1.6 var(--mono); }
.sim-log-empty { color: var(--sim-muted); }
.sim-log ol { max-height: 105px; overflow-y: auto; overflow-wrap: anywhere; margin: 3px 0; padding-inline-start: 3em; }
.sim-log-toggle { border-color: var(--sim-border); background: var(--sim-control); }
.sim-section { border: 1px solid var(--sim-border); border-radius: 5px; padding: 6px; background: #10191a; }
.sim-settings-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 5px; align-items: center; padding-block: 3px; border-bottom: 1px solid #2a3737; }
.sim-settings-row:last-child { border-bottom: 0; }
.sim-list { display: grid; gap: 3px; align-content: start; max-height: 240px; overflow: auto; }
.sim-list .sim-button { justify-content: start; white-space: normal; text-align: left; }
.sim-catalog { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 6px; }
.sim-catalog-info { max-height: 240px; overflow: auto; overflow-wrap: anywhere; }
.sim-catalog-info p, .sim-catalog-info h4 { margin-bottom: 4px; }
.sim-catalog-search { flex: 1; min-width: 100px !important; }
.sim-pills { display: flex; flex-wrap: wrap; gap: 4px; margin: 3px 0 5px; }
.sim-empty-window { margin: 0; align-self: flex-end; padding: 6px 9px; border: 1px solid #ffffff26; border-radius: 5px; background: #0d1c20de; color: var(--sim-muted); text-align: center; font-size: .72rem; }
.sim dialog { width: min(360px, calc(100% - 32px)); max-height: min(86dvh, 420px); padding: 0; border: 1px solid #75613f; border-radius: 7px; background: var(--sim-panel); color: var(--sim-ink); }
.sim dialog[open] { display: flex; flex-direction: column; }
.sim dialog::backdrop { background: #010708b8; }
.sim dialog textarea { width: 100%; resize: vertical; font-family: var(--mono); }
.sim dialog input { width: 100%; }
.sim-kbd { padding: 1px 4px; border: 1px solid var(--sim-border); border-radius: 3px; font: .69rem var(--mono); color: var(--sim-gold); }
.bobber-install { margin-top: 38px; border-top: 1px solid var(--sim-border); padding-top: 21px; }
.bobber-install-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.bobber-install-title h2 { font-size: 1.34rem; }
.bobber-install-title p, .bobber-steps p { color: var(--sim-muted); font-size: .82rem; }
.bobber-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bobber-steps li { border: 1px solid var(--sim-border); border-radius: 7px; background: var(--sim-surface); padding: 13px; }
.bobber-steps h3 { font-size: .87rem; margin-bottom: 6px; }
.bobber-steps code { color: var(--sim-gold); overflow-wrap: anywhere; font: .73rem var(--mono); }
.bobber-resources { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: var(--sim-muted); font-size: .77rem; }
.bobber-resources a { text-decoration: none; }
@media (max-width: 950px) {
  .bobber-main { padding-top: 30px; }
  .sim-panel-area { inset-inline: 16px; }
}
@media (max-width: 740px) {
  .bobber-main { width: min(100% - 24px, 580px); }
  .bobber-intro { display: block; margin-bottom: 18px; }
  .bobber-actions { justify-content: start; margin-top: 13px; }
  .sim-columns { height: 760px; }
  .sim-bobber { top: 102px; left: 81%; }
  .sim-loot { top: 105px; }
  .sim-panel-area { inset: min(62%, max(0px, 100% - 165px)) 10px 65px; align-items: flex-end; }
  .sim-angler { left: 0; top: 130px; bottom: auto; height: 145px; }
  .sim-panel { width: min(100%, 320px); }
  .sim-panel-titlebar { touch-action: auto; cursor: auto; }
  .sim-header { padding-inline: 11px; }
  .sim-tabs { padding-inline: 8px; }
  .sim-scene-top, .sim-scene-bottom { inset-inline: 10px; }
  .sim-toolbar { top: 90px; bottom: auto; left: 10px; transform: none; }
  .sim-castbar { top: 146px; bottom: auto; left: 112px; width: calc(100% - 122px); transform: none; }
  .sim-scene-top { flex-wrap: wrap; }
  .sim-house-controls { gap: 4px; }
  .sim-house-controls .sim-button { padding-inline: 6px; font-size: .68rem; }
  .sim-ambience-controls input[type="range"] { width: 48px; }
  .sim-header { flex-wrap: wrap; gap: 8px; }
  .sim-header p { font-size: .65rem; }
  .sim-fullscreen { font-size: .68rem; padding-inline: 6px; }
  .bobber-steps { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 375px) {
  .sim-settings-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .sim-angler { animation: none; }
  .sim-bobber * { animation: none !important; }
  .sim-bobber.is-ready .sim-bobber-splash { opacity: 1; }
}

@media (min-width: 741px) {
  .bobber-main { padding-top: 32px; }
  .bobber-intro { margin-bottom: 24px; }
  .bobber-intro h1 { font-size: clamp(3.5rem, 7vw, 5.75rem); }
  .bobber-subtitle { max-width: 640px; }
  .sim-header { min-height: 49px; }
  .sim-tabs { padding-block: 6px; }
}
@media (max-width: 740px) {
  .sim-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .sim-tab { justify-content: flex-start; padding-inline: 5px; gap: 4px; font-size: .69rem; white-space: normal; text-align: start; }
  .sim-tab .sim-icon { width: 14px; }
  .sim-catches th:first-child { width: 37%; }
  .sim-catches td { line-height: 1.35; }
}

html.sim-fullscreen-open { overflow: hidden; }
.sim.is-fullscreen { position: fixed; z-index: 10000; inset: 0; width: 100%; height: 100dvh; display: flex; flex-direction: column; border: 0; border-radius: 0; background: var(--sim-bg); }
.sim.is-fullscreen #sim-workspace { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.sim.is-fullscreen .sim-columns { flex: 1; min-height: 0; height: auto; }
.sim.is-fullscreen .sim-header { flex-shrink: 0; }
.sim.is-fullscreen .sim-tabs, .sim.is-fullscreen .sim-command, .sim.is-fullscreen .sim-log { flex-shrink: 0; }
.sim.is-fullscreen .sim-log ol { max-height: min(105px, 16dvh); }
.sim.is-fullscreen .sim-command { border-radius: 0; }
@media (max-height: 420px) {
  .sim.is-fullscreen #sim-workspace { overflow-y: auto; }
  .sim.is-fullscreen .sim-columns { min-height: 220px; }
}
@media (max-height: 650px) and (min-width: 741px) {
  .sim.is-fullscreen .sim-panel-area { inset-block: 54px 12px; }
  .sim.is-fullscreen .sim-toolbar { bottom: 90px; }
}
