/* ---------- Predictions (mockup) — gold #f5c542 marks a prediction; site green stays the brand/CTA color ---------- */
.lt-row.is-pred {
  position: relative;
  margin: .45rem -.45rem;
  padding: .6rem .45rem .55rem;
  border: 1px solid rgba(245, 197, 66, .55);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(245, 197, 66, .075), rgba(245, 197, 66, .02) 70%);
  box-shadow: 0 0 0 1px rgba(245, 197, 66, .08), 0 0 16px rgba(245, 197, 66, .16);
}
.lt-row.is-pred + .lt-row:not(.is-pred) { border-top: 0; }
.lt-list > .lt-row.is-pred:first-child { margin-top: .5rem; }
.lt-list > .lt-row.is-pred:last-child { margin-bottom: .5rem; border-bottom: 1px solid rgba(245, 197, 66, .55); }
.lt-row.is-pred.is-graded.is-miss { border-color: rgba(245, 197, 66, .3); box-shadow: 0 0 10px rgba(245, 197, 66, .07); background: linear-gradient(180deg, rgba(245, 197, 66, .04), rgba(245, 197, 66, 0) 70%); }
.pred-tags { gap: .35rem; margin-top: .22rem; white-space: nowrap; flex-wrap: nowrap; }
.pred-pill {
  display: inline-flex; align-items: center; height: 17px; padding: 0 .45rem; border-radius: 999px;
  background: #f5c542; color: #14181c; font-weight: 800; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1; flex: none;
}
.pred-res {
  display: inline-flex; align-items: center; height: 17px; padding: 0 .4rem; border-radius: 999px; border: 1px solid currentColor;
  font-weight: 800; font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; flex: none;
}
.pred-res.is-hit { color: var(--green); background: rgba(0, 224, 84, .08); }
.pred-res.is-miss { color: var(--red); background: rgba(255, 79, 79, .08); }
.pred-res.is-exact { color: #14181c; background: var(--green); border-color: var(--green); }
.pred-res.is-push { color: var(--muted); }
.pred-tags .lt-when { margin-left: .05rem; }
.pred-final { font-size: .74rem; color: var(--muted); margin-top: .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pred-final b { color: var(--white); font-weight: 700; }
.lt-row.is-pred .lt-text + .lt-acts, .lt-row.is-pred .pred-final + .lt-acts { margin-top: .22rem; }

/* No-take prediction cards: auto pick line (same size as .lt-text, muted) + community split bar */
.pred-auto-take {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font-size: .74rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pred-auto-take.is-full { display: block; -webkit-line-clamp: unset; overflow: visible; }
a.pred-auto-take:hover { color: #b7c3ce; }
.pred-split { margin-top: .32rem; min-width: 0; max-width: 100%; }
.pred-split-bar {
  display: flex; height: 5px; width: 100%; max-width: 100%;
  border-radius: 999px; overflow: hidden; background: #2a3036; min-width: 0;
}
.pred-split-seg { display: block; height: 100%; min-width: 0; flex-grow: 0; flex-shrink: 0; }
.pred-split-cap,
.pred-kickoff {
  margin-top: .2rem;
  font-size: .62rem; font-weight: 600; line-height: 1.3;
  color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: .01em;
}
.pred-kickoff { margin-top: .32rem; }
.lt-row.is-pred .pred-auto-take + .lt-acts,
.lt-row.is-pred .pred-split + .lt-acts,
.lt-row.is-pred .pred-kickoff + .lt-acts { margin-top: .22rem; }
@media (min-width: 901px) {
  .pred-auto-take { font-size: .80rem; }
}
@media (max-width: 600px) {
  .pred-auto-take { font-size: .70rem; }
}


/* Compact winner-only prediction (no written take): slim pill, subtle gold accent.
   Do not change type sizes on full .lt-row.is-pred cards. */
.lt-row.is-pred.is-pred-compact {
  margin: .22rem -.45rem;
  padding: .32rem .5rem;
  border: 1px solid rgba(245, 197, 66, .35);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(245, 197, 66, .05), rgba(245, 197, 66, .012) 85%);
  box-shadow: none;
}
.lt-list > .lt-row.is-pred.is-pred-compact:first-child { margin-top: .35rem; }
.lt-list > .lt-row.is-pred.is-pred-compact:last-child { margin-bottom: .35rem; border-bottom: 1px solid rgba(245, 197, 66, .35); }
.pred-compact {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  width: 100%;
}
.pred-compact-match {
  flex: none;
  display: flex;
  align-items: stretch;
  height: 36px;
  border-radius: 7px;
  overflow: hidden;
  text-decoration: none;
}
.pred-compact-cell {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.pred-compact-div {
  width: 1px;
  align-self: stretch;
  background: rgba(0, 0, 0, .45);
  flex: none;
}
.pred-compact-cell .tlogo,
.pred-compact-cell .tlogo.xs,
.pred-compact-cell .tlogo-wrap,
.pred-compact-cell .tlogo-wrap .tlogo {
  width: 32px;
  height: 32px;
}
.pred-compact-date {
  flex: none;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
a.pred-compact-date:hover { color: #b7c3ce; }
.pred-compact-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  text-align: right;
}
.pred-compact-right .who {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.pred-compact-name {
  display: block;
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.2;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
a.pred-compact-name:hover { color: #fff; }
.pred-compact-pick {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
  white-space: nowrap;
  min-width: 0;
}
.pred-compact-pick-lab {
  font-size: .80rem;
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
}
.pred-compact-pick-logo {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pred-compact-pick-logo .tlogo,
.pred-compact-pick-logo .tlogo.xs,
.pred-compact-pick-logo .tlogo-wrap,
.pred-compact-pick-logo .tlogo-wrap .tlogo {
  width: 16px;
  height: 16px;
}
.pred-compact-pick .pred-ico {
  width: 16px;
  height: 16px;
  font-size: .55rem;
}
@media (max-width: 600px) {
  .pred-compact { gap: .4rem; }
}

/* Latest Takes: bare-pick day card (feed3). 6px top padding so the name line isn't tight to the border;
   name-to-sport-line gap stays tight (unchanged first-line pull-up). Logos and type sizes unchanged. */
.lt-row.is-pred.is-pred-compact.pred-day {
  padding: 6px .55rem .08rem;
  margin: .12rem -.45rem;
}
.pd-top { display: flex; align-items: baseline; gap: 0; min-width: 0; white-space: nowrap; line-height: 1.1; margin: 0; padding: 0; }
.pd-top .who { display: block; min-width: 0; overflow: hidden; flex: 0 1 auto; }
.pd-name { display: block; font-weight: 700; font-size: .86rem; line-height: 1.1; color: var(--white); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.pd-name:hover { color: #fff; }
.pd-meta { flex: none; font-size: .82rem; font-weight: 600; line-height: 1.1; color: var(--muted); }
.pd-dot { margin: 0 .3rem; }
.pd-line { border-top: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
/* Biggest cut: pull the first sport line up under the name row. */
.pd-top + .pd-line { border-top: 0; margin-top: -4px; }
.pd-top + .pd-line .pd-lh { padding-top: 1px; }
.pd-lh {
  appearance: none; -webkit-appearance: none; background: none; border: 0; margin: 0; padding: .16rem 0; color: inherit; font: inherit; text-align: left;
  display: flex; align-items: center; gap: .45rem; width: 100%; min-width: 0; min-height: 36px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pd-lh:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-radius: 6px; }
.pd-n { flex: none; font-size: .80rem; font-weight: 600; line-height: 1; color: var(--muted); white-space: nowrap; }
.pd-cyc { margin-left: auto; flex: none; display: inline-flex; align-items: center; transition: opacity .4s ease; }
.pd-cyc.is-fading { opacity: 0; }
.pd-item { display: inline-flex; align-items: center; gap: .35rem; }
.pd-item[hidden], .pd-list[hidden] { display: none; }
.pd-mark-none { display: inline-block; width: 17px; height: 17px; flex: none; }
.pd-pair { display: inline-flex; gap: 3px; flex: none; }
.pd-cell { width: 26px; height: 26px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pd-cell .tlogo, .pd-cell .tlogo.xs, .pd-cell .tlogo-wrap, .pd-cell .tlogo-wrap .tlogo { width: 20px; height: 20px; }
.pd-cell.is-pick { box-shadow: 0 0 0 2px var(--green); }
.pd-cell.is-other { opacity: .45; }
.pd-pos { flex: none; min-width: 2.3em; text-align: right; font-size: .72rem; font-weight: 600; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-chev { flex: none; width: 7px; height: 7px; margin: 0 3px 3px 1px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .18s; }
.pd-line.is-open .pd-chev { transform: rotate(-135deg); margin-bottom: -3px; }
.pd-line.is-open .pd-cyc, .pd-line.is-open .pd-pos { display: none; }
.pd-line.is-open .pd-chev { margin-left: auto; }
.pd-list { padding: 0 0 .1rem; min-width: 0; }
.pd-row { display: flex; align-items: center; gap: .45rem; min-height: 32px; min-width: 0; text-decoration: none; border-top: 1px solid rgba(255, 255, 255, .05); }
.pd-row-m { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .82rem; font-weight: 700; line-height: 1.2; color: var(--white); white-space: nowrap; }
.pd-row-r { margin-left: auto; flex: none; display: flex; align-items: center; gap: .25rem; }
@media (prefers-reduced-motion: reduce) {
  .pd-cyc, .pd-chev { transition: none; }
}

/* Pick/score tile — matches Anthony's sketch: dark tile, subtle team-colour wash, oversized cropped logo, athletic score */
@font-face {
  font-family: "BS Score"; font-style: italic; font-weight: 800; font-display: swap;
  src: url("../fonts/barlow-condensed-800-italic-latin.woff2") format("woff2");
}
.pred-box {
  position: relative; flex: none; width: 76px; height: 76px; border-radius: 6px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(230, 236, 242, .7); text-decoration: none; display: block;
  background:
    radial-gradient(90% 36% at 50% 74%, color-mix(in srgb, var(--tc) 85%, transparent) 0%, color-mix(in srgb, var(--tc) 35%, transparent) 55%, transparent 100%),
    linear-gradient(180deg, #14181c 0%, #14181c 38%, color-mix(in srgb, var(--tc) 30%, #14181c) 68%, #14181c 100%);
}
.pred-box-logo {
  position: absolute; z-index: 0; width: 126%; height: 126%; left: 50%; top: -24.5%; transform: translateX(-50%);
  object-fit: contain; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}
/* Capitals pick box only: same 1px white outline as .outline-box logos, kept with the existing soft shadow. */
.pred-box-logo.outline-box {
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 2px 4px rgba(0,0,0,.35));
}
/* Rams pick/score posters everywhere (.pred-box): feed take cards, Predictions
   filter, game-page prediction list, Tonight's Lock desk. Navy fill stays. */
.pred-box[data-tid="NFL_LAR"] .pred-box-logo {
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 2px 4px rgba(0,0,0,.35));
}
.pred-box-logo.is-badge { display: flex; align-items: center; justify-content: center; }
.pred-box::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(20,24,28,0), rgba(20,24,28,.4)); pointer-events: none; }
.pred-box-score {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 2.6px; text-align: center; white-space: nowrap;
  font-family: "BS Score", "Barlow Condensed", "Oswald", Impact, var(--display); font-style: italic; font-weight: 800;
  font-size: 26px; line-height: 1; letter-spacing: .01em; color: #fff;
  text-shadow: 0 .86px 1.7px rgba(0,0,0,.7), 0 2.6px 6.9px rgba(0,0,0,.65);
  transform: skewX(-4deg);
}
.pred-box-score.is-long { font-size: 21px; bottom: 4.3px; }
.pred-box-mark {
  position: absolute; top: 3.5px; left: 3.5px; z-index: 3; width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .57rem; font-weight: 900; line-height: 1;
  box-shadow: 0 0 0 1.3px rgba(20,24,28,.85);
}
.pred-box-mark.is-hit { background: var(--green); color: #07240f; }
.pred-box-mark.is-miss { background: var(--red); color: #fff; }

/* Game page: composer inside the gold "Your pick" panel */
.pred-compose { margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed rgba(245, 197, 66, .35); }
.pred-c-h { display: flex; align-items: center; gap: .45rem; margin-bottom: .4rem; white-space: nowrap; min-width: 0; }
.pred-c-sub { font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.pred-scores { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4rem; }
.pred-sc {
  display: flex; align-items: center; gap: .4rem; min-width: 0; padding: .25rem .3rem .25rem .5rem; min-height: 44px;
  border: 1px solid var(--line); border-radius: var(--r); background: #0f1215;
}
.pred-sc-abbr { font-family: var(--display); font-weight: 800; font-size: .92rem; color: #fff; flex: none; }
.pred-sc input {
  margin-left: auto; width: 3.6rem; flex: none; text-align: center; font-family: var(--display); font-weight: 800; font-size: 1.12rem;
  padding: .2rem .3rem; background: var(--bg); border-color: var(--line2); -moz-appearance: textfield;
}
.pred-sc input::-webkit-outer-spin-button, .pred-sc input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pred-sc input:focus { outline: none; border-color: #f5c542; box-shadow: 0 0 0 1px #f5c542; }
.pred-dash { color: var(--muted); font-weight: 800; }
.pred-text { margin-top: .4rem; resize: vertical; min-height: 64px; font-size: .85rem; line-height: 1.4; }
.pred-text:focus { outline: none; border-color: rgba(245, 197, 66, .7); }
.pred-actions { display: flex; align-items: center; gap: .55rem; margin-top: .45rem; white-space: nowrap; min-width: 0; }
.pred-actions .btn { flex: none; }
.pred-actions .btn[disabled] { opacity: .45; cursor: not-allowed; }
.pred-note { font-size: .72rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pred-panel .panel-h h2 { color: #f5c542; }
.pred-panel .pred-list { background: transparent; border: 0; padding: 0 .45rem; margin-bottom: 0; }
.pred-detail { padding: 0 .45rem; }
.pred-detail .lt-text.pred-full { display: block; -webkit-line-clamp: unset; overflow: visible; margin: 0; }
.lt-list.pred-detail { background: transparent; border: 0; padding: 0; }
.lt-list.pred-detail > .lt-row.is-pred { margin: 0 0 .7rem; padding: .75rem .7rem .7rem; }
.pred-graded-line { display: flex; align-items: center; gap: .45rem; margin-top: .45rem; padding-top: .45rem; border-top: 1px dashed rgba(245, 197, 66, .35); white-space: nowrap; min-width: 0; overflow: hidden; }
.pred-gl-score { font-family: var(--display); font-weight: 800; color: #fff; font-size: .92rem; flex: none; }
.pred-gl-sub { font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pred-gl-link { margin-left: auto; font-size: .75rem; font-weight: 700; color: var(--green); flex: none; }
/* v3: smaller "at" in the title; icon-only grading */
.pred-ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 17px; height: 17px; border-radius: 50%;
  font-size: .7rem; font-weight: 900; line-height: 1;
}
.pred-ico.is-hit { background: var(--green); color: #07240f; }
.pred-ico.is-miss { background: var(--red); color: #fff; }
.pred-ico.is-push { background: var(--line2); color: var(--white); }

/* Submitted prediction: read-only summary until Edit prediction is tapped */
.pick-team.is-static { cursor: default; }
.pick-team.is-static:hover { border-color: var(--line); }
.pick-team.is-static.on:hover { border-color: #00e054; }
.pred-score-line {
  display: flex; align-items: baseline; gap: .35rem; margin-top: .15rem;
  font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: #fff;
  white-space: nowrap; min-width: 0; overflow: hidden;
}
.pred-score-line .pred-sc-abbr { font-size: .92rem; flex: none; }
.pred-score-line .num { flex: none; }
.pred-score-line .pred-dash { flex: none; }
.pred-take-text {
  margin: .4rem 0 0; font-size: .85rem; line-height: 1.4; color: var(--text);
  overflow-wrap: anywhere; word-break: break-word;
}
.pred-del-link { display: inline-block; margin-top: .4rem; font-size: .75rem; font-weight: 700; }


/* Games-tab Pick button → prediction sheet (bottom sheet on mobile, centered on desktop ≥901px).
   Height is capped to the visible viewport: CSS 100dvh / -webkit-fill-available, plus JS visualViewport
   so iOS Safari toolbars and the keyboard don't clip the header, body, or submit row. */
.pred-sheet {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: -webkit-fill-available;
  height: 100dvh;
  max-height: 100%;
  max-height: 100vh;
  max-height: -webkit-fill-available;
  max-height: 100dvh;
  z-index: 180;
  overflow: hidden;
  overscroll-behavior: none;
}
.pred-sheet.open { display: block; }
.pred-sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.pred-sheet-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 100%;
  max-height: 100vh;
  max-height: -webkit-fill-available;
  max-height: 100dvh;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line2);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  padding: 0 max(.85rem, env(safe-area-inset-right, 0px)) max(.75rem, env(safe-area-inset-bottom, 0px)) max(.85rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  min-width: 0;
}
.pred-sheet-h {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel);
  padding: .7rem 0 .55rem;
  margin: 0;
}
.pred-sheet-h-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: .45rem;
  overflow: hidden;
}
.pred-sheet-h h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.pred-sheet-h .muted { flex: none; white-space: nowrap; }
.pred-sheet-x {
  flex: 0 0 auto;
  position: relative;
  top: auto;
  right: auto;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: .25rem .4rem;
}
.pred-sheet-x:hover { color: #fff; }
.pred-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.pred-sheet-foot {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: var(--panel);
  padding-top: .5rem;
  box-shadow: 0 -8px 12px -8px rgba(0,0,0,.45);
}
.pred-sheet-foot[hidden] { display: none; }
.pred-sheet-foot .pred-actions { margin-top: 0; flex-wrap: nowrap; }
.pred-sheet-foot .pred-del-link { margin-top: .35rem; }
.pred-sheet .pick-panel {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  box-shadow: none;
  min-width: 0;
  max-width: 100%;
}
.pred-sheet .pred-compose,
.pred-sheet .pred-scores,
.pred-sheet .pick-choices,
.pred-sheet .pick-meta,
.pred-sheet .pred-c-h,
.pred-sheet .pred-score-line,
.pred-sheet .pred-text,
.pred-sheet .pred-take-text,
.pred-sheet .pred-actions,
.pred-sheet .pred-graded-line {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.pred-sheet .pred-text { width: 100%; display: block; }
.pred-sheet .pred-sc {
  overflow: hidden;
  gap: .28rem;
  padding-left: .35rem;
  padding-right: .25rem;
}
.pred-sheet .pred-sc input {
  flex: 0 1 3.6rem;
  width: 3.6rem;
  min-width: 2.4rem;
  max-width: 100%;
  box-sizing: border-box;
}
html.pred-sheet-open,
body.pred-sheet-open {
  overflow: hidden;
}
body.pred-sheet-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}
@media (min-width: 901px) {
  .pred-sheet-box {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
    max-width: 460px;
    max-height: 85%;
    max-height: min(85%, 85dvh);
    border-radius: 8px;
    border-bottom: 1px solid var(--line2);
    padding: 0 1rem 1rem;
  }
  .pred-sheet-h { padding-top: 1.1rem; }
}

