/* =============================================================================
   Celas Artwall — full surface stylesheet (design-handoff port).

   Rebuilt from design_handoff_celas/src/CelasArtwall.dc.html to match the
   screenshots pixel-for-pixel. A self-contained design system under the `aw-`
   prefix: it deliberately does NOT inherit the marketing site's green accent —
   the Artwall accent is ORANGE (#FB6A34). Tokens live on .awbody below.
   Every class the artwall views render is defined here.
   ========================================================================== */

.awbody {
  --aw-accent:   #00D677;
  --aw-accent-2: #00b866;
  --aw-bg:       #FAFAFB;
  --aw-ink:      #17171B;
  --aw-ink-2:    #3A3A42;
  --aw-muted:    #6E6E78;
  --aw-muted-2:  #9A9AA3;
  --aw-line:     #ECECEF;
  --aw-line-2:   #E7E7EB;
  --aw-surface:  #fff;
  --aw-fill:     #F0F0F3;
  --aw-fill-2:   #F5F5F7;
  --aw-rad:      16px;
  --aw-wrap:     1360px;

  background: var(--aw-bg);
  color: var(--aw-ink);
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.awbody ::selection { background: rgba(251,106,52,.22); }
.awmain { min-height: 70vh; }

.aw-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  color: var(--aw-muted); font: inherit; font-size: 14px; font-weight: 600;
  padding: 6px 0; margin-bottom: 8px; text-decoration: none;
}
.aw-back:hover { color: var(--aw-ink); }

/* --------------------------------------------------------------- app bar */
.aw-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,250,251,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--aw-line);
}
.aw-head__inner {
  max-width: var(--aw-wrap); margin: 0 auto; height: 66px; padding: 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.aw-head__left  { display: flex; align-items: center; gap: 24px; flex: none; }
.aw-brand { display: inline-flex; align-items: center; flex: none; }
.aw-brand img { height: 20px; width: auto; display: block; }
.aw-mainnav { display: flex; align-items: center; gap: 2px; }
.aw-nav {
  background: none; border: none; cursor: pointer; text-decoration: none;
  font-size: 14.5px; font-weight: 600; color: var(--aw-muted);
  padding: 8px 12px; border-radius: 9px;
}
.aw-nav:hover { color: var(--aw-ink); background: var(--aw-fill); }
.aw-nav.is-on { color: var(--aw-ink); background: var(--aw-fill); }

.aw-head__right {
  display: flex; align-items: center; gap: 12px;
  flex: 1 1 auto; min-width: 0; justify-content: flex-end;
}
.aw-search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--aw-line-2); border-radius: 999px;
  padding: 8px 14px; flex: 0 1 240px; min-width: 150px;   /* never collapse to a circle */
}
.aw-head__left { min-width: 0; }   /* let the left group yield instead of forcing overflow */
.aw-search svg { flex: none; }
.aw-search input {
  border: none; outline: none; background: transparent;
  font: inherit; font-size: 13.5px; color: var(--aw-ink); width: 100%; min-width: 0;
}
.aw-upbtn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--aw-accent); color: #fff; border: none; border-radius: 999px;
  padding: 9px 16px; font: inherit; font-size: 13.5px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 18px -9px var(--aw-accent);
}
.aw-upbtn:hover { background: var(--aw-accent-2); }

.aw-iconbtn {
  position: relative; width: 40px; height: 40px; flex: none;
  border-radius: 50%; border: 1px solid var(--aw-line-2); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; color: #54545C; text-decoration: none;
}
.aw-iconbtn:hover { background: var(--aw-fill-2); }
.aw-notifdot {
  position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: var(--aw-accent); color: #fff;
  font-size: 10px; font-weight: 800; display: flex; align-items: center;
  justify-content: center; border: 2px solid var(--aw-bg);
}
.aw-me {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; text-decoration: none; flex: none;
  background-size: cover; background-position: center;
}
.aw-me img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-signin {
  font-size: 14px; font-weight: 600; color: var(--aw-ink); text-decoration: none;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--aw-line-2);
}
.aw-signin:hover { background: var(--aw-fill); }

/* notification dropdown */
.aw-notifwrap { position: relative; flex: none; }
.aw-notifpanel {
  position: absolute; top: 48px; right: 0; z-index: 49;
  width: min(360px, 90vw); max-height: 440px; overflow-y: auto; overflow-x: hidden;
  background: #fff; border: 1px solid var(--aw-line); border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(20,22,30,.4);
}
.aw-notifpanel[hidden] { display: none; }
.aw-notifpanel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--aw-fill);
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.aw-notifpanel__title { font-size: 15px; font-weight: 800; color: var(--aw-ink); }
.aw-markread {
  background: none; border: none; cursor: pointer; font: inherit;
  font-size: 12.5px; font-weight: 700; color: var(--aw-accent); padding: 0;
}
.aw-notifpanel__body { padding: 5px 7px 8px; }
.aw-notifpanel__empty { padding: 36px 20px; text-align: center; color: var(--aw-muted-2); font-size: 13.5px; }
.aw-notifpanel__foot { padding: 6px 8px 10px; }
.aw-notifpanel__foot a {
  display: block; text-align: center; padding: 9px; border-radius: 10px;
  font-size: 13px; font-weight: 700; color: var(--aw-accent); text-decoration: none;
}
.aw-notifpanel__foot a:hover { background: var(--aw-fill-2); }

