.field-guide[hidden],
.field-guide [hidden],
.field-guide-safety[hidden],
.field-guide-safety [hidden]{display:none!important}

.field-guide{
  position:relative;
  z-index:6;
  margin:14px 0;
  color:var(--color-text,#f5f2ec);
}

.field-guide button,
.field-guide select,
.field-guide-safety button{
  box-sizing:border-box;
  min-height:44px;
  font:inherit;
}

.field-guide-start{
  position:relative;
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:14px 16px;
  overflow:hidden;
  padding:18px;
  border:1px solid rgba(241,184,111,.44);
  border-left:3px solid var(--color-action,#d38125);
  border-radius:10px;
  background:
    radial-gradient(circle at 2% 0%,rgba(211,129,37,.18),transparent 38%),
    linear-gradient(145deg,rgba(24,34,38,.98),rgba(9,13,15,.98));
  box-shadow:0 20px 45px rgba(0,0,0,.26);
}

.field-guide-start:after{
  content:"";
  position:absolute;
  right:-36px;
  top:-44px;
  width:132px;
  height:132px;
  border:1px solid rgba(241,184,111,.16);
  border-radius:50%;
  box-shadow:inset 0 0 0 25px rgba(211,129,37,.035);
  pointer-events:none;
}

.field-guide-start__mark{
  display:grid;
  width:52px;
  height:52px;
  place-items:center;
  border:1px solid rgba(241,184,111,.5);
  border-radius:50%;
  background:rgba(211,129,37,.11);
  color:var(--light-warm,#f1b86f);
  box-shadow:0 0 24px rgba(211,129,37,.13);
}

.field-guide-start__mark svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}
.field-guide-start__copy{min-width:0}
.field-guide-start__copy .eyebrow{margin:0 0 5px}
.field-guide-start__copy h4,
.field-guide-hud h4,
.field-guide-safety h3{margin:0;font-family:var(--font-display,"Arial Narrow",Arial,sans-serif);font-weight:800;letter-spacing:-.025em;text-wrap:balance}
.field-guide-start__copy h4{font-size:clamp(1.25rem,5vw,1.55rem);line-height:1.08}
.field-guide-start__copy>p:last-child{margin:9px 0 0;color:#c5ced0;font-size:.9rem;line-height:1.48}

.field-guide-primary,
.field-guide-secondary,
.field-guide-text-button{
  appearance:none;
  cursor:pointer;
  transition:transform .18s ease,filter .18s ease,border-color .18s ease,background-color .18s ease;
}

.field-guide-primary{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-height:54px!important;
  padding:13px 15px;
  border:1px solid var(--color-action,#d38125);
  border-radius:7px;
  background:linear-gradient(135deg,#e39437,#c97017);
  color:#15120e;
  font-weight:800!important;
  text-align:left;
  box-shadow:0 11px 26px rgba(211,129,37,.19);
}

.field-guide-primary svg{flex:0 0 auto;width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}
.field-guide-start__note{grid-column:1/-1;margin:-5px 0 0;color:#aeb9bb;font-size:.75rem;line-height:1.4}

.field-guide-hud{
  position:sticky;
  top:calc(10px + env(safe-area-inset-top,0px));
  z-index:35;
  overflow:hidden;
  border:1px solid rgba(241,184,111,.43);
  border-radius:10px;
  background:rgba(9,13,15,.94);
  box-shadow:0 18px 50px rgba(0,0,0,.38);
  backdrop-filter:blur(18px) saturate(1.18);
}

.field-guide-hud__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding:4px 6px 4px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(90deg,rgba(211,129,37,.11),transparent 68%);
}

.field-guide-signal{display:inline-flex;min-width:0;align-items:center;gap:9px;color:#bdc7c9;font-size:.76rem;letter-spacing:.02em}
.field-guide-signal i{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#a2aaac;box-shadow:0 0 0 5px rgba(162,170,172,.09)}
.field-guide-signal b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.field-guide-signal[data-quality="good"]{color:#c9eedb}
.field-guide-signal[data-quality="good"] i{background:#6bd39c;box-shadow:0 0 0 5px rgba(107,211,156,.1),0 0 14px rgba(107,211,156,.48)}
.field-guide-signal[data-quality="limited"]{color:#ffe0ab}
.field-guide-signal[data-quality="limited"] i{background:#e09a3c;box-shadow:0 0 0 5px rgba(224,154,60,.11)}
.field-guide-signal[data-quality="bad"]{color:#ffc0b7}
.field-guide-signal[data-quality="bad"] i{background:#e26f61;box-shadow:0 0 0 5px rgba(226,111,97,.1)}

.field-guide-icon-button{
  appearance:none;
  display:grid;
  flex:0 0 44px;
  width:44px;
  height:44px;
  padding:0;
  place-items:center;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#d3dcdd;
  cursor:pointer;
}
.field-guide-icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}
.field-guide-hud__body{padding:15px 16px 11px}
.field-guide-counter{display:block;margin-bottom:4px;color:var(--light-warm,#f1b86f);font-family:var(--font-data,monospace);font-size:.7rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.field-guide-hud h4{font-size:clamp(1.25rem,5vw,1.65rem);line-height:1.05}
.field-guide-hud__body p{margin:7px 0 0;color:#bdc7c9;font-size:.84rem;line-height:1.4}
.field-guide-progress{height:3px;background:#263236}
.field-guide-progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--color-action,#d38125),#f1b86f);box-shadow:0 0 11px rgba(241,184,111,.38);transition:width .32s ease}
.field-guide-message{min-height:0;margin:0;padding:0 16px;color:#f4d7ab;font-size:.78rem;line-height:1.4}
.field-guide-message:not(:empty){padding-top:10px}
.field-guide-hud__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 12px 13px}
.field-guide-secondary,
.field-guide-text-button{
  min-width:0;
  padding:10px 12px;
  border:1px solid #4b5a5f;
  border-radius:7px;
  background:#131b1e;
  color:#e4e9e9;
  font-size:.8rem!important;
  font-weight:700!important;
}
.field-guide-play-now{border-color:#bd7122;background:rgba(211,129,37,.14);color:#ffd69f}
.field-guide-text-button{grid-column:1/-1;border-color:transparent;background:transparent;color:#c1cbcd;text-decoration:underline;text-underline-offset:4px}

.field-guide-manual{display:grid;grid-template-columns:1fr;gap:9px;padding:14px;border-top:1px solid rgba(255,255,255,.09);background:#0e1517}
.field-guide-manual label{color:#eef1f1;font-size:.78rem;font-weight:700}
.field-guide-manual select{
  width:100%;
  min-width:0;
  padding:10px 38px 10px 12px;
  border:1px solid #526166;
  border-radius:7px;
  background:#172125;
  color:#f5f2ec;
  font-size:1rem;
}
.field-guide-manual .field-guide-primary{min-height:48px!important}
.field-guide-manual>p{margin:0;color:#aab5b7;font-size:.73rem;line-height:1.4}

.field-guide-safety{
  position:fixed;
  inset:0;
  z-index:120;
  pointer-events:none;
}

.field-guide-approach{
  position:absolute;
  left:50%;
  bottom:calc(88px + env(safe-area-inset-bottom,0px));
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 44px;
  align-items:center;
  gap:10px;
  width:min(calc(100% - 24px),680px);
  min-height:64px;
  padding:9px 7px 9px 12px;
  transform:translateX(-50%);
  border:1px solid rgba(241,184,111,.48);
  border-radius:11px;
  background:rgba(12,17,19,.96);
  color:#f5f2ec;
  box-shadow:0 18px 52px rgba(0,0,0,.48);
  backdrop-filter:blur(16px);
  pointer-events:auto;
  animation:field-guide-rise .25s ease-out both;
}
.field-guide-approach__icon{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;background:rgba(211,129,37,.14);color:#f1b86f}
.field-guide-approach__icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}
.field-guide-approach__copy{min-width:0}
.field-guide-approach__copy b{display:block;font-size:.86rem;line-height:1.25}
.field-guide-approach__copy span{display:block;overflow:hidden;margin-top:2px;color:#b8c2c4;font-size:.72rem;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.field-guide-approach .field-guide-icon-button{color:#c5ced0}

.field-guide-scrim{
  position:absolute;
  inset:0;
  background:rgba(2,5,6,.68);
  backdrop-filter:blur(5px);
  pointer-events:auto;
  animation:field-guide-fade .2s ease-out both;
}
.field-guide-dismount{
  position:absolute;
  left:50%;
  bottom:0;
  box-sizing:border-box;
  width:min(100%,720px);
  max-height:calc(100dvh - 16px);
  overflow:auto;
  padding:7px 18px calc(18px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  border:1px solid rgba(241,184,111,.45);
  border-bottom:0;
  border-radius:18px 18px 0 0;
  background:
    radial-gradient(circle at 88% 2%,rgba(211,129,37,.2),transparent 36%),
    linear-gradient(155deg,#182226,#090d0f 70%);
  color:#f5f2ec;
  box-shadow:0 -24px 80px rgba(0,0,0,.48);
  pointer-events:auto;
  animation:field-guide-sheet .28s cubic-bezier(.2,.75,.25,1) both;
}
.field-guide-dismount__handle{display:block;width:42px;height:4px;margin:0 auto 16px;border-radius:99px;background:#536166}
.field-guide-dismount__icon{display:grid;width:58px;height:58px;margin-bottom:14px;place-items:center;border:1px solid rgba(241,184,111,.56);border-radius:50%;background:rgba(211,129,37,.12);color:#f1b86f}
.field-guide-dismount__icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}
.field-guide-dismount .eyebrow{margin:0 0 5px}
.field-guide-dismount h3{font-size:clamp(2rem,10vw,3rem);line-height:.94}
.field-guide-dismount__lead{margin:12px 0 18px;color:#d1d8d9;font-size:.95rem;line-height:1.48}
.field-guide-dismount__point{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:11px;margin-bottom:17px;padding:11px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:rgba(255,255,255,.035)}
.field-guide-dismount__point span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#d38125;color:#141412;font-family:var(--font-data,monospace);font-size:.73rem;font-weight:850}
.field-guide-dismount__point b{font-size:.88rem;line-height:1.32}
.field-guide-dismount__status{min-height:44px;margin:-7px 0 14px;padding:10px 12px;border-left:3px solid #d38125;border-radius:0 7px 7px 0;background:rgba(211,129,37,.1);color:#f4d7ab;font-size:.8rem;line-height:1.42}
.field-guide-dismount__actions{display:grid;gap:9px}
.field-guide-dismount__actions .field-guide-primary{grid-column:auto}
.field-guide-primary:disabled{cursor:not-allowed;filter:grayscale(.42);opacity:.58;box-shadow:none}
.field-guide-dismount__later{appearance:none;min-height:48px;padding:10px;border:0;background:transparent;color:#c7d0d2;font:inherit;font-size:.83rem;font-weight:700;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.field-guide-dismount__safety{margin:10px 0 0;color:#9faaac;font-size:.72rem;line-height:1.45;text-align:center}

.field-guide-primary:active,
.field-guide-secondary:active,
.field-guide-text-button:active,
.field-guide-icon-button:active,
.field-guide-dismount__later:active{transform:scale(.98)}
.field-guide-primary:hover{filter:brightness(1.06)}
.field-guide button:focus-visible,
.field-guide select:focus-visible,
.field-guide-safety button:focus-visible{outline:3px solid var(--color-focus,#ffd59b);outline-offset:3px}

@keyframes field-guide-rise{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes field-guide-sheet{from{opacity:.5;transform:translate(-50%,24px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes field-guide-fade{from{opacity:0}to{opacity:1}}

@media (max-width:440px){
  .field-guide-start{grid-template-columns:46px minmax(0,1fr);gap:12px;padding:15px}
  .field-guide-start__mark{width:46px;height:46px}
  .field-guide-hud__actions{grid-template-columns:1fr}
  .field-guide-text-button{grid-column:auto}
  .field-guide-dismount{padding-inline:15px}
}

@media (orientation:landscape) and (max-height:560px){
  .field-guide-dismount{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:16px;padding-top:12px}
  .field-guide-dismount__handle{display:none}
  .field-guide-dismount__icon{grid-column:1;grid-row:1/5;width:52px;height:52px;margin:0}
  .field-guide-dismount>.eyebrow,.field-guide-dismount>h3,.field-guide-dismount>.field-guide-dismount__lead,.field-guide-dismount>.field-guide-dismount__point,.field-guide-dismount>.field-guide-dismount__status,.field-guide-dismount>.field-guide-dismount__actions,.field-guide-dismount>.field-guide-dismount__safety{grid-column:2}
  .field-guide-dismount__lead{margin:8px 0 10px}
  .field-guide-dismount__point{margin-bottom:10px}
  .field-guide-dismount__actions{grid-template-columns:1.6fr 1fr}
}

@media (prefers-reduced-motion:reduce){
  .field-guide *,
  .field-guide-safety *{animation:none!important;scroll-behavior:auto!important;transition:none!important}
}
