/* 家居造景：自带的 64px 图标贴进原来的格子（和别的物品图标同一套尺寸变量 --s） */
.ico.gd230 { background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; image-rendering: pixelated; }

/* 拍照模式：界面收起，只留取景框、印章和三个按钮 */
body.photo230 .ui-blk, body.photo230 #stick-zone, body.photo230 #stick-base, body.photo230 #touch-btns, body.photo230 #hint, body.photo230 #guide, body.photo230 #guide-say, body.photo230 #hud { display: none !important; }
#photo230 { position: fixed; inset: 0; z-index: 900; touch-action: none; cursor: grab; }
#photo230[hidden] { display: none; }
#photo230 .ph-frame { position: absolute; inset: 10px; border: 2px solid rgba(243,234,215,.92); box-shadow: 0 0 0 9999px rgba(40,30,20,.0), inset 0 0 0 1px rgba(90,70,50,.35); pointer-events: none; }
#photo230 .ph-seal { position: absolute; right: 22px; top: 22px; width: 72px; padding: 6px 4px; text-align: center; background: rgba(243,234,215,.9); border: 2px solid #a63d33; color: #a63d33; border-radius: 3px; pointer-events: none; font-family: "Noto Serif SC","Songti SC",serif; }
#photo230 .ph-seal b { display: block; font-size: 18px; letter-spacing: 2px; }
#photo230 .ph-seal span { display: block; font-size: 11px; color: #6b5a48; margin-top: 2px; }
#photo230 .ph-bar { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 14px; justify-content: center; }
#photo230 .ph-bar button { min-width: 96px; min-height: 40px; padding: 6px 16px; font-size: 15px; background: rgba(243,234,215,.94); color: #4a3a2c; border: 1px solid rgba(90,70,50,.55); border-radius: 4px; cursor: pointer; }
#photo230 .ph-bar button.pri { background: #3d5a46; color: #f3ead7; border-color: #2a4032; }
#photo230 .ph-tip { position: absolute; left: 0; right: 0; top: 20px; text-align: center; color: #f3ead7; font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,.7); pointer-events: none; }
#photo230-view { position: fixed; inset: 0; z-index: 950; background: rgba(30,24,18,.62); display: flex; align-items: center; justify-content: center; padding: 12px; }
#photo230-view .pv-card { background: #f3ead7; padding: 10px 10px 12px; border: 1px solid rgba(90,70,50,.5); max-width: min(92vw, 640px); max-height: 92vh; display: flex; flex-direction: column; gap: 6px; align-items: center; }
#photo230-view img { max-width: 100%; max-height: calc(92vh - 110px); image-rendering: pixelated; display: block; }
#photo230-view p { margin: 0; font-size: 12px; color: #6b5a48; }
#photo230-view .pv-btns { display: flex; gap: 12px; }
#photo230-view .pv-btns a, #photo230-view .pv-btns button { min-width: 88px; min-height: 36px; padding: 6px 14px; font-size: 14px; border: 1px solid rgba(90,70,50,.55); border-radius: 4px; background: #f8f1e2; color: #4a3a2c; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
#photo230-view .pv-btns a { background: #3d5a46; color: #f3ead7; }
