/* Public look and poll pages: the blue hero background with white glass cards. */
body.pub { min-height: 100vh; color: #fff; background: radial-gradient(120% 80% at 80% 0%, #6cc6ff 0%, #1e9cf0 38%, #0f5fa8 100%); background-attachment: fixed; }
.pub-main { max-width: 1120px; margin: 0 auto; padding: 112px 16px 64px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: start; }
.pub-media { padding: 12px; border-radius: 30px; overflow: hidden; }
.pub-media img, .pub-media video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #0b1a2b; }
.pub-side { min-width: 0; }
.pub-side.wide { grid-column: 1 / -1; text-align: center; max-width: 640px; margin: 0 auto; }
.pub-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.pub h1 { margin: 0 0 12px; font-size: clamp(30px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pub-lead { margin: 0 0 24px; font-size: 17px; opacity: .92; }
.pub-try { margin-bottom: 32px; }
.pub-h2 { margin: 0 0 12px; font-size: 20px; }
.pub-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pub-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 20px; color: #101418;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)); border: 1px solid #fff; box-shadow: 0 10px 26px rgba(10,50,100,.18); }
.pub-items li img, .pub-dot { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #eef4f8; display: block; }
.pub-items b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.3; overflow: hidden; overflow-wrap: anywhere; }
.pub-items small { color: #5b636b; }
.pub-items .btn { padding: 8px 16px; font-size: 14px; }
.pub-items .pub-empty { display: block; grid-template-columns: none; }
.pub-note { margin: 16px 0; font-size: 14px; opacity: .85; }
.poll-grid { grid-column: 1 / -1; width: 100%; max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.poll-card { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 12px; padding: 12px; border-radius: 28px; color: #101418; transition: transform .2s ease;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.74)); border: 1px solid #fff; box-shadow: 0 14px 34px rgba(10,50,100,.22), inset 0 2px 1px #fff; }
.poll-card:hover:not(:disabled) { transform: translateY(-4px); }
.poll-card:disabled { cursor: default; }
.poll-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.poll-card.mine { box-shadow: 0 0 0 3px #fff, 0 18px 40px rgba(10,50,100,.3); }
.poll-card img, .poll-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: #0b1a2b; }
.poll-bar { height: 8px; border-radius: 99px; background: rgba(16,20,24,.08); overflow: hidden; }
.poll-bar i { display: block; height: 100%; background: #1e9cf0; border-radius: inherit; transition: width .6s ease; }
.poll-meta { font-weight: 700; text-align: center; padding-bottom: 4px; }
@media (max-width: 760px) {
  .pub-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pub-media { max-width: 420px; width: 100%; margin: 0 auto; }
  .pub-items li { grid-template-columns: 48px minmax(0, 1fr); }
  .pub-items li img, .pub-dot { width: 48px; height: 48px; }
  .pub-items .btn { grid-column: 1 / -1; text-align: center; }
  .poll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* on the blue page the main action is white, like the landing's final block */
.pub .btn.primary { background: #fff; color: #0b6fc4; border-color: #fff; box-shadow: 0 14px 30px rgba(0,50,110,.3); }
.pub .btn.primary:hover { filter: none; background: #f2f9ff; }

/* "Dress me": one white card with the form on the blue page */
.dress-main { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.dress-card { padding: 24px; border-radius: 28px; color: #101418; background: #fff; }
.dress-card h2 { margin: 0 0 16px; font-size: 20px; }
.dress-form { display: grid; gap: 12px; }
.dress-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.dress-form small { font-weight: 400; color: #5b636b; }
.dress-form input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px; border: 1px solid #dbe5ee; font: inherit; font-size: 16px; background: #f9fbfd; }
.dress-form input:focus { outline: 2px solid #1e9cf0; outline-offset: 1px; background: #fff; }
.dress-form .btn { justify-content: center; min-height: 50px; }
.dress-card .btn.primary { background: linear-gradient(180deg, #3fb0f5, #1e9cf0); color: #fff; border-color: #1e9cf0; }
.dress-note { margin: 0; font-size: 14px; color: #0b5c94; }
.dress-note:empty { display: none; }
.dress-count { margin: 16px 0 0; font-size: 13.5px; color: #5b636b; }
.dress-own { text-align: center; }
.dress-own p { margin: 0 0 12px; opacity: .92; }
