/* Guild Contracts (offerwalls): the partner's wall sits in a gilded frame; recent offers below it */
.ow-tabs{margin-top:16px}
.ow-frame{margin-top:16px}
.ow-frame iframe{display:block;width:100%;height:800px;border:1px solid var(--gold);border-radius:10px;background:#fff;
  box-shadow:inset 0 0 0 1px var(--line)}
@media (max-width:600px){.ow-frame iframe{height:max(640px,82vh)}}
.ow-open{margin:8px 0 0;font-size:.84rem;color:var(--muted)}
.ow-open a{color:var(--gold)}
/* v0.20.5: walls that can't be framed get this card and a button that opens them in a new tab */
.ow-pop{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:40px 20px;
  border:1px solid var(--gold);border-radius:10px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.ow-pop p{margin:0}
.ow-pop-title{font-family:var(--display);font-size:1.3rem;letter-spacing:.04em;color:var(--gold-hi)}
:root[data-theme="light"] .ow-pop-title{color:var(--gold)}
.ow-pop-text{max-width:520px}
.ow-pop .btn{margin-top:6px;text-decoration:none}
.ow-pop-note{font-size:.84rem;color:var(--muted)}
.ow-empty{padding:28px 16px;text-align:center;border:1px dashed var(--line);border-radius:10px;background:var(--bg)}
#owMsg:empty{min-height:0}
.ow-recent{margin-top:24px}
.ow-recent table .num{text-align:right}
.ow-offer{overflow-wrap:break-word}
.ow-recent td,.ow-recent th{white-space:nowrap}
.ow-recent td.ow-offer{white-space:normal}
/* phones: the date column steps aside so offer, reward and status fit */
@media (max-width:600px){.ow-recent th:first-child,.ow-recent td:first-child{display:none}.ow-recent td,.ow-recent th{padding:8px 4px}}
.ow-pill{display:inline-block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--line);border-radius:999px;padding:1px 8px;color:var(--muted)}
.ow-pill.ok{color:var(--ok);border-color:color-mix(in srgb,var(--ok) 45%,transparent)}
.ow-pill.gold{color:var(--gold-hi);border-color:var(--gold)}
:root[data-theme="light"] .ow-pill.gold{color:var(--gold)}
.ow-pill.bad{color:var(--warn);border-color:color-mix(in srgb,var(--warn) 45%,transparent)}
