/* Gay Australia: homepage blocks and shared small components.
   Colours come from theme.css custom properties only. */

.au-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- Hero search panel (advanced form) ---------- */
.mk-search-form.mk-search-form--adv{display:grid;grid-template-columns:1fr;gap:12px}
.mk-search-form--adv .mk-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--ink,#16161D);min-width:0}
.mk-search-form--adv .mk-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mk-search-form--adv input,.mk-search-form--adv select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line,#E4E7EC);border-radius:10px;background:var(--bg,#F7F9FA);color:var(--ink,#16161D);font:inherit;font-weight:400}
.mk-search-form--adv input:focus,.mk-search-form--adv select:focus{outline:2px solid var(--accent,#0B7C86);outline-offset:1px;background:var(--surface,#fff)}
.mk-search-form--adv button{height:auto;min-height:48px;padding:12px 18px;border:0;border-radius:12px;background:var(--accent,#0B7C86);color:var(--on-accent,#fff);font-weight:700;font-size:16px;cursor:pointer}
.mk-search-form--adv button:hover{background:var(--accent-hover,#096870)}
.mk-search-form--adv button:focus-visible{outline:3px solid var(--accent2,#E8590C);outline-offset:2px}
.mk-chip{min-height:36px}

/* ---------- Shared section bits ---------- */
.au-cities,.au-events,.au-safety,.au-premium{padding:48px 0 8px}
.au-cities h2,.au-events h2,.au-safety h2,.au-premium h2{margin:0 0 6px;font-size:clamp(24px,3.2vw,32px);line-height:1.15;letter-spacing:-.02em;color:var(--ink,#16161D)}
.au-lead{margin:0 0 24px;color:var(--muted,#5B6472);font-size:15px;line-height:1.5}
.au-section-head{margin-bottom:24px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}
.au-section-head .au-lead{margin-bottom:0}
.au-more{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--accent,#0B7C86);font-weight:700;text-decoration:none}
.au-more:hover{color:var(--accent-hover,#096870);text-decoration:underline}
.au-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border-radius:12px;background:var(--accent,#0B7C86);color:var(--on-accent,#fff);font-weight:700;text-decoration:none}
.au-btn:hover{background:var(--accent-hover,#096870)}
.au-more:focus-visible,.au-btn:focus-visible,.au-city:focus-visible,.au-event a:focus-visible,.au-report:focus-visible{outline:3px solid var(--accent2,#E8590C);outline-offset:2px}

/* ---------- Cities ---------- */
.au-cities__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.au-city{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:14px 18px;background:var(--surface,#fff);border:1px solid var(--line,#E4E7EC);border-radius:16px;color:var(--ink,#16161D);text-decoration:none;transition:border-color .15s,background-color .15s,transform .15s}
.au-city:hover{border-color:var(--accent,#0B7C86);background:var(--accent-soft,#E3F3F4);transform:translateY(-1px)}
.au-city__text{display:flex;flex-direction:column;min-width:0}
.au-city__text strong{font-size:18px;line-height:1.2}
.au-city__text small{font-size:14px;color:var(--muted,#5B6472)}
.au-city__arrow{color:var(--accent,#0B7C86);font-size:20px;flex:none}

/* ---------- Events ---------- */
.au-events__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.au-event{display:flex;flex-direction:column;background:var(--surface,#fff);border:1px solid var(--line,#E4E7EC);border-radius:18px;overflow:hidden;min-width:0}
.au-event__bar{height:8px;background:var(--stripe,linear-gradient(90deg,#0B7C86,#E8590C))}
.au-event__body{display:flex;flex-direction:column;gap:8px;flex:1;padding:18px 20px 20px}
.au-event__date{color:var(--accent,#0B7C86);font-size:14px;font-weight:700}
.au-event__title{margin:0;font-size:19px;line-height:1.25}
.au-event__title a{color:var(--ink,#16161D);text-decoration:none}
.au-event__title a:hover{text-decoration:underline}
.au-event__city{color:var(--muted,#5B6472);font-size:14px}
.au-event__link{margin-top:auto;display:inline-flex;align-items:center;min-height:44px;color:var(--ink,#16161D);font-weight:600;text-decoration:underline}

/* ---------- Safety ---------- */
.au-safety__panel{display:grid;grid-template-columns:1fr;gap:28px;padding:24px;background:var(--surface,#fff);border:1px solid var(--line,#E4E7EC);border-radius:24px}
.au-safety__intro{min-width:0}
.au-safety__tips{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.au-tip{padding:18px;background:var(--bg,#F7F9FA);border:1px solid var(--line,#E4E7EC);border-radius:16px}
.au-tip__num{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-bottom:10px;border-radius:50%;background:var(--accent,#0B7C86);color:var(--on-accent,#fff);font-weight:800;font-size:14px}
.au-tip h3{margin:0 0 6px;font-size:17px;color:var(--ink,#16161D)}
.au-tip p{margin:0;color:var(--muted,#5B6472);font-size:15px;line-height:1.5}
.au-safety-note{margin:0 0 14px;padding:16px;border-radius:14px;background:var(--accent-soft,#E3F3F4);color:var(--ink,#16161D);font-size:15px;line-height:1.5}
.au-safety-note>strong:first-child{display:block;margin-bottom:4px}
.au-safety-note p{margin:0}
.au-safety-note a{color:var(--accent,#0B7C86);font-weight:700}

/* ---------- Premium table ---------- */
.au-premium__table{overflow-x:auto;background:var(--surface,#fff);border:1px solid var(--line,#E4E7EC);border-radius:20px}
.au-premium table{width:100%;min-width:480px;border-collapse:collapse;font-size:16px}
.au-premium th,.au-premium td{padding:16px 20px;text-align:center;border-top:1px solid var(--line,#E4E7EC)}
.au-premium thead th{border-top:0;font-weight:700;color:var(--ink,#16161D)}
.au-premium th[scope="row"],.au-premium thead th:first-child{text-align:left;font-weight:600}
.au-premium thead th:first-child{color:var(--muted,#5B6472)}
.au-premium td{color:var(--muted,#5B6472)}
.au-premium thead .au-premium__col{background:var(--accent,#0B7C86);color:var(--on-accent,#fff)}
.au-premium td.au-premium__col{background:var(--accent-soft,#E3F3F4);color:var(--ink,#16161D);font-weight:700}
.au-premium__cta{margin:20px 0 0}

/* ---------- Badges ---------- */
.au-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;background:var(--accent-soft,#E3F3F4);color:var(--accent,#0B7C86);font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap;vertical-align:middle}
.au-badge--verified::before{content:"\2713";font-weight:800}
.au-badge--online{background:var(--surface,#fff);color:var(--ink,#16161D);border:1px solid var(--line,#E4E7EC)}
.au-badge--online::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent2,#E8590C)}

/* ---------- Notice (addnews) ---------- */
.au-notice{margin:12px 0;padding:14px 16px;border:1px solid var(--line,#E4E7EC);border-left:4px solid var(--accent,#0B7C86);border-radius:12px;background:var(--accent-soft,#E3F3F4);color:var(--ink,#16161D);font-size:14px;line-height:1.5}
.au-notice--warning{border-left-color:var(--accent2,#E8590C)}
.au-notice__title{display:block;margin-bottom:4px;font-weight:800;color:var(--ink,#16161D)}
.au-notice__cta{display:inline-flex;align-items:center;min-height:44px;color:var(--accent,#0B7C86);font-weight:700;text-decoration:underline}
.au-check{display:flex;align-items:flex-start;gap:10px;min-height:44px}

/* ---------- Report link (fullstory) ---------- */
.au-report{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:var(--muted,#5B6472);font-size:14px;text-decoration:underline}
.au-report:hover{color:var(--accent,#0B7C86)}

/* ---------- Larger screens ---------- */
@media (min-width:760px){
  .au-cities,.au-events,.au-safety,.au-premium{padding-top:64px}
  .au-safety__panel{grid-template-columns:minmax(260px,1fr) 2fr;padding:36px;gap:32px}
}
@media (max-width:420px){
  .mk-search-form--adv .mk-field-row{gap:8px}
  .au-premium th,.au-premium td{padding:12px 14px}
}
@media (prefers-reduced-motion:reduce){.au-city{transition:none}.au-city:hover{transform:none}}

/* ---------- Legibility fixes ---------- */
.mk-profile-facts small{font-size:12px;color:rgba(255,255,255,.78);margin-bottom:4px}
.mk-profile-facts b{font-size:15px;color:#fff}
.mk-profile-place{font-size:15px;color:rgba(255,255,255,.92)}
.mk-hero .au-report,.mk-profile-hero .au-report,[class*="profile"] .au-report{color:rgba(255,255,255,.88)}
.au-report{color:inherit;opacity:.9}
.mk-nav__link{white-space:nowrap}
.mk-nav{gap:2px}
@media(min-width:781px) and (max-width:1280px){.mk-nav__link{padding:9px 8px;font-size:13px}}

/* ---------- Semantic reds (errors / destructive actions) stay red in every theme ---------- */
.btn--danger{color:#FF8A94;border:1px solid rgba(255,107,129,.35);background:rgba(255,107,129,.10)}
.btn--danger:hover{color:#fff;border-color:rgba(255,107,129,.6);background:rgba(255,107,129,.22)}
.comment-error-message{border-color:#F5B8BF;background:#FFF1F2;color:#A4162C;box-shadow:0 8px 22px rgba(164,22,44,.08)}
.comment-error-message::before{background:#D92D43;color:#fff}
#DLEPush .DLEPush-notification.push-error{border-left-color:#D92D43!important}
#DLEPush .DLEPush-notification.push-error::before{background:#D92D43!important;color:#fff!important}

/* ---------- Verified seal (replaces the pill badge) ---------- */
.au-verified-seal{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--accent,#0B7C86);border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.25);flex:none}
.au-verified-seal svg{width:60%;height:60%;fill:none;stroke:var(--on-accent,#fff);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.mk-profile-photo .au-verified-seal{position:absolute;top:12px;left:12px;width:38px;height:38px;z-index:2}
.au-verified-seal--inline{width:18px;height:18px;margin-left:6px;vertical-align:-3px;border-width:0;box-shadow:none}

/* ---------- Compact hero ---------- */
.mk-hero__grid{min-height:0;gap:28px;padding:26px 0 clamp(54px,7vw,84px)}
.mk-hero h1{font-size:clamp(30px,3.6vw,42px);line-height:1.05;letter-spacing:-.03em;margin:10px 0 8px}
.mk-hero p{font-size:15px;max-width:520px}
.mk-hero__stats{margin-top:12px}
.mk-search-panel{padding:16px}
.mk-search-form.mk-search-form--adv{grid-template-columns:1fr 1fr;gap:10px 12px}
.mk-search-form--adv .mk-field-row{grid-column:auto}
.mk-search-form--adv button{grid-column:1/-1}
@media(max-width:560px){.mk-search-form.mk-search-form--adv{grid-template-columns:1fr}.mk-hero__grid{padding-bottom:64px}}


/* ---------- Compact mobile search (cities only, no states) ---------- */
.mk-search-panel__chips{margin:0 0 12px}
.mk-search-panel .mk-chips{display:flex;flex-wrap:wrap;gap:8px}
.mk-search-form.mk-search-form--adv{grid-template-columns:1fr 1fr;gap:10px 12px}
@media(max-width:560px){
  .mk-search-form.mk-search-form--adv{grid-template-columns:1fr 1fr;gap:8px}
  .mk-search-form--adv .mk-field-row{grid-column:1/-1}
  .mk-search-form--adv .mk-field{font-size:12px;gap:4px}
  .mk-search-form--adv input,.mk-search-form--adv select{min-height:40px;padding:8px 10px}
  .mk-search-form--adv button{grid-column:auto;align-self:end;min-height:40px;padding:8px 12px;font-size:15px;white-space:nowrap}
  .mk-search-panel{padding:14px}
  .mk-search-panel__head{margin-bottom:10px}
}

/* City chips act as a selector inside the search form */
.mk-search-panel .mk-chip{cursor:pointer}
.mk-search-panel .mk-chip.is-selected{background:var(--accent,#0B7C86);border-color:var(--accent,#0B7C86);color:var(--on-accent,#fff)}
.mk-search-panel .mk-chip.is-selected span{color:inherit}
.mk-city-all{display:inline-block;margin:-4px 0 10px;font-size:13px;font-weight:600;color:var(--accent,#0B7C86)}
.mk-city-all[hidden]{display:none}

/* ---------- Verified seal: compact on mobile ---------- */
@media (max-width:700px){
  .mk-profile-photo .au-verified-seal{top:6px;left:auto;right:6px;width:22px;height:22px;border-width:1.5px;box-shadow:0 1px 4px rgba(0,0,0,.3)}
  .mk-profile-photo .au-verified-seal svg{width:62%;height:62%;stroke-width:3.2}
}

/* ---------- Profile: city + looking-for blocks ---------- */
.mk-profile-purpose--looking{margin-top:10px}
.mk-profile-purpose--city strong a{color:inherit;text-decoration:none}
.mk-lf-list{display:flex;flex-wrap:wrap;gap:5px}
.mk-lf-list span{display:inline-block;padding:4px 9px;border-radius:999px;background:rgba(var(--accent-rgb),.22);color:var(--n-tint,#fff);font-size:12px;font-weight:700;line-height:1.2}
@media (max-width:700px){.mk-lf-list span{font-size:11px;padding:3px 8px}.mk-profile-purpose--looking{margin-top:6px}}

/* ---------- Add form: looking-for chips ---------- */
.lf-chips{display:flex;flex-wrap:wrap;gap:8px}
.lf-chip{position:relative;cursor:pointer}
.lf-chip input{position:absolute;opacity:0;pointer-events:none}
.lf-chip span{display:inline-block;padding:9px 14px;border:1px solid var(--n-tint,#e0dce5);border-radius:999px;background:#fff;font-size:13px;font-weight:600;transition:.15s ease}
.lf-chip input:checked+span{background:var(--accent,#0B7C86);border-color:var(--accent,#0B7C86);color:var(--on-accent,#fff)}
.lf-chip input:focus-visible+span{outline:2px solid var(--accent,#0B7C86);outline-offset:2px}

/* ---------- Profile: interests inside "About me" ---------- */
.mk-profile-interests{margin-top:18px;padding-top:16px;border-top:1px solid rgba(0,0,0,.08)}
.mk-profile-interests>small{display:block;margin-bottom:10px;font-size:11px;font-weight:800;letter-spacing:.08em;color:#8a8590}
.mk-profile-interests .interests-list{display:block;font-size:14px;line-height:1.7;color:#3b3740}
.mk-profile-interests .interests-list .interest-tag{display:inline;padding:0;border-radius:0;background:none;color:inherit;font-size:inherit;font-weight:600}
.mk-profile-interests .interests-list .interest-tag:not(:last-child)::after{content:"·";margin:0 9px;font-weight:400;color:#b3aeb9}

.mk-profile-purpose--city strong a:hover{text-decoration:underline;text-underline-offset:3px}

/* ---------- Height: feet/inches next to cm ---------- */
.au-ft{margin-left:6px;font-weight:500;opacity:.7;white-space:nowrap}


/* ---------- Mobile menu: "More" submenu opens inline on tap ---------- */
@media (max-width:780px){
  .mk-nav__more{position:static}
  .mk-nav__more .mk-nav__dropdown{display:none;position:static;box-shadow:none;border:0;border-radius:0;padding:0 0 4px 12px;min-width:0;background:transparent}
  .mk-nav__more.is-open .mk-nav__dropdown{display:grid}
  .mk-nav__more:hover .mk-nav__dropdown{display:none}
  .mk-nav__more.is-open:hover .mk-nav__dropdown{display:grid}
  .mk-nav__more-toggle span{display:inline-block;transition:transform .15s ease}
  .mk-nav__more.is-open .mk-nav__more-toggle span{transform:rotate(180deg)}
  .mk-nav__dropdown a{padding:11px 12px;font-size:14px}
}

/* ---------- Profile: "Looking for" values separated by a dot ---------- */
.mk-lf-list{display:block;line-height:1.5}
.mk-lf-list span,.mk-lf-list .interest-tag{display:inline;padding:0;border-radius:0;background:none;color:#fff;font-size:13px;font-weight:700;line-height:1.5}
.mk-lf-list span:not(:last-child)::after{content:"\00B7";margin:0 8px;font-weight:400;opacity:.7}
@media (max-width:700px){.mk-lf-list span,.mk-lf-list .interest-tag{font-size:12px;padding:0}}

/* ---------- Profile: facts row (Gender / Role / Height) stays on one line ---------- */
.au-ft{margin-left:4px;font-size:.78em}
@media (max-width:700px){
  .mk-profile-facts{overflow:visible;flex-wrap:nowrap;gap:5px}
  .mk-profile-facts>div{min-width:0;flex:0 1 auto;padding:7px 8px}
  .mk-profile-facts>div:last-child{flex:1 1 auto}
  .mk-profile-facts b[data-height]{font-size:12px;white-space:nowrap}
  .mk-profile-facts b[data-height] .au-ft{font-size:10px;margin-left:3px;opacity:.75}
}


/* ---------- Short story card: feet/inches were tiny (8px, 70% opacity) ---------- */
.mk-tag .au-ft,
.mk-feed .mk-tag .au-ft,
.mk-profile-card__meta .au-ft{
  font-size:inherit;      /* same size as "178 cm" */
  font-weight:inherit;
  opacity:1;
  margin-left:4px;
}
.mk-profile-card__meta [data-height]{white-space:nowrap}

/* ---------- Search: height from/to pair ---------- */
.profile-search-range{display:flex;gap:8px}
.profile-search-range input{flex:1 1 0;min-width:0;width:100%}
