/* Arnold Szepesi | Working R02 */
#opening.working-opening {--hero-accent:#83b9d2;--field-surface:#f8f4eb;--field-ink:#1a2838;}
#opening.working-opening .w-hero-core {animation:hero-arrive .38s ease-out both;}
@keyframes hero-arrive {from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html body #opening.working-opening .w-kicker {
 color:var(--hero-accent)!important;display:block!important;width:100%!important;max-width:none!important;
 margin:0 auto clamp(10px,1.4vw,18px)!important;white-space:nowrap!important;text-align:center!important;
 font-size:11px!important;line-height:1.5!important;letter-spacing:.06em!important;font-weight:700!important;
}
html body #opening.working-opening #w-title {
 display:block!important;text-wrap:wrap!important;width:100%!important;max-width:100%!important;overflow:visible!important;
 overflow-wrap:anywhere!important;white-space:normal!important;height:auto!important;max-height:none!important;box-sizing:border-box;
}
#opening [data-working-subject] {display:inline-block!important;max-width:100%;vertical-align:baseline;color:inherit!important;overflow-wrap:anywhere;}
#opening [data-working-subject].has-name {color:var(--hero-accent)!important;}
#opening .w-bowl-phrase,#opening .w-gram-phrase {white-space:nowrap;}
#opening .w-gram-phrase {display:inline-block;max-width:100%;}
@media (max-width:600px) {#opening .w-gram-phrase {display:block;font-size:min(1em, 11.5vw);}}
html body #opening.working-opening .w-start {width:min(100%,528px)!important;max-width:100%!important;margin-inline:auto!important;}
html body #opening.working-opening .inu-hero-start-field {
 display:grid!important;grid-template-columns:minmax(172px,1fr) minmax(0,1.05fr)!important;align-items:stretch!important;
 height:auto!important;max-height:none!important;padding:0!important;gap:0!important;overflow:visible!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;
}
#opening .w-name-entry {position:relative;isolation:isolate;display:grid;align-items:stretch;min-width:0;}
html body #opening.working-opening input#hero-dog-name {
 position:static!important;display:block!important;min-width:0!important;width:100%!important;max-width:none!important;
 box-sizing:border-box!important;min-height:54px!important;height:100%!important;margin:0!important;
 appearance:none!important;border:0!important;border-radius:7px 0 0 7px!important;background:var(--field-surface)!important;
 color:var(--field-ink)!important;padding:20px 14px 4px!important;font-size:16px!important;line-height:1.3!important;
 box-shadow:none!important;outline:none!important;
}
html body #opening.working-opening .w-name-entry:focus-within {z-index:1;}
html body #opening.working-opening input#hero-dog-name:focus {box-shadow:0 0 3px 2px var(--hero-accent)!important;outline:none!important;}
html body #opening.working-opening input#hero-dog-name::placeholder {color:transparent!important;opacity:0!important;}
html body #opening.working-opening .w-label {
 position:absolute!important;top:50%!important;left:14px!important;width:auto!important;height:auto!important;max-width:calc(100% - 28px)!important;
 margin:0!important;padding:0!important;pointer-events:none;color:#344753!important;line-height:1.2!important;
 font-size:15px!important;font-weight:550!important;transform-origin:left center;transform:translateY(-50%);transition:transform .16s ease-out;
}
html body #opening.working-opening .w-name-entry input:is(:focus,:not(:placeholder-shown)) + .w-label {transform:translateY(calc(-50% - 13px)) scale(.77);}
html body #opening.working-opening .w-start button {
 display:flex!important;position:static!important;align-items:center!important;justify-content:center!important;
 width:100%!important;max-width:none!important;min-width:0!important;min-height:54px!important;height:auto!important;
 padding:8px 14px!important;gap:8px!important;box-sizing:border-box!important;white-space:normal!important;
 background:var(--field-ink)!important;color:white!important;border:0!important;border-radius:0 7px 7px 0!important;
 box-shadow:none!important;outline:none!important;transition:transform .12s ease-out;
}
html body #opening.working-opening [data-working-label] {
 display:block!important;position:static!important;visibility:visible!important;
 min-width:0!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;
 font-size:15px!important;line-height:1.25!important;color:#fff!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;
}
html body #opening.working-opening .w-start button:focus-visible {box-shadow:0 0 3px 2px var(--hero-accent)!important;}
#opening .inu-hero-start-arrow {transition:transform .16s ease-out;flex:none;}
@media (hover:hover){#opening .w-start button:hover .inu-hero-start-arrow{transform:translateX(3px);}}
#opening .w-start button:active {transform:scale(.987);}
@media (max-width:600px){
 html body #opening.working-opening .inu-hero-start-field {grid-template-columns:minmax(0,1fr)!important;gap:9px!important;}
 html body #opening.working-opening :is(input#hero-dog-name,.w-start button) {border-radius:6px!important;}
 #opening [data-working-subject] {display:block!important;}
}
@media (prefers-reduced-motion:reduce){
 #opening.working-opening .w-hero-core,#opening.working-opening .w-start *,#opening.working-opening [data-working-subject] {animation:none!important;transition:none!important;}
 #opening.working-opening .w-start button:is(:hover,:active),#opening.working-opening .w-start button:hover .inu-hero-start-arrow {transform:none!important;}
}
@media (forced-colors:active) {
 html body #opening.working-opening :is(input#hero-dog-name,.w-start button):focus {outline:2px solid Highlight!important;outline-offset:1px!important;}
}

#opening .w-subject-frame {position:relative;display:inline-block;max-width:100%;vertical-align:baseline;}
@media (max-width:600px) {
 #opening .w-subject-frame {display:block;}
}
@media (max-width:374px) {
 html body #opening.working-opening .w-kicker {width:calc(100% + 20px)!important;margin-inline:-10px!important;letter-spacing:.035em!important;}
}

/* Keep the introduction on its own line throughout the narrow tablet range. */
@media (min-width:601px) and (max-width:767px) {
 #opening .w-subject-frame,#opening [data-working-subject] {display:block!important;}
}

/* The spacer keeps the position of the form fixed while a name is entered. */
#opening .w-subject-spacer {visibility:hidden;white-space:nowrap;}
#opening .w-subject-frame [data-working-subject] {
 position:absolute;inset:0;display:flex!important;align-items:center;justify-content:center;
 text-align:center;line-height:.98;overflow-wrap:anywhere;white-space:normal;
}
#opening .w-subject-frame [data-working-subject] {font-size:var(--subject-fit,inherit);}
html body #opening.working-opening .inu-hero-start-field {width:100%!important;max-width:none!important;}
html body #opening.working-opening .w-start button {height:54px!important;}
html body #opening.working-opening [data-working-label] {font-size:var(--button-fit,15px)!important;}
@media (min-width:375px) {html body #opening.working-opening .w-kicker {font-size:12px!important;}}
@media (max-width:767px) {#opening .w-subject-frame {width:100%;}}

#opening .w-name-measure {
 position:absolute;top:0;left:0;width:100%;visibility:hidden;pointer-events:none;
 display:block;white-space:normal;overflow-wrap:anywhere;line-height:.98;
}
@media (min-width:768px) {
 #opening .w-subject-frame [data-working-subject] {
   justify-content:flex-end;text-align:right;
 }
}

