* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Georgia, serif; background: #f8f5ef; color: #1a1208; }

/* HEADER */
header { background: #1a2a6b; padding: 1rem 2rem 0; border-bottom: 3px solid #c9a86c; }
.header-inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.artwork-label { font-size: 0.58rem; letter-spacing: 0.3em; color: #c9a86c; text-transform: uppercase; }
.artwork-title { font-size: 1.2rem; font-style: italic; color: #fff; margin-top: 0.2rem; }
.artwork-sub { font-size: 0.75rem; color: #a0b0cc; letter-spacing: 0.06em; }

/* NAV */
nav { display: flex; }
nav button { background: none; border: none; border-bottom: 3px solid transparent; color: #8a9ab5; cursor: pointer; font-size: 0.68rem; letter-spacing: 0.18em; padding: 0.5rem 1rem; text-transform: uppercase; font-family: Georgia, serif; margin-top: -1px; transition: all 0.2s; }
nav button.active { border-bottom: 3px solid #c9a86c; color: #c9a86c; font-weight: 700; }
nav button:hover { color: #c9a86c; }

/* MAIN */
main { padding: 2rem; max-width: 940px; margin: 0 auto; }

/* FOOTER */
footer { background: #1a2a6b; border-top: 3px solid #c9a86c; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-l { font-size: 0.65rem; letter-spacing: 0.2em; color: #c9a86c; }
.footer-r { font-size: 0.65rem; color: #8a9ab5; font-style: italic; }

/* TABS */
.tab { display: none; }
.tab.active { display: block; }

/* CARDS */
.card { background: #fff; border: 1px solid #e0d8cc; padding: 1.5rem; }
.card-title { font-size: 0.6rem; letter-spacing: 0.22em; color: #1a2a6b; margin-bottom: 1.2rem; text-transform: uppercase; font-weight: 700; }
.gold-bar { border-left: 3px solid #c9a86c; padding-left: 1.2rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* TAGS */
.tag { background: #1a2a6b; color: #c9a86c; font-size: 0.58rem; letter-spacing: 0.12em; padding: 0.2rem 0.6rem; display: inline-block; margin: 0.2rem 0.2rem 0 0; }

/* DETAILS */
.detail-row { display: flex; justify-content: space-between; border-bottom: 1px solid #e0d8cc; padding: 0.5rem 0; font-size: 0.9rem; }
.detail-key { color: #a09070; }

/* GALLERY */
.watermark-bar { background: #fff; border: 1px solid #e0d8cc; border-left: 3px solid #c9a86c; padding: 1rem; margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.toggle { width: 36px; height: 20px; border-radius: 10px; position: relative; cursor: pointer; transition: background 0.2s; display: inline-block; }
.toggle-knob { position: absolute; top: 3px; width: 14px; height: 14px; background: #fff; border-radius: 50%; transition: left 0.2s; }
.main-img-wrap { position: relative; margin-bottom: 0.8rem; }
.main-img-wrap canvas { width: 100%; height: 380px; display: block; object-fit: cover; }
.img-label { position: absolute; bottom: 0.8rem; left: 0.8rem; background: rgba(26,42,107,0.9); color: #c9a86c; font-size: 0.6rem; letter-spacing: 0.15em; padding: 0.25rem 0.8rem; text-transform: uppercase; }
.thumb-row { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; overflow-x: auto; }
.thumb-btn { background: none; padding: 0; cursor: pointer; flex-shrink: 0; border: 2px solid transparent; }
.thumb-btn.active { border-color: #c9a86c; }
.thumb-btn img { width: 82px; height: 58px; object-fit: cover; display: block; }

/* VIDEO */
.video-wrap { position: relative; margin-bottom: 0.5rem; background: #0a0a0a; cursor: pointer; }
.video-wrap video { width: 100%; height: 240px; object-fit: cover; display: block; }
.video-label { position: absolute; bottom: 0.6rem; left: 0.8rem; background: rgba(26,42,107,0.85); color: #c9a86c; font-size: 0.6rem; letter-spacing: 0.15em; padding: 0.2rem 0.6rem; text-transform: uppercase; pointer-events: none; }
.mute-btn { position: absolute; bottom: 0.6rem; right: 0.8rem; background: rgba(0,0,0,0.6); border: 1px solid rgba(201,168,108,0.4); color: #c9a86c; cursor: pointer; font-size: 0.65rem; padding: 0.2rem 0.5rem; font-family: Georgia, serif; }

/* 3D ROOM */
#room-container { width: 100%; height: 480px; background: #f0ece4; border-radius: 4px; overflow: hidden; position: relative; cursor: grab; }
.room-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: rgba(26,42,107,0.88); color: #c9a86c; font-size: 11px; letter-spacing: 0.14em; padding: 5px 14px; font-family: Georgia, serif; pointer-events: none; white-space: nowrap; z-index: 10; }
.room-label { position: absolute; top: 12px; left: 12px; color: #1a2a6b; font-size: 10px; letter-spacing: 0.15em; font-weight: 700; background: rgba(248,245,239,0.9); padding: 4px 10px; z-index: 10; font-family: Georgia, serif; }

/* ANALYSIS */
.analysis-heading { font-size: 1.3rem; font-weight: 400; font-style: italic; color: #1a2a6b; margin: 0 0 0.3rem; }
.analysis-sub { font-size: 0.7rem; color: #a09070; margin: 0 0 1.5rem; letter-spacing: 0.1em; }
.curatorial-title { font-size: 0.65rem; letter-spacing: 0.18em; color: #1a2a6b; text-transform: uppercase; font-weight: 700; border-bottom: 1px solid #e0d8cc; padding-bottom: 0.8rem; margin-bottom: 1.2rem; }
.curatorial-para { color: #4a3020; font-size: 0.97rem; line-height: 1.95; font-style: italic; font-weight: 300; margin-bottom: 1.2rem; }

/* PROMOTE */
.promote-grid { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; }
.channel-btn { display: flex; align-items: center; gap: 0.7rem; background: #f8f5ef; border: 1px solid #e0d8cc; color: #6a5040; font-size: 0.88rem; padding: 0.65rem 0.9rem; text-align: left; font-family: Georgia, serif; width: 100%; margin-bottom: 0.4rem; cursor: pointer; transition: all 0.15s; }
.channel-btn:hover { opacity: 0.85; }
.output-panel { background: #fff; border: 1px solid #e0d8cc; padding: 1.5rem; min-height: 320px; }
.output-text { color: #4a3020; font-size: 0.95rem; line-height: 1.9; font-style: italic; white-space: pre-wrap; }
.btn-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.btn-copy, .btn-redo { background: none; border: 1px solid #e0d8cc; color: #a09070; cursor: pointer; font-size: 0.68rem; padding: 0.25rem 0.65rem; font-family: Georgia, serif; }
.btn-share { border: none; color: #fff; cursor: pointer; font-size: 0.68rem; padding: 0.25rem 0.75rem; font-family: Georgia, serif; font-weight: 700; }
.btn-copy:hover, .btn-redo:hover, .btn-share:hover { opacity: 0.82; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: none; margin-left: auto; flex-shrink: 0; }
.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; color: #a09070; text-align: center; gap: 0.5rem; }
.output-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid #e0d8cc; }
.channel-name { font-size: 0.85rem; font-weight: 700; }
.hint-bar { margin-top: 1rem; padding: 0.7rem 1rem; background: #f8f5ef; border: 1px solid #e0d8cc; font-size: 0.72rem; color: #a09070; font-style: italic; line-height: 1.7; }
.private-badge { position: fixed; top: 0; right: 0; background: #c9a86c; color: #1a2a6b; font-size: 0.6rem; letter-spacing: 0.12em; padding: 3px 10px; font-family: Georgia, serif; font-weight: 700; z-index: 999; }

@keyframes spin { to { transform: rotate(360deg); } }
@media(max-width:640px) { .two-col, .promote-grid { grid-template-columns: 1fr; } nav button { padding: 0.5rem 0.6rem; font-size: 0.6rem; } }
