html,body{min-height:100%;}
body{background:#f6efff;}
.artBackgroundPage{
  position:relative;
  width:100%;
  min-height:calc(100vh - 118px);
  overflow:hidden;
  background:#eee7ff;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  padding:44px 24px 80px;
}
.artBackgroundImage{
  position:absolute;
  inset:0;
  background-image:url('./assets/art-bg.png');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.artBackgroundPage::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(236,228,255,.08));
}
.artHeroCard{
  position:relative;
  z-index:2;
  width:min(1040px,calc(100vw - 56px));
  padding:30px 28px 22px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(249,244,255,.48));
  backdrop-filter:blur(18px) saturate(112%);
  -webkit-backdrop-filter:blur(18px) saturate(112%);
  box-shadow:0 28px 60px rgba(62,56,102,.18),inset 0 1px 0 rgba(255,255,255,.78);
  text-align:center;
  color:#1e315a;
}
.artHeroBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:17px;
  font-weight:800;
  margin-bottom:10px;
}
.artHeroBadge svg{width:24px;height:24px;}
.artHeroCard h1{
  margin:0;
  font-size:clamp(30px,3.1vw,48px);
  line-height:1.22;
  letter-spacing:-.045em;
  font-weight:850;
}
.artHeroLead{
  margin:12px 0 22px;
  font-size:16px;
  line-height:1.7;
  font-weight:650;
  color:#617094;
  letter-spacing:-.02em;
}
.artUploadButton{
  width:min(360px,86%);
  height:60px;
  margin:0 auto 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(100deg,#7e77ff 0%,#a66de8 48%,#ef86bd 100%);
  box-shadow:0 14px 28px rgba(111,82,205,.26);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease;
}
.artUploadButton:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(111,82,205,.31);}
.artUploadButton span{font-size:28px;font-weight:300;line-height:1;}
.artUploadButton strong{font-size:18px;letter-spacing:-.03em;}
.artFeatureGrid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.artFeatureCard{
  min-height:86px;
  padding:13px 13px;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  border:1px solid rgba(255,255,255,.88);
  border-radius:20px;
  background:rgba(255,255,255,.72);
  box-shadow:0 8px 22px rgba(61,69,112,.08);
  color:#26385e;
  cursor:pointer;
  transition:transform .16s ease,background .16s ease,box-shadow .16s ease;
}
.artFeatureCard:hover{transform:translateY(-2px);background:rgba(255,255,255,.9);box-shadow:0 12px 26px rgba(61,69,112,.12);}
.artFeatureCard>span:last-child{display:flex;flex-direction:column;min-width:0;}
.artFeatureCard strong{font-size:14px;line-height:1.2;letter-spacing:-.025em;}
.artFeatureCard small{margin-top:5px;color:#7e89a7;font-size:11px;line-height:1.35;font-weight:650;letter-spacing:-.02em;}
.featureIcon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:13px;
  font-size:22px;
  font-family:Georgia,serif;
  font-weight:700;
}
.featureIcon svg{width:22px;height:22px;}
.featureIcon.pink{background:#ffeaf4;color:#c64487;}
.featureIcon.blue{background:#ebf0ff;color:#4466c9;}
.featureIcon.violet{background:#efe9ff;color:#6248c8;}
.featureIcon.indigo{background:#eef0ff;color:#435bb3;}
.featureIcon.navy{background:#eef1f7;color:#2c416c;}
@media (max-width:980px){
  .artBackgroundPage{padding-top:32px;}
  .artFeatureGrid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .artFeatureCard:last-child{grid-column:1/-1;}
}
@media (max-width:920px){
  .artBackgroundPage{min-height:calc(100vh - 166px);padding:24px 14px 60px;}
  .artBackgroundImage{background-position:center center;}
  .artHeroCard{width:100%;padding:24px 16px 18px;border-radius:26px;}
  .artHeroLead{font-size:14px;}
}
@media (max-width:560px){
  .artFeatureGrid{grid-template-columns:1fr;}
  .artFeatureCard:last-child{grid-column:auto;}
  .artHeroCard h1{font-size:30px;}
  .artUploadButton{height:56px;}
}


/* v21 · 간단 예술 작성 패널 */
.artComposerPanel{margin-top:18px;padding:22px;border:1px solid rgba(255,255,255,.9);border-radius:26px;background:rgba(255,255,255,.86);box-shadow:0 16px 36px rgba(61,55,101,.13);text-align:left}
.artComposerPanel[hidden]{display:none}
.artComposerHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.artComposerKicker{display:block;margin-bottom:5px;color:#7855dd;font-size:13px;font-weight:850}
.artComposerHeader h2{margin:0;color:#22355d;font-size:24px;line-height:1.3;letter-spacing:-.04em}
.artComposerClose{width:38px;height:38px;border:0;border-radius:12px;background:#f3effc;color:#506084;font-size:25px;cursor:pointer}
.artComposerGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.artComposerField{padding:16px;border:1px solid #ece7f6;border-radius:18px;background:#fff;min-width:0}
.artComposerWide{grid-column:1/-1}
.artComposerLabel{display:block;margin-bottom:10px;color:#2a3c64;font-size:14px;font-weight:850}
.artComposerField input[type="text"],.artComposerField textarea{width:100%;border:1px solid #e7e2f1;border-radius:14px;background:#fbfaff;color:#283a60;outline:none;padding:13px 14px;font-size:14px;font-weight:650;resize:vertical}
.artComposerField input[type="text"]:focus,.artComposerField textarea:focus{border-color:#a58aef;box-shadow:0 0 0 3px rgba(139,109,229,.12)}
.artMediaActions{display:flex;gap:9px;flex-wrap:wrap}
.artMediaButton{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:13px;background:#f2eeff;color:#6345ca;font-size:13px;font-weight:850;cursor:pointer}
.artMediaButton input{display:none}
.artMediaPreview{margin-top:11px;min-height:120px;display:grid;place-items:center;overflow:hidden;border:1px dashed #dcd4ee;border-radius:15px;background:#faf8ff;color:#9298aa;font-size:13px;font-weight:650}
.artMediaPreview img,.artMediaPreview video{display:block;width:100%;max-height:260px;object-fit:contain;background:#f4f2f8}
.artFieldHint{display:block;margin-top:8px;color:#828da6;font-size:11px;line-height:1.45;font-weight:650;word-break:break-all}
.artFieldMeta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px;color:#8a92a7;font-size:11px;font-weight:650}
.artPrivacyToggle{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.artPrivacyOption{height:42px;border:1px solid #e7e2f1;border-radius:13px;background:#fff;color:#65708c;font-size:13px;font-weight:850;cursor:pointer}
.artPrivacyOption.isSelected{border-color:#a88fe8;background:#f0ebff;color:#6345ca}
.artComposerActions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.artSecondaryAction,.artPrimaryAction{height:44px;padding:0 18px;border-radius:14px;font-size:14px;font-weight:850;cursor:pointer}
.artSecondaryAction{border:1px solid #e5e0ef;background:#fff;color:#65708c}
.artPrimaryAction{border:0;background:linear-gradient(100deg,#7e77ff,#b36ee0,#ed83b7);color:#fff;box-shadow:0 10px 20px rgba(113,80,200,.20)}
.artToast{position:fixed;left:50%;bottom:30px;z-index:20;transform:translateX(-50%);padding:12px 18px;border-radius:999px;background:rgba(31,43,72,.92);color:#fff;font-size:13px;font-weight:750;box-shadow:0 12px 28px rgba(20,25,50,.22)}
@media (max-width:700px){.artComposerGrid{grid-template-columns:1fr}.artComposerWide{grid-column:auto}.artComposerPanel{padding:16px;border-radius:22px}.artComposerActions{justify-content:stretch}.artSecondaryAction,.artPrimaryAction{flex:1}}


/* v22 · 예술 기록 피드 */
.artBackgroundPage{padding-bottom:70px}
.artGallerySection{
  position:relative;z-index:2;
  width:min(1240px,calc(100% - 44px));
  margin:22px auto 0;
  padding:24px;
  border:1px solid rgba(255,255,255,.88);
  border-radius:28px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(16px);
  box-shadow:0 18px 46px rgba(61,55,101,.14);
}
.artGalleryHeader{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.artGalleryEyebrow{display:block;margin-bottom:4px;color:#8063d6;font-size:12px;font-weight:900}
.artGalleryHeader h2{margin:0;color:#22355d;font-size:27px;letter-spacing:-.04em}
.artGalleryHeader p{margin:7px 0 0;color:#69758f;font-size:13px;font-weight:650}
.artGalleryCount{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#f1edff;color:#674cc8;font-size:12px;font-weight:900}
.artGalleryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.artRecordCard{overflow:hidden;border:1px solid rgba(232,227,244,.95);border-radius:22px;background:#fff;box-shadow:0 10px 24px rgba(50,46,84,.08)}
.artRecordMedia{position:relative;min-height:210px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#ebe8ff,#fbe7ef);color:#725dc6}
.artRecordMedia img,.artRecordMedia video{width:100%;height:230px;object-fit:cover;background:#111}
.artRecordPlaceholder{font-size:42px}
.artRecordBody{padding:17px}
.artRecordMeta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.artRecordBadge,.artRecordPrivacy{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;font-size:10px;font-weight:900}
.artRecordBadge{background:#f0edff;color:#674fc4}
.artRecordPrivacy.public{background:#edf8f2;color:#247651}
.artRecordPrivacy.private{background:#f2f3f6;color:#687184}
.artRecordBody h3{margin:0;color:#1d2d50;font-size:19px;letter-spacing:-.035em}
.artRecordBody p{margin:8px 0 0;color:#667188;font-size:13px;line-height:1.65;white-space:pre-line}
.artRecordFooter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;color:#8a92a4;font-size:11px;font-weight:700}
.artDiscoveryLinked{color:#7657d8}
.artGalleryEmpty{text-align:center;padding:42px 18px;color:#80889a}
.artGalleryEmpty strong{display:block;color:#47536c;font-size:17px}
.artGalleryEmpty p{margin:7px 0 0;font-size:13px}
@media(max-width:920px){
  .artGalleryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .artGallerySection{width:calc(100% - 20px);padding:16px;border-radius:22px}
  .artGalleryHeader{align-items:flex-start;flex-direction:column}
  .artGalleryGrid{grid-template-columns:1fr}
}


/* v23 · 배치 전환: 내가 남긴 예술 위 / 작성란 아래 */
.artHeroCard{order:2;width:min(1240px,calc(100% - 44px));}
.artGallerySection{order:1;margin:0 auto 22px;}
@media (max-width:920px){
  .artHeroCard,.artGallerySection{width:calc(100% - 20px);}
}