/* The longer default French and German actions need more of the joined control. */
@media (min-width:768px) {
 html:is(:lang(fr),:lang(de)) body #opening.working-opening .inu-hero-start-field {
  grid-template-columns:minmax(172px,0.77fr) minmax(0,1.23fr)!important;
 }
}

@layer inu-r08-interactions {
/* The native disclosure has its own edge. Keep one edge at rest and a keyboard focus indicator. */
@media (max-width:767px) {
 html body .r5-header details#v21-explore > summary::before {border:0!important;}
 html body .r5-header details#v21-explore > summary:focus-visible {outline:2px solid #83b9d2!important;outline-offset:2px!important;}
}
@media (forced-colors:active) {
 html body .r5-header details#v21-explore > summary:focus-visible {outline-color:Highlight!important;}
}
}

/* Dog-name motion | Working R01 */
#opening [data-working-subject] > span {min-width:0;}
#opening [data-working-subject].has-name > span {
 text-decoration:underline;
 text-decoration-thickness:.045em;
 text-underline-offset:.105em;
 text-decoration-skip-ink:auto;
}
@media (min-width:768px) {
 #opening .w-subject-frame,#opening .w-bowl-phrase {
  position:relative;left:var(--subject-center-offset,0px);
 }
 #opening .w-subject-frame[data-own-line] [data-working-subject].has-name {
  justify-content:center;
  text-align:center;
 }
}
form[data-hero-start]:not(.w-start) input[data-sync-dog-name]:not(:placeholder-shown) {
 text-decoration:underline;
 text-decoration-thickness:1px;
 text-underline-offset:3px;
}
form[data-hero-start]:not(.w-start) [data-personal-join] {display:inline-block;}
#opening.working-opening [data-working-label] {opacity:1;}

/* Arnold Szepesi | Dog-name interaction | Working R02 */
html body #opening.working-opening input#hero-dog-name,
html body .rest-final-form input[data-sync-dog-name] {
  caret-color: #1a2838;
  text-decoration-color: #3d677b;
}

html body #opening.working-opening input#hero-dog-name:not(:placeholder-shown) {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

html body #opening.working-opening input#hero-dog-name:focus {
  box-shadow: inset 0 0 0 2px #3d677b !important;
}

@media (forced-colors: active) {
  html body #opening.working-opening :is(input#hero-dog-name, .w-start button):focus,
  html body .rest-final-form :is(input[data-sync-dog-name], button):focus {
    outline: 2px solid Highlight !important;
    outline-offset: -3px !important;
    box-shadow: none !important;
  }
}
