/* FHA Favorite Things: additions on top of ../profile/profile.css (same header, glass cards, CTA). */
.psub { max-height: 30px; }

/* prize block: the same glass as the cards, quieter */
.prize { margin: 0 0 12px; padding: 10px 14px 12px; border-radius: 2px; text-align: center;
  background: linear-gradient(92deg, rgba(2,24,38,.14), rgba(2,24,38,.22)); border: 1px solid rgba(161,231,232,.22);
  box-shadow: inset 0 1px 2px rgba(2,24,38,.25); }
.prize p { margin: 0 0 9px; text-shadow: 0 1px 0 rgba(2,44,68,.45); text-wrap: pretty; }
.prize strong { color: var(--ink-hi); font-weight: 700; }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.groups li { padding: 6px 2px; border-radius: 2px; font-family: 'Playfair Display', serif; font-weight: 600; font-size: 10.5px; letter-spacing: .07em; line-height: 1.15;
  text-transform: uppercase; color: #E7F4F4; text-shadow: 0 1px 0 rgba(2,44,68,.5);
  background: rgba(162,231,232,.10); border: 1px solid rgba(161,231,232,.26); display: flex; align-items: center; justify-content: center; min-height: 34px; }

/* nomination cards */
.noms:empty { display: none; }
.noms { margin: 4px 0 12px; }
.nom { position: relative; margin: 0 0 10px; padding: 0 12px 2px; border-radius: 2px;
  background: rgba(2,24,38,.16); border: 1px solid rgba(161,231,232,.24); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  animation: nomIn .32s cubic-bezier(.25,1,.4,1); }
