/* Real Estate (redesigned 8 Oct 2026, Claude BFD92): no cards, no pop-ups. A clean list, forms in place, calm loader. */
.re { max-width: 860px; margin: 0 auto; text-align: left; }
.re-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.re-head h2 { margin: 0; color: #fff; font-size: 26px; letter-spacing: -.02em; }
.re-head p { margin: 4px 0 0; color: var(--mut, #a1a1aa); font-size: 14.5px; }
.re-tabs { display: flex; gap: 22px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 6px; }
.re-tabs button { position: relative; padding: 10px 0 12px; border: 0; background: none; color: var(--mut, #a1a1aa); font: 600 14.5px Inter, sans-serif; cursor: pointer; }
.re-tabs button em { margin-left: 6px; color: var(--dim, #71717a); font-style: normal; font-weight: 600; }
.re-tabs button[aria-pressed="true"] { color: #fff; }
.re-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #fff; }
.re-note { margin: 14px 0 0; color: var(--mut, #a1a1aa); font-size: 14px; }
.re-note.bad { color: #f87171; }
.re-note a, .re-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.re-link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.re-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #22d3ee; vertical-align: 1px; animation: reBlink 1.4s ease-in-out infinite; }
@keyframes reBlink { 50% { opacity: .25; } }

.re-list { list-style: none; margin: 0; padding: 0; }
.re-row { display: grid; grid-template-columns: 84px 1fr auto auto; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); animation: reIn .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes reIn { from { opacity: 0; transform: translateY(4px); } }
.re-pic { display: block; width: 84px; height: 56px; border-radius: 10px; overflow: hidden; background: #111218; }
.re .re-pic img, .re .re-pic svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.re-main { min-width: 0; }
.re-main b { display: block; overflow: hidden; color: #fff; font-size: 15.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.re-main small { display: block; margin-top: 3px; overflow: hidden; color: var(--mut, #a1a1aa); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.re-price { text-align: right; }
.re-price b { display: block; color: #fff; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.re-price small { color: var(--dim, #71717a); font-size: 12px; }
.re-act { display: flex; align-items: center; gap: 12px; min-width: 70px; justify-content: flex-end; }
.re-yours { color: var(--dim, #71717a); font-size: 13px; }
.re-text-btn { padding: 0; border: 0; background: none; color: #f87171; font: 600 13.5px Inter, sans-serif; cursor: pointer; }
.re-empty { display: grid; gap: 6px; padding: 54px 0; text-align: center; color: var(--mut, #a1a1aa); font-size: 14.5px; }
.re-empty b { color: #fff; font-size: 17px; font-weight: 600; }

.re-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 40px 0 0; }
.re-facts dt { color: #fff; font-size: 13px; font-weight: 600; }
.re-facts dd { margin: 4px 0 0; color: var(--mut, #a1a1aa); font-size: 13px; line-height: 1.5; }

.re-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 18px; padding: 0; border: 0; background: none; color: var(--mut, #a1a1aa); font: 600 14px Inter, sans-serif; cursor: pointer; }
.re-back:hover { color: #fff; }
.re .re-back svg { width: 18px; height: 18px; }
.re-form { max-width: 520px; margin: 0 auto; }
.re-form h2 { margin: 0; color: #fff; font-size: 24px; letter-spacing: -.02em; }
.re-sub { margin: 4px 0 22px; color: var(--mut, #a1a1aa); font-size: 14px; }
.re-desc { margin: 0 0 18px; color: #d4d4d8; font-size: 14.5px; line-height: 1.55; }
.re-hero { margin-bottom: 18px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 7; background: #111218; }
.re .re-hero img, .re .re-hero svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.re-form form { display: grid; gap: 16px; }
.re-form label { display: grid; gap: 7px; color: #e4e4e7; font-size: 13.5px; font-weight: 600; }
.re-form label small { color: var(--dim, #71717a); font-weight: 500; }
.re-form input:not([type=checkbox]), .re-form select, .re-form textarea { width: 100%; padding: 11px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.03); color: #fff; font: 500 15px Inter, sans-serif; }
.re-form input:focus, .re-form select:focus, .re-form textarea:focus { outline: none; border-color: rgba(255,255,255,.35); }
.re-form textarea { resize: vertical; }
.re-form .re-check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.re-sum { margin: -4px 0 0; color: var(--mut, #a1a1aa); font-size: 13.5px; }
.re-sum b { color: #fff; font-weight: 600; }
.re-warn { margin: 0; color: var(--mut, #a1a1aa); font-size: 13px; line-height: 1.55; }
.re-err { min-height: 0; margin: 0; color: #f87171; font-size: 13.5px; }
.re-err:empty { display: none; }
.re-form .nx-btn { justify-self: start; min-width: 160px; }

/* The calm loader and the drawn tick, straight on the page */
.re-work { display: grid; justify-items: center; padding: 70px 0 60px; text-align: center; }
.re-stage { position: relative; width: 104px; height: 104px; margin-bottom: 26px; }
.re-spin { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .4s, transform .4s; }
.re-spin::before, .re-spin::after { content: ""; position: absolute; inset: 0; border: 2.5px solid transparent; border-radius: 50%; }
.re-spin::before { border-top-color: #22d3ee; border-right-color: rgba(34,211,238,.2); animation: reSpin 1.2s linear infinite; }
.re-spin::after { inset: 11px; border-bottom-color: #a78bfa; border-left-color: rgba(167,139,250,.2); animation: reSpin 1.9s linear infinite reverse; }
.re-work .re-spin img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(139,92,246,.5)); }
@keyframes reSpin { to { transform: rotate(360deg); } }
.re-work .re-tick, .re-work .re-cross { position: absolute; inset: 4px; width: 96px; height: 96px; opacity: 0; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.re-work .re-tick { stroke: #00ff9d; }
.re-work .re-cross { stroke: #f87171; }
.re-tick circle, .re-cross circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.re-tick path, .re-cross path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.re-work.ok .re-spin, .re-work.bad .re-spin { opacity: 0; transform: scale(.75); }
.re-work.ok .re-tick, .re-work.bad .re-cross { opacity: 1; }
.re-work.ok circle, .re-work.bad circle { animation: reDraw .55s ease-out forwards; }
.re-work.ok path, .re-work.bad path { animation: reDraw .4s .45s ease-out forwards; }
@keyframes reDraw { to { stroke-dashoffset: 0; } }
.re-line { min-height: 1.5em; margin: 0; color: #fff; font: 600 17px Inter, sans-serif; letter-spacing: -.01em; transition: opacity .28s ease, transform .28s ease; }
.re-line.out { opacity: 0; transform: translateY(3px); }
.re-sub2 { min-height: 1.3em; margin: 6px 0 0; color: var(--mut, #a1a1aa); font-size: 14px; }
.re-actions { display: flex; gap: 10px; margin-top: 22px; }
.re-actions:empty { display: none; }

/* My island > Sell uses these too: plain text, no boxes */
.estate-warn { margin: 0; color: var(--mut, #a1a1aa); font-size: 13px; line-height: 1.55; }
.estate-warn b { color: #fff; }
.estate-breakdown { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--mut, #a1a1aa); font-size: 13.5px; }
.estate-breakdown b { color: #fff; font-weight: 600; }

@media (max-width: 640px) {
  .re-head { align-items: flex-start; flex-direction: column; }
  .re-row { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .re-pic { width: 64px; height: 44px; }
  .re-act { grid-column: 2 / -1; justify-content: flex-start; min-width: 0; }
  .re-facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .re *, .re-work * { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition: none !important; } }

/* For sale: picture cards with a black and gold price pill (9 Oct 2026) */
.re-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 16px 0 0; padding: 0; }
.re-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .3s; animation: reIn .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 50ms); }
.re-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 20px 44px -24px rgba(0,0,0,.95); }
.re-card-pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: #0d0f14; cursor: pointer; overflow: hidden; }
.re .re-card-pic img, .re .re-card-pic svg { display: block; width: 100%; height: 100%; object-fit: cover; stroke: none; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.re-card:hover .re-card-pic img, .re-card:hover .re-card-pic svg { transform: scale(1.04); }
.re-pill { position: absolute; z-index: 2; top: 12px; right: 12px; display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 12px; border-radius: 999px; background: rgba(6,6,8,.88); box-shadow: inset 0 0 0 1.5px #d4af37, 0 6px 18px -6px rgba(0,0,0,.8); backdrop-filter: blur(6px); color: #e9c75f; font: 600 11.5px Inter, sans-serif; letter-spacing: .02em; }
.re-pill b { color: #fff3c4; font: 700 14px 'JetBrains Mono', ui-monospace, monospace; }
.re-mine { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(6,6,8,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: #fff; font: 600 11px Inter, sans-serif; }
.re-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.re-detail .re-hero { position: relative; }
.re-detail .re-pill { top: 14px; right: 14px; padding: 8px 14px; }
.re-detail .re-pill b { font-size: 16px; }
.re-detail .re-actions { margin-top: 18px; }
@media (max-width: 600px) { .re-cards { grid-template-columns: 1fr; } }
.re-detail .re-hero { aspect-ratio: 16 / 9; }
/* Real Estate 3D tours (13 Oct 2026) */
.re-tour { position: absolute; z-index: 2; bottom: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(6,6,8,.82); box-shadow: inset 0 0 0 1px rgba(34,211,238,.5); color: #a5f3fc; font: 700 11px Inter, sans-serif; }
.re-actions .nx-btn svg { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; }
