.buggy-personal-dialog{box-sizing:border-box;width:min(740px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:2px solid #ffbf25;border-radius:24px;background:#fffdf4;color:#092440;font:15px/1.5 'Courier Prime',monospace;box-shadow:0 15px 60px #09244055;z-index:2147483640}
.buggy-personal-dialog::backdrop{background:#09244099}
.buggy-personal-dialog *{box-sizing:border-box}
.buggy-personal-dialog button,.buggy-personal-dialog select{font:inherit;color:inherit;border:1px solid #092440;border-radius:12px;padding:10px 12px;min-height:44px;background:#fffdf4}
.buggy-personal-dialog button{cursor:pointer}.buggy-personal-dialog button:disabled{opacity:.55;cursor:wait}
.buggy-personal-dialog :focus-visible,.buggy-account-menu :focus-visible{outline:3px solid #21839a;outline-offset:3px}
.buggy-personal-dialog h2,.buggy-personal-dialog h3{font-family:'Permanent Marker',cursive;margin:0;line-height:1.25}
.buggy-personal-dialog h2{font-size:26px}.buggy-personal-dialog h3{font-size:18px}
.buggy-personal-head{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:20px 22px 14px;border-bottom:1px solid #09244025}
.buggy-personal-head p{margin:0 0 5px;font-size:12px}.buggy-personal-close{flex:none;width:44px}
.buggy-avatar-body{display:grid;grid-template-columns:240px 1fr;gap:20px;padding:20px 22px}
.buggy-avatar-preview{align-self:start;position:sticky;top:12px;text-align:center}
.buggy-avatar-stage{height:350px;border:1px solid #09244030;border-radius:20px;overflow:hidden;background:#edf1e6}
.buggy-avatar-stage svg{width:100%;height:100%;display:block}
.buggy-avatar-preview small{font-size:12px;display:block;margin-top:8px}
.buggy-avatar-fields{display:grid;gap:10px}.buggy-avatar-fields fieldset{margin:0;border:0;border-top:1px solid #09244025;padding:12px 0 0}
.buggy-avatar-fields legend{font-family:'Permanent Marker',cursive;font-size:18px;padding-right:8px}
.buggy-avatar-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.buggy-avatar-options label{font-size:12px;font-weight:bold;min-width:0}.buggy-avatar-options select{display:block;width:100%;margin-top:3px;font-size:14px;font-weight:normal;padding:8px}
.buggy-personal-actions{position:sticky;bottom:0;display:flex;flex-wrap:wrap;gap:10px;padding:12px 22px 18px;background:#fffdf4;border-top:1px solid #09244025}
.buggy-personal-actions .primary{background:#ffbf25;font-family:'Permanent Marker',cursive;flex:1}
.buggy-personal-message{width:100%;margin:0;font-size:13px}.buggy-personal-message:empty{display:none}
.buggy-personal-copy{padding:18px 22px}.buggy-personal-copy p{margin:0 0 14px}.buggy-personal-copy label{display:flex;align-items:start;gap:10px}.buggy-personal-copy input{width:20px;height:20px;flex:none;margin-top:2px}
.buggy-account-menu{position:fixed;z-index:2147483000;width:220px;padding:8px;border:1px solid #092440;border-radius:15px;background:#fffdf4;color:#092440;box-shadow:0 10px 28px #09244035;font:15px/1.4 'Courier Prime',monospace}
.buggy-account-menu[hidden]{display:none}.buggy-account-menu button{display:block;width:100%;text-align:left;border:0;border-radius:9px;background:transparent;color:inherit;min-height:46px;padding:10px;font:inherit;cursor:pointer}.buggy-account-menu button:hover{background:#fff0bf}
.buggy-personal-dialog,.buggy-account-menu{font-family:'BUGGY Family Typewriter',monospace}
.buggy-personal-dialog h2,.buggy-personal-dialog h3,.buggy-avatar-fields legend,.buggy-personal-actions .primary{font-family:'BUGGY Family Marker',cursive}
#v194HeaderPassportAvatar[data-rip-custom='true']{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
@media(max-width:560px){.buggy-personal-head{padding:16px}.buggy-personal-dialog h2{font-size:22px}.buggy-avatar-body{grid-template-columns:1fr;padding:12px 16px;gap:12px}.buggy-avatar-preview{position:static;display:flex;align-items:center;gap:12px;text-align:left}.buggy-avatar-stage{height:220px;width:136px;flex:none}.buggy-avatar-preview small{max-width:155px}.buggy-personal-actions{padding:12px 16px}.buggy-personal-copy{padding:16px}}
@font-face{font-family:'BUGGY Family Marker';src:url('./insurance-permanent-marker.ttf') format('truetype');font-display:swap}
@font-face{font-family:'BUGGY Family Typewriter';src:url('./insurance-courier-prime-regular.ttf') format('truetype');font-display:swap}
.buggy-personal-dialog [hidden]{display:none!important}
.buggy-personal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.buggy-personal-tabs button{font-size:13px;padding:8px}.buggy-personal-tabs button[aria-pressed=true]{background:#ffbf25}
.buggy-personal-steps{padding:0 20px}.buggy-personal-home{padding:0 20px 16px}.buggy-home-intro p,.buggy-home-privacy,.buggy-board-hint{font-size:13px}
.buggy-personal-board{position:relative;width:100%;aspect-ratio:2;background:#d6e9e7;border:1px solid #092440;border-radius:14px;overflow:hidden;cursor:crosshair}
.buggy-community-pin{position:absolute;transform:translate(-50%,-50%);width:9px;height:9px;background:#092440;border:1px solid #fffdf4;border-radius:50%;pointer-events:none}
.buggy-personal-board img{width:100%;height:100%;object-fit:fill;display:block;pointer-events:none}.buggy-personal-pin{position:absolute;transform:translate(-50%,-60%);font:28px/1 sans-serif;color:#bc0043;text-shadow:0 1px 2px #fff;cursor:grab;touch-action:none;padding:8px}
.buggy-home-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.buggy-home-fields label{font-weight:bold;font-size:13px;min-width:0}.buggy-home-fields input,.buggy-home-fields select,.buggy-home-fields textarea{display:block;width:100%;min-width:0;border:1px solid #092440;border-radius:10px;padding:10px;margin-top:5px;background:#fffdf4;color:#092440;font:15px/1.5 'BUGGY Family Typewriter',monospace;min-height:44px}
.buggy-hometown-question{grid-column:1/-1;margin-top:10px}.buggy-home-fields textarea{resize:vertical}.buggy-pin-consent{display:flex;align-items:start;gap:10px;font-size:13px;margin-top:18px}.buggy-pin-consent input{width:22px;height:22px;flex:none}
#passportSetup #buggyWorldBoard,#passportSetup .buggy-pin-flow-intro,#passportSetup .buggy-pin-flow-status,#passportSetup #buggyPinPlacementContinue,#passportSetup #buggyMovePin,#passportSetup #v159HomeAreaPanel,#passportSetup #originContextPanel{display:none!important}
@media(max-width:560px){.buggy-personal-home{padding:0 16px 16px}.buggy-home-fields{grid-template-columns:1fr}.buggy-personal-steps{padding:0 16px}.buggy-personal-steps button{flex:1}}

/* C78: restore the navy onboarding pin board and the canonical surfboard Rip. */
.buggy-home-guide{display:flex;align-items:center;justify-content:center;gap:6px;min-height:130px;margin:0 0 10px}
.buggy-home-rip{width:156px;max-width:35%;height:auto;object-fit:contain;filter:drop-shadow(0 8px 7px #09244020)}



.buggy-hometown-board-card{padding:12px;border-radius:20px;background:#041e42;color:#fffdf7;box-shadow:0 9px 18px #041e4226;margin-bottom:16px}
.buggy-hometown-board-heading{display:flex;align-items:center;justify-content:space-between;color:#ffc136;gap:8px}.buggy-hometown-board-heading span{font-size:11px;letter-spacing:.12em}
.buggy-board-tabs{gap:5px;margin:10px 0}.buggy-board-tabs button{flex:1;border-color:#fffdf755;background:#ffffff10;color:#fffdf7;font-size:12px;min-height:44px;padding:6px 4px}.buggy-board-tabs button[aria-pressed=true]{background:#ffc136;color:#041e42;border-color:#ffc136}
.buggy-personal-board{aspect-ratio:auto;border:1px solid #fffdf744;border-radius:11px;overflow:visible;background:#75c8d9}
.buggy-personal-board img{object-fit:contain;border-radius:10px;width:100%;height:auto;aspect-ratio:inherit}
.buggy-personal-pin{font-size:0;padding:0;width:44px;height:44px;transform:translate(-50%,-100%);text-shadow:none;background:none;z-index:2;cursor:grab}
.buggy-personal-pin:before{content:'';position:absolute;left:11px;top:13px;width:22px;height:22px;background:#bf0d3e;border:2px solid #fffdf7;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:-2px 2px 3px #041e4255}
.buggy-personal-pin:after{content:'';position:absolute;left:19px;top:21px;width:7px;height:7px;background:#ffc136;border-radius:50%}
.buggy-board-hint{margin:8px 0 0;font-size:12px;min-height:18px;color:#fffdf7;overflow-wrap:anywhere}
.buggy-home-source{font-size:12px;margin:8px 0 12px;color:#46635a}.buggy-home-source:empty{display:none}
.buggy-home-fields{gap:10px;grid-template-columns:1fr 1fr}.buggy-home-fields label{font-size:12px}.buggy-home-fields input,.buggy-home-fields select,.buggy-home-fields textarea{margin-top:3px;font-size:16px;line-height:1.45;border-color:#8c979988;background:#fffefa}
.buggy-home-fields input::placeholder,.buggy-home-fields textarea::placeholder{color:#58666b;opacity:1}.buggy-hometown-neighborhood,.buggy-hometown-question{grid-column:1/-1}.buggy-hometown-question{margin-top:0}
.buggy-personal-dialog .buggy-truth-link{border:0;background:none;text-decoration:underline;font-size:12px;padding:10px 0;margin-top:4px;min-height:44px}
.buggy-truth-sections{font:15px/1.55 'BUGGY Family Typewriter',monospace;padding:16px;color:#092440}.buggy-truth-sections h3{font-family:'BUGGY Family Marker',cursive}.buggy-truth-sections details{border-bottom:1px solid #09244030;padding:10px 0}.buggy-truth-sections summary{cursor:pointer;font-family:'BUGGY Family Marker',cursive;min-height:44px;padding:8px 0}.buggy-truth-sections p{margin:8px 0 14px}.buggy-truth-choice{display:flex;gap:10px;align-items:start}.buggy-truth-choice input{width:22px;height:22px;flex:none}.buggy-truth-save-note{font-size:12px}.buggy-truth-dialog{z-index:2147483641}
#buggyAvatarBuilder .buggy-personal-head p{display:none}#buggyAvatarBuilder .buggy-personal-head{padding-top:14px;padding-bottom:10px}#buggyAvatarBuilder .buggy-personal-steps{margin:8px 0}.buggy-home-guide{min-height:110px}.buggy-board-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buggy-home-guide .buggy-home-rip{align-self:flex-end}
.buggy-board-hint{white-space:normal;overflow:visible}

/* C82: original map thumbnails and names in a browsable carousel. */
.buggy-board-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px;margin:8px 0 4px}
.buggy-board-thumbnails{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#ffc136 #173354;padding:5px 3px 8px;min-width:0}
.buggy-board-thumbnails button{flex:1 0 100px;min-width:100px;max-width:190px;min-height:84px;padding:5px;border:1px solid #fffdf760;border-radius:12px;background:#173354;color:#fffdf7;scroll-snap-align:center;font-size:11px;line-height:1.25;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.buggy-board-thumbnails button[aria-pressed=true]{background:#ffc136;color:#041e42;border-color:#ffc136;box-shadow:0 0 0 2px #fffdf7}
.buggy-board-thumbnails img{display:block;width:100%;height:48px;object-fit:contain;background:#f1f0eb;border-radius:5px;pointer-events:none}
.buggy-board-carousel .buggy-map-arrow{width:44px;height:44px;padding:0;border:1px solid #fffdf760;background:#173354;color:#ffc136;font:32px/1 sans-serif;border-radius:50%}
.buggy-board-carousel button:focus-visible{outline:3px solid #fffdf7;outline-offset:2px}
.buggy-board-description{font-size:12px;line-height:1.4;margin:2px 0 8px;color:#fffdf7;min-height:17px}
@media(max-width:560px){.buggy-board-carousel{gap:4px}.buggy-board-thumbnails{gap:7px}.buggy-board-thumbnails button{flex-basis:94px;min-width:94px}.buggy-board-description{font-size:11px}.buggy-home-guide{margin-bottom:8px}}

/* C81 illustrated dressing room. Picture choices, not long dropdown forms. */
#buggyAvatarBuilder[data-section=character]{width:min(930px,calc(100vw - 16px));height:min(850px,calc(100dvh - 16px));overflow:hidden;display:flex;flex-direction:column}
#buggyAvatarBuilder[data-section=character] .buggy-personal-head,#buggyAvatarBuilder[data-section=character] .buggy-personal-steps,#buggyAvatarBuilder[data-section=character] .buggy-personal-actions{flex:none}
#buggyAvatarBuilder[data-section=character] .buggy-avatar-body{min-height:0;flex:1;grid-template-columns:minmax(220px,38%) minmax(0,1fr);padding:10px 18px 14px;gap:18px;overflow:hidden}
.buggy-avatar-preview{position:static;min-height:0;height:100%;width:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:8px}
.buggy-avatar-stage{height:auto;width:100%;flex:1;min-height:0;border:1px solid #09244030;background:#fff8e8;box-shadow:0 8px 20px #09244015}
.buggy-avatar-stage img{width:100%;height:100%;display:block;object-fit:contain}
#buggyAvatarBuilder[data-section=character] .buggy-avatar-stage{width:100%;height:100%;background-size:cover;background-position:center}
.buggy-character-caption{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:12px;width:100%;flex:none}
.buggy-character-caption button{font-size:12px;padding:5px 9px;min-height:44px;border-color:#09244030}
.buggy-avatar-fields{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}
.buggy-wardrobe-tabs{display:flex;gap:5px;overflow-x:auto;flex:none;padding:2px 2px 7px;scrollbar-width:thin}
.buggy-wardrobe-tabs button{flex:0 0 57px;min-width:57px;font-size:10px;padding:3px;border-color:#09244030;border-radius:12px;line-height:1.4}
.buggy-wardrobe-tabs img{width:44px;height:43px;object-fit:contain;display:block;margin:auto;border-radius:8px}
.buggy-wardrobe-tabs button[aria-pressed=true]{background:#ffcf55;border:2px solid #092440;padding:2px}
.buggy-wardrobe-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:4px 7px 12px 4px;scrollbar-width:thin;scroll-padding:8px}
.buggy-wardrobe-scroll h3{font-size:18px;margin:0 0 12px}
.buggy-avatar-fields fieldset{border:0;padding:0;margin:0 0 16px;min-width:0}
.buggy-avatar-fields legend{font-size:17px;margin-bottom:7px}
.buggy-picture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.buggy-picture-grid button{min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px;border:1px solid #09244035;background:#fff8e8;font-size:11px;line-height:1.2;border-radius:13px}
.buggy-picture-grid button img{display:block;width:100%;height:102px;object-fit:contain;border-radius:9px;pointer-events:none}
.buggy-picture-grid button[aria-pressed=true]{border:2px solid #092440;box-shadow:0 0 0 2px #ffbf25;background:#fff0be;padding:4px}
.buggy-picture-grid button[aria-pressed=true]:after{content:'✓';position:absolute;top:3px;right:3px;border-radius:50%;background:#ffbf25;color:#092440;font:700 12px/20px sans-serif;width:20px;height:20px}
.buggy-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.buggy-color-swatch{display:block;width:32px;height:32px;border-radius:50%;border:1px solid #09244055;margin:3px}
.buggy-starting-looks{grid-template-columns:repeat(2,minmax(0,1fr))}.buggy-starting-looks button img{height:192px}
@media(max-width:560px){
 #buggyAvatarBuilder[data-section=character]{border-radius:18px}
 #buggyAvatarBuilder[data-section=character] .buggy-personal-head{padding:10px 12px 7px;align-items:center}
 #buggyAvatarBuilder[data-section=character] h2{font-size:18px}
 #buggyAvatarBuilder[data-section=character] .buggy-personal-steps{padding:0 10px;margin:5px 0}
 #buggyAvatarBuilder[data-section=character] .buggy-personal-steps button{font-size:11px;padding:6px 4px}
 #buggyAvatarBuilder[data-section=character] .buggy-avatar-body{display:flex;flex-direction:column;padding:3px 10px 7px;gap:6px}
 #buggyAvatarBuilder[data-section=character] .buggy-avatar-preview{flex:none;height:clamp(140px,27dvh,235px);position:relative;display:block}
 .buggy-avatar-stage{height:100%;width:100%;border-radius:14px}
 .buggy-character-caption{position:absolute;bottom:6px;right:6px;width:auto}.buggy-character-caption span{display:none}.buggy-character-caption button{background:#fffdf4e8}
 .buggy-avatar-fields{flex:1;gap:4px}.buggy-wardrobe-tabs button{flex-basis:52px;min-width:52px}.buggy-wardrobe-tabs{padding-bottom:3px}
 .buggy-wardrobe-tabs img{height:32px;width:37px}.buggy-wardrobe-scroll{padding-top:4px}
 .buggy-starting-looks{grid-template-columns:repeat(3,minmax(0,1fr))}.buggy-starting-looks button img{height:122px}.buggy-picture-grid button img{height:88px}.buggy-picture-grid{gap:7px}
 #buggyAvatarBuilder[data-section=character] .buggy-personal-actions{position:static;padding:8px 10px;gap:7px}
 #buggyAvatarBuilder[data-section=character] .buggy-personal-actions .primary{font-size:14px}
}
@media(max-height:550px) and (min-width:561px){#buggyAvatarBuilder[data-section=character] .buggy-personal-head{padding:7px 14px}.buggy-starting-looks button img{height:100px}}
#setupTakeIntroButton{width:100%;margin-top:10px;min-height:46px}
#setupFinishOnboardingButton.created-explore{background:none!important;box-shadow:none!important;text-decoration:underline;min-height:44px;margin-top:4px}
#representativeContextPanel{margin-bottom:8px!important}
#representativeContextPanel input,#representativeContextPanel select{margin-bottom:8px!important}
@media(max-width:560px){.buggy-home-guide{min-height:110px}.buggy-home-rip{width:128px;max-width:35%}.buggy-hometown-board-card{padding:10px}.buggy-board-tabs button{font-size:11px}.buggy-personal-head h2{font-size:20px}.buggy-home-fields{gap:9px}.buggy-home-fields select{padding:9px 6px}}