.aw-notifrow {
  display: flex; align-items: flex-start; gap: 11px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 9px 8px; width: 100%; font: inherit; border-radius: 12px; text-decoration: none; color: inherit;
}
.aw-notifrow:hover { background: var(--aw-fill-2); }
.aw-notifrow__av { position: relative; flex: none; }
.aw-avatar {
  border-radius: 50%; color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 700; background-size: cover; background-position: center;
}
.aw-notifrow__av .aw-avatar { width: 38px; height: 38px; font-size: 14px; }
.aw-notifbadge {
  position: absolute; bottom: -2px; right: -2px; width: 17px; height: 17px;
  border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center;
}
.aw-notifbadge--like    { background: #FF4D6D; }
.aw-notifbadge--follow  { background: var(--aw-accent); }
.aw-notifbadge--comment { background: #2E7DF6; }
.aw-notifbadge--award   { background: #F59E0B; }
.aw-notifbadge--system  { background: #6b7280; }
.aw-notifrow__text { flex: 1; min-width: 0; }
.aw-notifrow__text b { font-weight: 700; }
.aw-notifrow__msg { font-size: 13px; color: var(--aw-ink); line-height: 1.35; }
.aw-notifrow__when { font-size: 11.5px; color: var(--aw-muted-2); margin-top: 1px; }
.aw-notifrow__thumb { width: 38px; height: 38px; border-radius: 9px; flex: none; overflow: hidden; background: var(--aw-fill); }
.aw-notifrow__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-notifrow__unread { width: 8px; height: 8px; border-radius: 50%; background: var(--aw-accent); flex: none; margin-top: 14px; }

/* ================================================================ feed */
.aw-page { max-width: var(--aw-wrap); margin: 0 auto; padding: 26px 26px 72px; }
.aw-page--narrow { max-width: 1160px; }

.aw-feedhead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.aw-h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--aw-ink); }
.aw-sub { font-size: 13.5px; color: var(--aw-muted); margin-top: 3px; }
.aw-feedhead__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.aw-seg-group {
  display: inline-flex; background: #fff; border: 1px solid var(--aw-line-2);
  border-radius: 999px; padding: 3px;
}
.aw-seg {
  background: none; border: none; cursor: pointer; text-decoration: none;
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--aw-muted);
  padding: 6px 13px; border-radius: 999px;
}
.aw-seg:hover { color: var(--aw-ink); }
.aw-seg.is-on { background: var(--aw-accent); color: #fff; }

/* hero — work of the week */
.aw-hero {
  position: relative; display: block; border-radius: calc(var(--aw-rad) + 6px);
  overflow: hidden; margin-bottom: 26px; cursor: pointer; text-decoration: none;
  box-shadow: 0 22px 54px -30px rgba(20,22,30,.45);
}
.aw-hero__cover { position: relative; width: 100%; height: 300px; background: #1d2230; }
.aw-hero__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aw-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,12,.66), rgba(8,8,12,.16) 58%, transparent); }
.aw-hero__inner {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 40px; max-width: 560px;
}
.aw-hero__badge {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  background: var(--aw-accent); color: #fff; border-radius: 999px; padding: 6px 13px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.aw-hero__title { margin: 0; font-size: 38px; line-height: 1.04; font-weight: 800; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.aw-hero__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aw-hero__meta .aw-avatar { width: 30px; height: 30px; font-size: 12px; }
.aw-hero__by { color: #fff; font-size: 14.5px; font-weight: 600; }
.aw-hero__stat { color: rgba(255,255,255,.72); font-size: 13px; }

/* category chips */
.aw-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.aw-chip {
  background: #fff; border: 1px solid var(--aw-line-2); cursor: pointer; text-decoration: none;
  font: inherit; font-size: 13px; font-weight: 600; color: #4A4A52;
  padding: 8px 14px; border-radius: 999px;
}
.aw-chip:hover { border-color: #c9c9d0; }
.aw-chip.is-on { background: var(--aw-ink); color: #fff; border-color: var(--aw-ink); }

/* challenge card */
.aw-challenge {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, #17171B, #2A2140);
  border-radius: calc(var(--aw-rad) + 4px); padding: 22px 24px; margin-bottom: 22px;
}
.aw-challenge__main { flex: 1; min-width: 220px; }
.aw-challenge__badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--aw-accent); color: #fff;
  border-radius: 999px; padding: 4px 11px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.aw-challenge__theme { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 11px 0 6px; }
.aw-challenge__desc { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.5; max-width: 520px; }
.aw-challenge__meta { margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 600; }
.aw-challenge__join {
  flex: none; background: #fff; color: var(--aw-ink); border: none; border-radius: 999px;
  padding: 12px 22px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-decoration: none;
}

/* empty state */
.aw-empty { text-align: center; padding: 72px 20px; color: var(--aw-muted); }
.aw-empty__title { font-size: 17px; font-weight: 700; color: var(--aw-ink); margin-bottom: 6px; }
.aw-empty__text { font-size: 14px; }
.aw-empty__text a { color: var(--aw-accent); font-weight: 700; text-decoration: none; }

/* masonry grid — CSS multi-column */
.aw-grid { column-gap: 16px; column-count: 4; }
.aw-grid--editorial { column-count: 3; column-gap: 22px; }
@media (max-width: 1200px) { .aw-grid { column-count: 3; } }
@media (max-width: 900px)  { .aw-grid, .aw-grid--editorial { column-count: 2; } }
@media (max-width: 560px)  { .aw-grid, .aw-grid--editorial { column-count: 1; } }
.aw-grid--tight { column-count: 3; }
@media (max-width: 900px) { .aw-grid--tight { column-count: 2; } }
@media (max-width: 560px) { .aw-grid--tight { column-count: 1; } }

.aw-card {
  break-inside: avoid; display: block; width: 100%; position: relative;
  border-radius: var(--aw-rad); background: #fff;
  box-shadow: 0 1px 2px rgba(20,22,30,.05), 0 14px 32px -20px rgba(20,22,30,.28);
  cursor: pointer; overflow: hidden; text-decoration: none;
  margin: 0 0 16px; transition: transform .18s ease, box-shadow .18s ease;
}
.aw-grid--editorial .aw-card { margin-bottom: 22px; }
.aw-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(20,22,30,.4); }
.aw-card__media { position: relative; width: 100%; overflow: hidden; background: #2f5064; display: block; }
.aw-card__media img, .aw-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.aw-card__medialink { position: absolute; inset: 0; z-index: 1; display: block; }
.aw-loop, .aw-award { z-index: 3; }
.aw-card__sheen { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 24%, rgba(0,0,0,.06)); }
.aw-loop {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(10,10,14,.5); color: #fff; border-radius: 999px; padding: 4px 9px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em; backdrop-filter: blur(4px);
}
.aw-award {
  position: absolute; top: 10px; right: 10px; background: var(--aw-accent); color: #fff;
  border-radius: 999px; padding: 4px 10px; font-size: 10.5px; font-weight: 800;
  box-shadow: 0 8px 16px -8px rgba(0,0,0,.5);
}
.aw-ovl {
  position: absolute; inset: 0; opacity: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px; background: linear-gradient(0deg, rgba(8,8,12,.66), rgba(8,8,12,.05) 52%, transparent);
  transition: opacity .18s ease; z-index: 2; pointer-events: none;
}
.aw-card:hover .aw-ovl { opacity: 1; pointer-events: auto; }

/* feed layout variants: Gallery = hover overlay only; Editorial = card footer */
.aw-grid--gallery .aw-card__foot { display: none; }
.aw-grid--editorial .aw-ovl { display: none; }
.aw-ovl__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.aw-ovl__title { color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-ovl__artist { color: rgba(255,255,255,.85); font-size: 12px; }
.aw-ovl__acts { display: flex; gap: 6px; flex: none; }
.aw-mini {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--aw-ink); padding: 0;
}
.aw-mini.is-on { color: var(--aw-accent); }
.aw-mini.is-on svg { fill: var(--aw-accent); stroke: var(--aw-accent); }

.aw-card__foot { display: flex; align-items: center; gap: 10px; padding: 11px 13px; }
.aw-card__foot .aw-avatar { width: 30px; height: 30px; font-size: 12px; flex: none; text-decoration: none; }
.aw-card__names { min-width: 0; flex: 1; }
.aw-card__title { font-size: 14px; font-weight: 700; color: var(--aw-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-card__artist { font-size: 12.5px; color: var(--aw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-card__meta { display: flex; align-items: center; gap: 12px; flex: none; color: var(--aw-muted); }
.aw-footbtn {
  background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  color: inherit; font: inherit; font-size: 12.5px; font-weight: 600; padding: 0; text-decoration: none;
}
.aw-footbtn.is-on { color: var(--aw-accent); }
.aw-footbtn.is-on svg { fill: var(--aw-accent); stroke: var(--aw-accent); }
.aw-actform { margin: 0; display: inline-flex; }

/* ============================================================ artwork detail */
.aw-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.aw-stage {
  position: relative; width: 100%; border-radius: calc(var(--aw-rad) + 4px); overflow: hidden;
  background: #0b0b0f; box-shadow: 0 26px 62px -32px rgba(20,22,30,.55); min-height: 280px;
  display: grid; place-items: center;
}
.aw-stage__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(42px) brightness(.5); transform: scale(1.3); }
.aw-stage img { position: relative; width: 100%; height: auto; max-height: 74vh; object-fit: contain; display: block; }
.aw-stage__ph { position: relative; width: 100%; aspect-ratio: 4/3; }
.aw-stage .aw-loop { top: 14px; left: 14px; padding: 5px 11px; font-size: 11px; }

.aw-desc { margin: 26px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--aw-ink-2); text-wrap: pretty; }
.aw-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.aw-tagchip {
  background: var(--aw-fill); border: none; cursor: pointer; text-decoration: none;
  font: inherit; font-size: 12.5px; font-weight: 600; color: #4A4A52; padding: 7px 13px; border-radius: 999px;
}
.aw-tagchip:hover { background: #e6e6ea; }

/* info card */
.aw-side { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; }
.aw-infocard {
  background: #fff; border: 1px solid #EFEFF2; border-radius: var(--aw-rad); padding: 22px;
  box-shadow: 0 16px 36px -24px rgba(20,22,30,.3);
}
.aw-infocard__title { margin: 0 0 4px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--aw-ink); text-wrap: balance; }
.aw-infocard__type { font-size: 13px; color: var(--aw-muted); }
.aw-artistrow { display: flex; align-items: center; gap: 11px; margin: 18px 0; text-decoration: none; }
.aw-artistrow .aw-avatar { width: 42px; height: 42px; font-size: 16px; flex: none; }
.aw-artistrow__meta { flex: 1; min-width: 0; }
.aw-artistrow__name { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; color: var(--aw-ink); }
.aw-verified { display: inline-flex; color: var(--aw-accent); }
.aw-artistrow__handle { font-size: 12.5px; color: var(--aw-muted-2); }

.aw-followbtn {
  background: var(--aw-accent); color: #fff; border: none; border-radius: 999px; padding: 9px 20px;
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.aw-followbtn.is-following { background: var(--aw-fill); color: var(--aw-ink); }

.aw-bigacts { display: flex; gap: 10px; }
.aw-bigbtn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--aw-fill-2); border: 1px solid var(--aw-line); border-radius: 12px; padding: 11px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--aw-ink); cursor: pointer; text-decoration: none;
}
.aw-bigbtn.is-on { color: var(--aw-accent); }
.aw-bigbtn.is-on svg { fill: var(--aw-accent); stroke: var(--aw-accent); }

.aw-statgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; text-align: center; }
.aw-statgrid__n { font-size: 18px; font-weight: 800; color: var(--aw-ink); }
.aw-statgrid__l { font-size: 11.5px; color: var(--aw-muted-2); }

.aw-sharerow { display: flex; gap: 10px; margin-top: 14px; border-top: 1px solid var(--aw-fill); padding-top: 14px; }
.aw-sharebtn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: none; border: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  color: var(--aw-muted); padding: 6px; text-decoration: none;
}
.aw-sharebtn:hover { color: var(--aw-ink); }