@keyframes nomIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nomHd { display: block; padding: 8px 30px 8px 0; margin: 0 0 8px; border-bottom: 1px solid rgba(161,231,232,.18); }
.nomCat { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--aqua); text-shadow: 1px .5px 0 #021D46; line-height: 1.2; }
.nomGrp { display: block; margin: 0 0 2px; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: .7; white-space: nowrap; }
.nomX { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(2,24,38,.30); color: #DCEDED; font: 700 16px/26px 'Raleway', sans-serif; }
.nomX:hover, .nomX:focus-visible { background: rgba(162,231,232,.22); color: #fff; outline: none; }
.nom .f { margin-bottom: 9px; }

.ddList li.none { padding: 8px 12px; font-size: 13px; font-style: italic; font-weight: 500; color: var(--ink); cursor: default; }
.ddList li[role=option] { white-space: normal; }
.ddList li[role=option][data-used] { display: none; }

.chk .t em { font-style: italic; font-weight: 500; opacity: .8; }
a.rulesLink, a.rulesLink:visited { color: var(--aqua); text-decoration: underline; text-decoration-color: rgba(162,231,232,.5); text-underline-offset: 2px; font-weight: 700; }
.chk.bad .box { border-color: rgba(255,170,150,.85); box-shadow: inset 0 1px 2px rgba(2,24,38,.35), 0 0 0 2px rgba(255,150,130,.18); }
#catDD.bad .ddIn { border-color: rgba(255,170,150,.8); }

/* rules page */
.rules { text-align: left; }
.rules .mbody p, .rules .mbody li { margin: 0 0 8px; font-size: 13.5px; line-height: 1.38; font-weight: 500; text-shadow: 0 1px 0 rgba(2,44,68,.4); }
.rules .mbody strong { color: var(--ink-hi); font-weight: 700; }
.rules .mbody ul { margin: 0 0 8px; padding-left: 18px; }
.rules .mbody { padding-top: 6px; }
.back { display: block; margin: 16px auto 0; text-align: center; }

#catList { background: #06303F; -webkit-backdrop-filter: none; backdrop-filter: none; }
#intro .mis + .mis { margin-top: -4px; }
.nomCat { display: block; }
html { background: linear-gradient(90deg,#045567 0%,#166878 20%,#247885 31%,#30828F 44%,#398C97 58%,#40959D 71%,#479CA4 85%,#4A9EA4 100%); min-height: 100%; }

/* ---- step flow: 1 category -> 2 subcategory -> 3 details -> add another ---- */
.step { margin: 2px 0 10px; }
.gpick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gp { position: relative; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 8px; border-radius: 2px; cursor: pointer;
  font: 600 11.5px/1.2 'Playfair Display', serif; letter-spacing: .07em; text-transform: uppercase; color: #E7F4F4; text-shadow: 0 1px 0 rgba(2,44,68,.5);
  background: rgba(2,24,38,.22); border: 1px solid rgba(161,231,232,.30); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 3px rgba(2,24,38,.18);
  -webkit-tap-highlight-color: transparent; transition: background-color .2s, border-color .2s; }
.gp:hover, .gp:focus-visible { background: rgba(162,231,232,.18); border-color: rgba(162,231,232,.7); outline: none; }
.gp:active { box-shadow: inset 0 2px 5px rgba(0,10,18,.4); }
.gp.has { border-color: rgba(162,231,232,.6); }
.gc { position: absolute; top: 3px; right: 5px; font: 700 10px/1 'Raleway', sans-serif; font-style: normal; letter-spacing: .04em; color: var(--aqua); }
.step.bad .gp { border-color: rgba(255,170,150,.8); }
.subHd { display: flex; align-items: baseline; justify-content: space-between; }
.back { padding: 0; border: 0; background: none; cursor: pointer; color: var(--aqua); font: 700 12px/1 'Raleway', sans-serif; letter-spacing: .04em; text-shadow: 0 1px 0 rgba(2,44,68,.45); }
.subCat { margin: 0 0 8px; font: 700 13.5px/1.2 'Playfair Display', serif; letter-spacing: .06em; text-transform: uppercase; color: #E7F4F4; text-shadow: 1px .5px 0 #021D46; }
.subFind { margin-bottom: 8px; }
.subList { margin: 0; padding: 0; list-style: none; border-radius: 2px; overflow: hidden; border: 1px solid rgba(161,231,232,.28); background: rgba(2,24,38,.22); }
.subList li[role=option] { position: relative; padding: 10px 34px 10px 12px; font-size: 14px; font-weight: 600; color: #EAF6F6; cursor: pointer; border-top: 1px solid rgba(161,231,232,.14); }
.subList li[role=option]::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-right: 1.6px solid #BFC9CF; border-top: 1.6px solid #BFC9CF; transform: rotate(45deg); }
.subList li[role=option]:hover, .subList li[role=option]:focus-visible { background: rgba(162,231,232,.18); color: #fff; outline: none; }
.subList li[role=option]:hover::after { border-color: var(--aqua); }
.subList li.none { padding: 10px 12px; font-size: 13px; font-style: italic; font-weight: 500; color: var(--ink); }
.addMore { display: block; width: 100%; margin: 2px 0 10px; padding: 11px 10px; border-radius: 2px; cursor: pointer; text-align: center;
  font: 700 11.5px/1.2 'Playfair Display', serif; letter-spacing: .08em; text-transform: uppercase; color: #E7F4F4; text-shadow: 0 1px 0 rgba(2,44,68,.5);
  background: rgba(162,231,232,.10); border: 1px dashed rgba(162,231,232,.6); }
.addMore span { font-family: 'Raleway', sans-serif; font-size: 15px; color: var(--aqua); margin-right: 4px; vertical-align: -1px; }
.addMore:hover, .addMore:focus-visible { background: rgba(162,231,232,.2); border-style: solid; outline: none; }
.prize p { margin-bottom: 0; }
#stepSub { position: relative; }
#stepSub .back { position: absolute; top: 0; right: 0; padding: 0 0 6px 12px; }
.addErr { margin: -4px 0 10px; }
.subList li[role=option]:first-child { border-top: 0; }
.refLine { margin: 0 auto 10px; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #A2E6E8; text-shadow: 1px .5px 0 #021D46; }
.shareBox { margin: 4px 0 6px; }
.shareBtn { width: min(326.5px, 100%); margin: 0 auto; border-style: solid; background: rgba(162,231,232,.16); }
#shareNote { margin-top: 8px; word-break: break-all; }
.really { margin: -4px 0 10px; padding: 7px 10px; border-radius: 2px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--ink-hi);
  background: rgba(2,24,38,.28); border-left: 2px solid var(--aqua); text-shadow: 0 1px 0 rgba(2,44,68,.4); }
.really strong { color: var(--aqua); font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: .03em; }
.subList li.really { margin: 0; border-left: 2px solid var(--aqua); font-style: normal; }
.prize .nospend { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(161,231,232,.22); font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink-hi); }
.prize .nospend span { display: block; text-wrap: balance; }

/* reversed lockup: script lead-in over the caps title, holiday-songbook feel */
.lockup { margin: 0 0 12px; }
.lockup .psub.lead { max-height: 74.4px; margin-top: -18px; margin-bottom: -13px; position: relative; z-index: 2; }
.lockup .ptitle { position: relative; z-index: 1; }
.lockup .ptitle { margin-bottom: 7px; }
.dateline { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-hi); text-shadow: 0 1px 0 rgba(2,44,68,.5); }
.dateline span { color: var(--aqua); margin: 0 .35em; }
/* Thank You script: room for the Y tail (44px per 169 units -> 370 units) */
.done .done-sub { max-height: 96.3px; margin-top: -23px; margin-bottom: -12px; }
/* mobile + email each get a full row so a prefilled email isn't cut off */
.grid.g2.contact { grid-template-columns: 1fr; }
/* "share" has a tall h loop: scale the etch to match the visual weight of the site CTAs */
#ff .cg-etch { font-size: .82em; }

/* ---- mobile scrolling (Steven, 3 Nov) ----
   iPhone Safari zooms the page when a field under 16px is tapped and leaves it zoomed, so every swipe then
   pans sideways too. 16px fields stop that. Plus: no sideways drift, no double-tap zoom on controls,
   momentum scrolling, and nothing on the page captures the vertical swipe. */
html, body { overflow-x: hidden; overflow-x: clip; }
input, textarea, select, .ddIn, .subFind { font-size: 16px !important; }
.gp, .addMore, .back, .nomX, .subList li, .chk, .shareBtn, a { touch-action: manipulation; }
.subList li[role=option] { -webkit-tap-highlight-color: rgba(162,231,232,.18); }

/* ===== 8 Nov: collapsible intro, accordion sections, group accordions, ✓ cards ===== */
.aboutTog[hidden], #ff [hidden], .nomDel[hidden] { display: none !important; }
/* collapse primitive: height animates via grid rows (iOS 16+), content clipped while closed */
.clp { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .46s cubic-bezier(.3,.9,.3,1), opacity .34s ease, transform .46s cubic-bezier(.3,.9,.3,1); }
.clp > .clpIn { min-height: 0; overflow: hidden; }
.clp.shut { grid-template-rows: 0fr; opacity: 0; }
.clp.instant { transition: none !important; }
.clp.shut > .clpIn { visibility: hidden; transition: visibility 0s .46s; }
/* intro: slides up under the title */
.about.shut { transform: translateY(-16px); }
.aboutTog { display: block; width: 100%; margin: 0 0 12px; padding: 8px 12px 9px; border-radius: 2px; cursor: pointer; text-align: center;
  background: linear-gradient(92deg, rgba(2,24,38,.14), rgba(2,24,38,.22)); border: 1px solid rgba(161,231,232,.22); box-shadow: inset 0 1px 2px rgba(2,24,38,.25);
  color: var(--ink-hi); text-shadow: 0 1px 0 rgba(2,44,68,.45); -webkit-tap-highlight-color: transparent; touch-action: manipulation; animation: nomIn .4s cubic-bezier(.25,1,.4,1); }
.aboutTog .atLine { display: block; font: 700 14.5px/1.25 'Playfair Display', serif; letter-spacing: .02em; }
.aboutTog .atMore { display: inline-block; margin-top: 3px; font: 700 10.5px/1 'Raleway', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.aboutTog .atMore::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s; }
.aboutTog[aria-expanded=true] .atMore::after { transform: translateY(0) rotate(-135deg); }
.about[aria-hidden=true] + .aboutTog { margin-top: -2px; }

/* section titles are real toggles now */
.mtitle { padding: 0; }
.mtog { display: block; width: 100%; margin: 0; padding: 9px 38px; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-shadow: inherit; line-height: inherit;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.mtog:focus-visible { outline: 1px solid rgba(162,231,232,.6); outline-offset: -3px; }
.mtitle .arr { transition: transform .3s cubic-bezier(.3,.9,.3,1); }
.mitem.shut .mtitle .arr { transform: translateY(-50%) rotate(0deg); }
.msum { font: 600 12.5px/1 'Raleway', sans-serif; letter-spacing: .02em; text-transform: none; color: var(--aqua); }
.favTop { margin: 2px 0 10px; }

/* groups: one line each, with an accordion arrow */
.grps { margin: 0 -14px 6px; border-top: 1px solid rgba(161,231,232,.20); }
.grp { border-bottom: 1px solid rgba(161,231,232,.20); }
.grpHd { position: relative; display: flex; align-items: center; width: 100%; min-height: 48px; margin: 0; padding: 10px 16px 10px 38px; border: 0; background: none; cursor: pointer; text-align: left;
  font: 700 12.5px/1.2 'Playfair Display', serif; letter-spacing: .08em; text-transform: uppercase; color: #E7F4F4; text-shadow: 0 1px 0 rgba(2,44,68,.5);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background-color .2s; }
.grpHd:hover, .grpHd:focus-visible { background: rgba(162,231,232,.10); outline: none; }
.grpHd .arr { position: absolute; left: 15px; top: 50%; width: 10px; height: 12px; transform: translateY(-50%); background: url(../images/thumb/play-icon-aqua.png) center/contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(2,44,68,.45)); transition: transform .3s cubic-bezier(.3,.9,.3,1); }
.grp.open > .grpHd .arr { transform: translateY(-50%) rotate(90deg); }
.grp.open > .grpHd { background: rgba(162,231,232,.10); }
.grpHd .gl { flex: 1; }
.grpN { font: 700 12px/1 'Raleway', sans-serif; letter-spacing: .04em; color: var(--aqua); white-space: nowrap; }
.grps.bad .grpHd { box-shadow: inset 3px 0 0 rgba(255,170,150,.85); }
.grpIn { padding: 4px 12px 14px; }
.grpFind { margin: 0 0 8px; }

/* categories: › becomes ✓ once nominated */
.cats { margin: 0; padding: 0; list-style: none; border-radius: 2px; overflow: hidden; border: 1px solid rgba(161,231,232,.28); background: rgba(2,24,38,.22); }
.cat { border-top: 1px solid rgba(161,231,232,.14); }
.cats > .cat:first-child { border-top: 0; }
.catRow { position: relative; display: block; width: 100%; margin: 0; padding: 11px 42px 11px 12px; border: 0; background: none; cursor: pointer; text-align: left;
  font: 600 14px/1.25 'Raleway', sans-serif; color: #EAF6F6; -webkit-tap-highlight-color: rgba(162,231,232,.18); touch-action: manipulation; }
.catRow:hover, .catRow:focus-visible { background: rgba(162,231,232,.16); color: #fff; outline: none; }
.catRow .chev { position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-right: 1.6px solid #BFC9CF; border-top: 1.6px solid #BFC9CF; transform: rotate(45deg); }
.catRow:hover .chev { border-color: var(--aqua); }
.cat.saved .catRow .chev { right: 11px; width: 22px; height: 22px; margin-top: -11px; border: 0; border-radius: 50%; transform: none; background: rgba(162,231,232,.22); box-shadow: 0 0 0 1px rgba(162,231,232,.55); }
.cat.saved .catRow .chev::before { content: "\2713"; display: block; text-align: center; font: 700 13px/22px 'Raleway', sans-serif; font-style: normal; color: var(--aqua); }
.cat.saved .catRow { color: #fff; }
.catName { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; font-style: italic; color: var(--aqua); }
.catName:empty { display: none; }
.cat.editing > .catRow { display: none; }
.cats li.none { padding: 10px 12px; font-size: 13px; font-style: italic; font-weight: 500; color: var(--ink); border-top: 1px solid rgba(161,231,232,.14); }
.cats li.really { border-left: 2px solid var(--aqua); font-style: normal; color: var(--ink-hi); }
.cats li.really strong { color: var(--aqua); font-family: 'Playfair Display', serif; }

/* the card opens in place of its row */
.cat > .nom { margin: 0; padding: 0; border: 0; border-radius: 0; background: rgba(2,24,38,.30); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 0 1px rgba(162,231,232,.22); animation: none; }
.nomBox { padding: 0 12px 13px; }
.nomX { transition: background-color .25s, color .25s, transform .25s; }
.nomX.ok { background: var(--aqua); color: #03303C; font-size: 14px; box-shadow: 0 0 10px rgba(162,231,232,.45); }
.nomGo { display: block; width: 100%; margin: 6px 0 0; padding: 13px 10px 12px; border-radius: 2px; cursor: pointer;
  font: 700 12.5px/1 'Playfair Display', serif; letter-spacing: .16em; text-transform: uppercase; color: #E7F4F4; text-shadow: 0 1px 0 rgba(2,44,68,.5);
  background: rgba(162,231,232,.12); border: 1px solid rgba(162,231,232,.5); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  animation: nomGlow 2.8s ease-in-out infinite; transition: background-color .3s, border-color .3s, color .3s; }
.nomGo.ready { background: rgba(162,231,232,.26); border-color: var(--aqua); color: #fff; animation-duration: 2s; }
.nomGo:active { transform: translateY(1px); }
@keyframes nomGlow { 0%, 100% { box-shadow: 0 0 6px rgba(162,231,232,.14); } 50% { box-shadow: 0 0 16px rgba(162,231,232,.42), 0 0 0 2px rgba(162,231,232,.10); } }
.nomGo:not(.ready) { animation-name: nomGlowSoft; }
@keyframes nomGlowSoft { 0%, 100% { box-shadow: 0 0 4px rgba(162,231,232,.08); } 50% { box-shadow: 0 0 10px rgba(162,231,232,.22); } }
.nomDel { display: block; margin: 11px auto 0; padding: 2px 4px; border: 0; background: none; cursor: pointer; color: var(--ink); opacity: .8;
  font: 600 12px/1 'Raleway', sans-serif; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(193,215,215,.5); touch-action: manipulation; }
.nomErr { margin: 4px 0 2px; }
@media (prefers-reduced-motion: reduce) { .clp, .nomX, .grpHd .arr, .mtitle .arr { transition: none; } .nomGo { animation: none; } }
.nomX { font-size: 19px; line-height: 25px; }
#intro .lede { font-family: "Playfair Display", serif; font-weight: 700; font-style: italic; font-size: 16.5px; line-height: 1.3; color: var(--ink-hi); text-wrap: balance; }