/* comments */
.aw-comments { margin-top: 36px; max-width: 760px; }
.aw-comments__h { margin: 0 0 18px; font-size: 17px; font-weight: 800; color: var(--aw-ink); }
.aw-comments__new { display: flex; gap: 11px; margin-bottom: 24px; }
.aw-comments__new .aw-avatar { width: 36px; height: 36px; font-size: 14px; flex: none; }
.aw-comments__field { flex: 1; display: flex; gap: 8px; }
.aw-input {
  width: 100%; border: 1px solid var(--aw-line-2); border-radius: 12px; padding: 11px 13px;
  font: inherit; font-size: 14px; outline: none; background: #fff; color: var(--aw-ink);
}
.aw-input:focus { border-color: var(--aw-accent); }
.aw-input::placeholder { color: var(--aw-muted-2); }
.aw-post {
  background: var(--aw-accent); color: #fff; border: none; border-radius: 12px; padding: 0 18px;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.aw-signin-note { color: var(--aw-muted); font-size: 14px; margin: 0 0 22px; }
.aw-signin-note a { color: var(--aw-accent); font-weight: 700; text-decoration: none; }

.aw-cm { display: flex; gap: 11px; margin-bottom: 18px; }
.aw-cm .aw-avatar { width: 36px; height: 36px; font-size: 14px; flex: none; text-decoration: none; }
.aw-cm__body { min-width: 0; flex: 1; }
.aw-cm__head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.aw-cm__name { font-size: 14px; font-weight: 700; color: var(--aw-ink); text-decoration: none; }
.aw-cm__handle { font-size: 12px; color: var(--aw-muted-2); }
.aw-cm__when { font-size: 12px; color: #B4B4BB; }
.aw-cm__text { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--aw-ink-2); text-wrap: pretty; }
.aw-cm__actions { display: flex; align-items: center; gap: 16px; margin-top: 7px; }
.aw-cm__like {
  background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--aw-muted-2); padding: 0;
}
.aw-cm__like.is-on { color: var(--aw-accent); }
.aw-cm__like.is-on svg { fill: var(--aw-accent); stroke: var(--aw-accent); }
.aw-cm__replybtn { background: none; border: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--aw-muted-2); padding: 0; }
.aw-cm__replies { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; border-left: 2px solid var(--aw-fill); padding-left: 14px; }
.aw-cm__reply { display: flex; gap: 9px; }
.aw-cm__reply .aw-avatar { width: 28px; height: 28px; font-size: 12px; }
.aw-cm__replyform { display: flex; gap: 8px; margin: 11px 0 0; }
.aw-cm__replyform .aw-avatar { width: 28px; height: 28px; font-size: 12px; flex: none; }
.aw-cm__replyin { flex: 1; border: 1px solid var(--aw-line-2); border-radius: 10px; padding: 8px 11px; font: inherit; font-size: 13.5px; outline: none; color: var(--aw-ink); min-width: 0; }
.aw-cm__replysend { background: var(--aw-accent); color: #fff; border: none; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

.aw-more { margin-top: 48px; }
.aw-more__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.aw-more__h { margin: 0; font-size: 18px; font-weight: 800; color: var(--aw-ink); }
.aw-more__link { background: none; border: none; cursor: pointer; color: var(--aw-accent); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; }

/* ============================================================ artist profile */
.aw-procover { height: 210px; background-size: cover; background-position: center; }
.aw-prohead { display: flex; gap: 20px; align-items: flex-end; margin-top: -40px; flex-wrap: wrap; }
.aw-proavatar {
  width: 104px; height: 104px; border-radius: 28px; background-size: cover; background-position: center;
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800;
  border: 4px solid var(--aw-bg); flex: none; box-shadow: 0 14px 32px -16px rgba(0,0,0,.45); overflow: hidden;
}
.aw-proavatar img { width: 100%; height: 100%; object-fit: cover; }
.aw-prohead__meta { flex: 1; min-width: 220px; padding-bottom: 6px; }
.aw-prohead__namerow { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.aw-prohead__name { margin: 0; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.aw-teamtag { background: #00D677; color: #04140b; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.aw-prohead__handle { font-size: 14px; color: var(--aw-muted); margin-top: 3px; }
.aw-prohead__actions { display: flex; gap: 10px; padding-bottom: 6px; }
.aw-ghost {
  background: #fff; border: 1px solid #E1E1E6; color: var(--aw-ink); border-radius: 999px; padding: 9px 18px;
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.aw-probio { margin: 20px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--aw-ink-2); max-width: 640px; text-wrap: pretty; }
.aw-prostats { display: flex; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.aw-prostats__n { font-size: 19px; font-weight: 800; color: var(--aw-ink); }
.aw-prostats__l { font-size: 13.5px; color: var(--aw-muted); }
.aw-probadges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.aw-probadge { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--aw-line-2); color: #4A4A52; font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }

.aw-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--aw-line); margin-top: 26px; flex-wrap: wrap; }
.aw-tab {
  background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--aw-muted); padding: 11px 4px; margin-bottom: -1px; text-decoration: none;
}
.aw-tab.is-on { color: var(--aw-ink); font-weight: 700; border-bottom-color: var(--aw-accent); }
.aw-tabpanel { margin-top: 24px; }

.aw-removed-badge { position: absolute; top: 10px; right: 10px; background: rgba(210,40,40,.85); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 10.5px; font-weight: 800; }
.aw-card--removed { opacity: .6; }

/* ============================================================ collections */
.aw-colhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.aw-newboard {
  flex: none; display: inline-flex; align-items: center; gap: 7px; background: var(--aw-accent); color: #fff;
  border: none; border-radius: 999px; padding: 11px 18px; font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none; box-shadow: 0 8px 18px -9px var(--aw-accent);
}
.aw-boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .aw-boards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .aw-boards { grid-template-columns: 1fr; } }
.aw-board { display: block; text-decoration: none; color: inherit; }
.aw-board__mosaic {
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px;
  height: 190px; border-radius: var(--aw-rad); overflow: hidden; background: #eceef1;
  transition: transform .18s ease, box-shadow .18s ease;
}
.aw-board:hover .aw-board__mosaic { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(20,22,30,.4); }
.aw-board__cell { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.aw-board__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-board__cell--main { grid-row: 1 / span 2; }
.aw-board__cell--empty { background: repeating-linear-gradient(45deg, #eceef1, #eceef1 8px, #e4e7eb 8px, #e4e7eb 16px); }
.aw-board__foot { margin-top: 11px; }
.aw-board__namerow { display: inline-flex; align-items: center; gap: 6px; }
.aw-board__name { font-size: 16px; font-weight: 700; color: var(--aw-ink); }
.aw-board__pencil { display: inline-flex; background: none; border: none; cursor: pointer; padding: 0; color: #B4B4BB; }
.aw-board__pencil:hover { color: var(--aw-ink); }
.aw-board__lock { display: inline-flex; color: var(--aw-muted-2); }
.aw-board__meta { font-size: 13px; color: var(--aw-muted); margin-top: 2px; }
.aw-board__renamein {
  width: 100%; border: 1px solid var(--aw-accent); border-radius: 9px; padding: 6px 9px;
  font: inherit; font-size: 16px; font-weight: 700; color: var(--aw-ink); outline: none; background: #fff;
}
.aw-board__renameform { display: flex; gap: 6px; margin-top: 8px; }
.aw-board__edit { display: inline-flex; }
.aw-board__edit > summary { list-style: none; cursor: pointer; display: inline-flex; }
.aw-board__edit > summary::-webkit-details-marker { display: none; }
.aw-newboard-wrap { position: relative; }
.aw-newboard-wrap > summary { list-style: none; cursor: pointer; display: inline-flex; }
.aw-newboard-wrap > summary::-webkit-details-marker { display: none; }
.aw-newboard-form {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: 280px;
  background: #fff; border: 1px solid var(--aw-line-2); border-radius: 14px; padding: 14px;
  box-shadow: 0 18px 44px rgba(20,22,15,.18); display: flex; flex-direction: column; gap: 10px;
}
.aw-newboard-form .aw-savenew__create { padding: 10px 14px; border-radius: 10px; }
.aw-newboard-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--aw-muted); }
.aw-newboard-check input { width: 15px; height: 15px; accent-color: var(--aw-accent); }
.aw-colerror { color: #d94a5a; font-size: 12.5px; font-weight: 600; margin: 6px 0 0; }

/* single collection board */
.aw-colcount { font-size: 13.5px; color: var(--aw-muted); margin-bottom: 22px; }
.aw-colbadge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--aw-fill); color: var(--aw-muted); font-size: 12.5px; font-weight: 700; margin-left: 10px; }
.aw-colhead__titlewrap { display: flex; align-items: center; }

/* ============================================================ upload */
.aw-uploadgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 820px) { .aw-uploadgrid { grid-template-columns: 1fr; } }
.aw-up__preview { position: relative; border-radius: calc(var(--aw-rad) + 4px); overflow: hidden; box-shadow: 0 22px 52px -30px rgba(20,22,30,.4); }
.aw-up__cover { position: relative; width: 100%; padding-top: 78%; overflow: hidden; background-size: cover; background-position: center; }
.aw-up__cover-sheen { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 26%, rgba(0,0,0,.05)); }
.aw-up__drop {
  position: absolute; inset: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: rgba(255,255,255,.94); border: 2px dashed rgba(255,255,255,.55); border-radius: var(--aw-rad);
  text-align: center; padding: 16px;
}
.aw-up__droplabel { font-size: 13.5px; font-weight: 700; cursor: pointer; background: rgba(255,255,255,.18); padding: 8px 16px; border-radius: 999px; }
.aw-up__drophint { font-size: 11.5px; opacity: .85; max-width: 230px; }
.aw-up__file { display: none; }
.aw-up__group { margin-top: 18px; }
.aw-up__grouplabel { font-size: 12px; font-weight: 700; color: var(--aw-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 9px; }
.aw-swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.aw-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #E0E0E6; cursor: pointer; padding: 0; }
.aw-swatch.is-on { box-shadow: 0 0 0 2px var(--aw-accent); }

.aw-up__fields { display: flex; flex-direction: column; gap: 16px; }
.aw-up__field label, .aw-up__field .aw-up__lbl { display: block; font-size: 12px; font-weight: 700; color: var(--aw-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
.aw-up__opt { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--aw-muted-2); font-size: 11.5px; }
.aw-textarea { resize: vertical; line-height: 1.55; min-height: 110px; }
.aw-up__hint { margin: 7px 0 0; font-size: 12.5px; color: var(--aw-muted-2); }
.aw-up__err { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #d94a5a; }
.aw-input--err { border-color: #d94a5a; }

/* type radio segment */
.aw-radioseg { display: inline-flex; background: #fff; border: 1px solid var(--aw-line-2); border-radius: 999px; padding: 3px; }
.aw-radioseg label { position: relative; margin: 0; }
.aw-radioseg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.aw-radioseg span { display: block; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--aw-muted); }
.aw-radioseg input:checked + span { background: var(--aw-accent); color: #fff; }

/* tag chips input */
.aw-tagsbox { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.aw-tagpill { display: inline-flex; align-items: center; gap: 6px; background: var(--aw-fill); color: #4A4A52; font-size: 12.5px; font-weight: 600; padding: 6px 8px 6px 12px; border-radius: 999px; }
.aw-tagpill button { background: none; border: none; cursor: pointer; color: var(--aw-muted-2); font-size: 15px; line-height: 1; padding: 0; }
.aw-up__submit {
  background: var(--aw-accent); color: #fff; border: none; border-radius: 12px; padding: 14px;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 26px -12px var(--aw-accent);
}
.aw-up__cancel { color: var(--aw-muted); text-decoration: none; font-size: 14px; font-weight: 600; align-self: center; }

/* ============================================================ notifications page */
.aw-page--notif { max-width: 680px; }
.aw-notiflist { display: flex; flex-direction: column; }
.aw-notiflist .aw-notifrow { border-radius: 12px; padding: 13px 6px; gap: 13px; }
.aw-notiflist .aw-notifrow__av .aw-avatar { width: 42px; height: 42px; font-size: 16px; }
.aw-notiflist .aw-notifbadge { width: 19px; height: 19px; }
.aw-notiflist .aw-notifrow__thumb { width: 42px; height: 42px; border-radius: 10px; }
.aw-notiflist .aw-notifrow__msg { font-size: 14px; line-height: 1.4; }
.aw-notiflist .aw-notifrow__when { font-size: 12px; }
.aw-notifquote { display: block; font-size: 13.5px; color: var(--aw-muted); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }

/* ============================================================ modals */
.aw-modal { position: fixed; inset: 0; z-index: 62; background: rgba(15,15,20,.42); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.aw-modal[hidden] { display: none; }
.aw-modal__box { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); max-height: 88vh; overflow-y: auto; overflow-x: hidden; }
.aw-modal__box--wide { max-width: 440px; }
.aw-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.aw-modal__title { margin: 0; font-size: 18px; font-weight: 800; }
.aw-modal__x { background: none; border: none; cursor: pointer; padding: 4px; color: var(--aw-muted); display: inline-flex; }
.aw-modal__desc { margin: 0 0 16px; font-size: 13.5px; color: var(--aw-muted); }

.aw-reasons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.aw-reason {
  display: flex; align-items: center; gap: 11px; background: var(--aw-fill-2); border: 1.5px solid #EEEEF1;
  border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left; font: inherit; font-size: 14px; font-weight: 600; color: var(--aw-ink);
}
.aw-reason input { position: absolute; opacity: 0; width: 0; height: 0; }
.aw-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #C9C9D0; flex: none; position: relative; }
.aw-reason:has(input:checked) { border-color: var(--aw-accent); background: #fff; }
.aw-reason:has(input:checked) .aw-radio { border-color: var(--aw-accent); }
.aw-reason:has(input:checked) .aw-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--aw-accent); }
.aw-modal__actions { display: flex; gap: 10px; }
.aw-modal__cancel { flex: 1; background: var(--aw-fill); border: none; border-radius: 12px; padding: 12px; font: inherit; font-size: 14px; font-weight: 700; color: var(--aw-ink); cursor: pointer; }
.aw-modal__submit { flex: 1; border: none; border-radius: 12px; padding: 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; background: var(--aw-accent); color: #fff; }
.aw-modal__submit:disabled { opacity: .5; cursor: not-allowed; }

.aw-savelist { display: flex; flex-direction: column; gap: 8px; max-height: 290px; overflow: auto; }
.aw-saverow { display: flex; align-items: center; gap: 12px; background: var(--aw-fill-2); border: 1px solid #EEEEF1; border-radius: 14px; padding: 10px; cursor: pointer; text-align: left; width: 100%; font: inherit; }
.aw-saverow__cover { width: 46px; height: 46px; border-radius: 10px; flex: none; background-size: cover; background-position: center; overflow: hidden; }
.aw-saverow__cover img { width: 100%; height: 100%; object-fit: cover; }
.aw-saverow__meta { flex: 1; min-width: 0; }
.aw-saverow__name { font-size: 14.5px; font-weight: 700; color: var(--aw-ink); }
.aw-saverow__count { font-size: 12.5px; color: var(--aw-muted-2); }
.aw-saverow__check { color: var(--aw-accent); display: inline-flex; }
.aw-savenew { display: flex; gap: 8px; margin-top: 14px; }
.aw-savenew__create { background: var(--aw-ink); color: #fff; border: none; border-radius: 12px; padding: 0 18px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }

.aw-editrow { margin-bottom: 16px; }
.aw-editrow label { display: block; font-size: 12px; font-weight: 700; color: var(--aw-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
.aw-accents { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.aw-accsw { width: 34px; height: 34px; border-radius: 50%; border: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); cursor: pointer; padding: 0; transition: transform .12s ease; }
.aw-accsw:hover { transform: scale(1.08); }
.aw-accsw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #14161F; }
.aw-editaccent-hidden { position: absolute; opacity: 0; width: 0; height: 0; }
.aw-modal__done { width: 100%; background: var(--aw-accent); color: #fff; border: none; border-radius: 12px; padding: 13px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 26px -12px var(--aw-accent); }

/* toast */
.aw-toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 70;
  background: var(--aw-ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; box-shadow: 0 16px 40px -14px rgba(0,0,0,.5);
  animation: aw-toastin .2s ease;
}
@keyframes aw-toastin { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

.aw-flash { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(251,106,52,.12); color: var(--aw-accent-2); font-weight: 600; font-size: 14px; }

/* ============================================================ artwall footer */
.aw-foot { border-top: 1px solid var(--aw-line); background: #fff; margin-top: 48px; }
.aw-foot__inner {
  max-width: var(--aw-wrap); margin: 0 auto; padding: 34px 26px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.aw-foot__brand { max-width: 380px; }
.aw-foot__brand img { height: 18px; width: auto; display: block; margin-bottom: 12px; }
.aw-foot__tagline { font-size: 13px; color: var(--aw-muted); line-height: 1.55; }
.aw-foot__socials { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.aw-foot__social {
  width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--aw-muted); background: rgba(0, 0, 0, .05); transition: background .15s, color .15s;
}
.aw-foot__social svg { width: 15px; height: 15px; }
.aw-foot__social:hover { color: var(--aw-accent, #00D677); background: rgba(0, 0, 0, .09); }
.aw-foot__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.aw-foot__coltitle { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--aw-ink); margin-bottom: 12px; }
.aw-foot__links { display: flex; flex-direction: column; gap: 8px; }
.aw-foot__links a { font-size: 13.5px; color: var(--aw-muted); text-decoration: none; }
.aw-foot__links a:hover { color: var(--aw-ink); }
.aw-foot__bottom {
  max-width: var(--aw-wrap); margin: 0 auto; padding: 16px 26px 40px;
  border-top: 1px solid var(--aw-line); display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--aw-muted-2);
}
.aw-foot__bottom a { color: var(--aw-muted); text-decoration: none; }
.aw-foot__bottom a:hover { color: var(--aw-ink); }
.aw-foot__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.aw-langpick { position: relative; }
.aw-langpick__toggle {
  display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--aw-line-2);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--aw-muted); cursor: pointer;
}
.aw-langpick__menu {
  position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 30; min-width: 200px; max-height: 50vh; overflow: auto;
  background: #fff; border: 1px solid var(--aw-line-2); border-radius: 12px; box-shadow: 0 18px 44px rgba(20,22,15,.18); padding: 6px;
}
.aw-langpick__menu[hidden] { display: none; }
.aw-langpick__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border-radius: 8px; font-size: 14px; color: var(--aw-ink); text-decoration: none; }
.aw-langpick__item:hover { background: var(--aw-fill); }
.aw-langpick__item.is-on { background: rgba(251,106,52,.1); }
.aw-langpick__short { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--aw-muted-2); }

/* ============================================================ legal pages */
.aw-legal { max-width: 760px; margin: 0 auto; padding: 34px 26px 80px; }
.aw-legal__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--aw-accent); margin-bottom: 10px; }
.aw-legal__title { margin: 0 0 6px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--aw-ink); }
.aw-legal__updated { font-size: 13px; color: var(--aw-muted-2); margin-bottom: 28px; }
.aw-legal__lede { font-size: 16px; line-height: 1.7; color: var(--aw-ink-2); margin: 0 0 28px; }
.aw-legal h2 { font-size: 19px; font-weight: 800; color: var(--aw-ink); margin: 32px 0 10px; letter-spacing: -.01em; }
.aw-legal p { font-size: 15px; line-height: 1.75; color: var(--aw-ink-2); margin: 0 0 14px; }
.aw-legal ul { margin: 0 0 14px; padding-left: 20px; }
.aw-legal li { font-size: 15px; line-height: 1.7; color: var(--aw-ink-2); margin-bottom: 7px; }
.aw-legal a { color: var(--aw-accent); text-decoration: none; }
.aw-legal a:hover { text-decoration: underline; }

/* responsive */
@media (max-width: 900px) {
  .aw-detail { grid-template-columns: 1fr; }
  .aw-side { position: static; }
}
/* The main nav labels are long (especially in Turkish), so retire them before
   they crowd the search box into a collapsed circle. They remain in the footer. */
@media (max-width: 940px) { .aw-mainnav { display: none; } }
@media (max-width: 820px) { .aw-search { flex-basis: 200px; } }
@media (max-width: 640px) {
  .aw-page { padding-left: 16px; padding-right: 16px; }
  .aw-upword { display: none; }
  .aw-upbtn { padding: 9px 11px; }
  .aw-hero__cover { height: 200px; }
  .aw-hero__inner { padding: 22px; }
  .aw-hero__title { font-size: 26px; }
  .aw-foot__cols { gap: 44px; }
}
/* Phones: drop the inline search (upload + bell + avatar stay), tighten the bar. */
@media (max-width: 520px) {
  .aw-search { display: none; }
  .aw-head__inner { gap: 10px; padding: 0 16px; }
}

/* ============================================================================
   Mobile app shell — fixed bottom tab bar + full-screen search screen.
   Artwall is a web-based social app; on phones it should look and feel native.
   All accent colour comes from --aw-accent, so it tracks the user's own accent.
   ========================================================================== */
.aw-tabbar { display: none; }
.aw-searchsheet { display: none; }
.aw-foot__toggle { display: none; }
body.aw-noscroll { overflow: hidden; }

@media (max-width: 760px) {
  /* Reserve space so the fixed bar never covers the footer or last content. */
  .awbody { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }

  /* App top bar: every top-right action (search, upload, bell, profile) now
     lives in the bottom tab bar, so the header collapses to just the brand. */
  .aw-head__inner { height: 56px; justify-content: flex-start; }
  .aw-head__right { display: none; }
  .aw-brand img { height: 19px; }

  /* Collapsible footer: hidden by default (app-like), the toggle row opens it. */
  .aw-foot { margin-top: 22px; }
  .aw-foot__toggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    gap: 12px; padding: 15px 18px; background: none; border: 0; cursor: pointer;
    color: var(--aw-ink); font: inherit; -webkit-tap-highlight-color: transparent;
  }
  .aw-foot__toggle img { height: 16px; display: block; }
  .aw-foot__chev { color: var(--aw-muted); flex: none; transition: transform .2s ease; }
  .aw-foot.is-open .aw-foot__chev { transform: rotate(180deg); }
  .aw-foot__inner, .aw-foot__bottom { display: none; }
  .aw-foot.is-open .aw-foot__inner {
    display: flex; flex-direction: column; gap: 22px; padding: 4px 18px 20px;
  }
  .aw-foot.is-open .aw-foot__bottom {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 18px 24px;
  }
  .aw-foot__brand { max-width: none; }
  .aw-foot__brand img { display: none; }   /* the toggle row already shows the logo */

  .aw-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--aw-line);
  }
  .aw-tab {
    flex: 1; display: flex; align-items: center; justify-content: center;
    color: var(--aw-muted); text-decoration: none; background: none; border: 0;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform .1s ease, color .1s ease;
  }
  .aw-tab.is-on { color: var(--aw-accent); }
  .aw-tab:active { transform: scale(.9); }
  .aw-tab__ico { position: relative; display: inline-flex; }
  .aw-tab__dot {
    position: absolute; top: -3px; right: -4px; width: 9px; height: 9px;
    background: var(--aw-accent); border: 2px solid #fff; border-radius: 50%;
  }
  .aw-tab--up .aw-tab__plus {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 34px; border-radius: 12px; background: var(--aw-accent); color: #fff;
    box-shadow: 0 8px 18px -8px var(--aw-accent);
  }
  .aw-tab__av {
    width: 27px; height: 27px; border-radius: 50%; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px; font-weight: 700;
  }
  .aw-tab__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .aw-tab.is-on .aw-tab__av { box-shadow: 0 0 0 2px var(--aw-accent); }

  /* Full-screen app-style search */
  .aw-searchsheet {
    display: block; position: fixed; inset: 0; z-index: 60;
    background: var(--aw-bg, #fff); animation: aw-sheet-in .18s ease;
  }
  .aw-searchsheet[hidden] { display: none; }
  .aw-searchsheet__bar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top, 0px));
    background: #fff; border-bottom: 1px solid var(--aw-line);
  }
  .aw-searchsheet__back, .aw-searchsheet__go {
    flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 0; color: var(--aw-ink); cursor: pointer;
  }
  .aw-searchsheet__in {
    flex: 1; min-width: 0; height: 42px; border: 1px solid var(--aw-line-2); border-radius: 999px;
    padding: 0 16px; font: inherit; font-size: 15px; color: var(--aw-ink); background: #fff; outline: none;
  }
  .aw-searchsheet__in:focus { border-color: var(--aw-accent); }
}
@keyframes aw-sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
