/* 寻物匣第四版：丝绒匣、金边、珠宝道具 */
body{background:linear-gradient(rgba(86,40,120,.30),rgba(54,24,84,.86) 74%),url("v3/rooms/jewel.webp") 50% 20%/cover fixed,#3c1c5c}
.hero{position:relative;min-height:210px;border:1px solid rgba(255,224,186,.55);background:linear-gradient(100deg,rgba(96,40,130,.88),rgba(96,40,130,.35) 60%),url("v3/rooms/jewel.webp") 70% 50%/cover;box-shadow:0 14px 40px rgba(40,6,60,.45),inset 0 1px 0 rgba(255,255,255,.3)}.hero img{width:168px;height:206px;filter:drop-shadow(0 10px 18px rgba(40,0,50,.5))}.hero h1{font-size:32px;color:#fff0d8;text-shadow:0 2px 12px rgba(90,10,90,.7)}.hero p{color:#fff;text-shadow:0 1px 6px rgba(60,0,70,.8)}
.go{border:1px solid rgba(255,224,186,.5);background:linear-gradient(135deg,#d860b0,#8a4ad0);box-shadow:0 8px 22px rgba(120,20,120,.4),inset 0 1px 0 rgba(255,255,255,.4)}.daily{background:linear-gradient(100deg,#7a3ac8,#e56ab8 60%,#ffcf90);min-height:74px;font-size:21px}
h2{color:#ffe9d0;text-shadow:0 1px 6px rgba(60,0,70,.7)}.levels button,.finds div{border:1px solid rgba(255,214,236,.28);background:linear-gradient(165deg,rgba(255,190,230,.26),rgba(90,40,140,.5));backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}.levels .ok{border-color:#ffe0ae;background:linear-gradient(165deg,rgba(255,210,150,.42),rgba(180,70,150,.5))}
.talk{margin:0 12px;padding:6px 14px 6px 6px;border-radius:99px;background:linear-gradient(100deg,rgba(150,70,160,.6),rgba(74,38,130,.55));border:1px solid rgba(255,214,236,.3);backdrop-filter:blur(8px)}.talk img{width:50px;height:50px;border:1.5px solid #ffe0ae;background:linear-gradient(#f3b5dc,#8a5cc8)}
.case{margin:8px 12px;border:0;border-radius:26px;padding:8px;background:linear-gradient(135deg,#fff0cf,#c98a4a 22%,#ffe6b4 40%,#a9662f 60%,#ffe9bd 80%,#b8783a);box-shadow:0 12px 34px rgba(40,4,50,.5),inset 0 0 0 1px rgba(255,255,255,.6)}.case::before{content:"";position:absolute;inset:8px;border-radius:19px;background:radial-gradient(120% 80% at 50% 0,rgba(255,190,235,.30),transparent 55%),linear-gradient(rgba(40,6,60,.05),rgba(40,6,60,.42)),url("find2/in.webp") 50% 50%/cover;box-shadow:inset 0 16px 44px rgba(30,0,40,.72),inset 0 -10px 30px rgba(30,0,40,.5),inset 0 0 0 2px rgba(90,40,20,.6)}.case canvas{position:relative;border-radius:19px}.case i{left:16px;right:16px;bottom:8px;max-width:calc(100% - 32px);height:5px;border-radius:9px;background:linear-gradient(90deg,#ff9fd0,#ffe0ae)}.case.hot{box-shadow:0 0 34px rgba(255,180,120,.9),inset 0 0 0 1px #fff}
.tray{gap:6px;padding:8px;border:1px solid rgba(255,224,186,.65);background:linear-gradient(180deg,rgba(130,60,150,.88),rgba(62,26,96,.94));box-shadow:0 8px 24px rgba(40,4,50,.45),inset 0 1px 0 rgba(255,255,255,.3)}.tray div{border-radius:12px;background:radial-gradient(circle at 50% 30%,rgba(255,220,242,.24),rgba(30,0,50,.34));box-shadow:inset 0 2px 6px rgba(20,0,36,.55),0 1px 0 rgba(255,255,255,.14)}.tray canvas{filter:drop-shadow(0 3px 4px rgba(30,0,40,.6))}.tray.full{border-color:#ff8fb8;animation:warn 1s ease-in-out infinite}.tray.glow{animation:gl .5s}@keyframes gl{30%{box-shadow:0 0 34px rgba(255,214,160,.95)}}@keyframes warn{50%{box-shadow:0 0 24px rgba(255,90,150,.8)}}
.tools{gap:8px}.tools button{position:relative;padding:40px 2px 6px;border:1px solid rgba(255,214,236,.28);background:linear-gradient(165deg,rgba(255,190,230,.24),rgba(80,34,130,.6));box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 6px 14px rgba(40,4,50,.35)}.tools i{position:absolute;left:50%;top:-8px;width:50px;height:50px;margin-left:-25px;background:center/contain no-repeat;filter:drop-shadow(0 4px 5px rgba(40,0,50,.55))}.tools [data-t=out] i{background-image:url("find2/tl_out.webp")}.tools [data-t=flip] i{background-image:url("find2/tl_flip.webp")}.tools [data-t=undo] i{background-image:url("find2/tl_undo.webp")}.tools [data-t=help] i{background-image:url("find2/tl_help.webp")}.tools [data-t=shake] i{background-image:url("find2/tl_shake.webp")}.tools{margin-top:14px}.tools button:active i{transform:scale(.86) rotate(-6deg)}
.pop{font-size:30px;color:#fff;-webkit-text-stroke:1px rgba(190,60,150,.6);text-shadow:0 0 14px rgba(255,150,210,.95),0 3px 8px rgba(60,0,70,.6)}dialog{background:linear-gradient(170deg,#9a56bc,#4c2690);border-color:rgba(255,224,186,.6)}dialog .pri{background:linear-gradient(135deg,#ff9fd0,#9a5ce0)}
@media (max-height:700px){.tools button{padding-top:30px}.tools i{width:40px;height:40px;margin-left:-20px;top:-8px}}@media(prefers-reduced-motion:reduce){.tray.full,.tray.glow{animation:none}}

body[data-scene=tidy] .find{width:min(100%,560px);margin-left:clamp(16px,5vw,110px);background:#34242dda}
@media(max-width:800px){body[data-scene=tidy] .find{margin:0 auto}body[data-scene=tidy]{background-image:url("v3/rooms/jewel.webp")}}
/* The classic save uses the same shop materials as the room journal. */
.find{--gold:var(--hh-gold,#f4d6a2);--ink:var(--hh-ink,#fff4e2);--soft:var(--hh-muted,#dbd3cb)}
body[data-scene=tidy] .find{background:linear-gradient(155deg,#172234eb,#242438e8)}
.find .hero.hh-panel{background-color:var(--hh-panel,#243347);background-image:url("v3/ui/sakura-corner.svg"),linear-gradient(135deg,#29394c,#252536);background-size:50px 38px,cover;background-position:right 10px top 10px,center;background-repeat:no-repeat}
.find .go.hh-button,.find .levels .hh-button,.find .tools .hh-button{background:linear-gradient(150deg,#39475b,#242a3d);border:1px solid var(--hh-edge,#857154);color:var(--ink);box-shadow:inset 0 1px 0 #fff2}
.find .go.hh-primary,.find .levels .ok{background:linear-gradient(120deg,#ffedc8,#e2bd84);color:#342c34}
.find .go.hh-primary small,.find .levels .ok small{color:#523c39}
dialog.hh-dialog{background-color:var(--hh-panel,#243347);background-image:url("v3/ui/sakura-corner.svg"),linear-gradient(135deg,#29394c,#1e2739);background-position:right 10px top 10px,center;background-size:48px 38px,cover;background-repeat:no-repeat;border-color:var(--hh-edge,#857154)}
dialog .pri.hh-primary{background:linear-gradient(120deg,#ffedc8,#e2bd84);color:#342c34}
.find .hh-tilt{display:none}
/* The gift box keeps the shared night sky outside its lacquer frame. */
.gift-sky.hh-night-sky { position: fixed; inset: 0; z-index: -1; }
.gift-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 12%,#21173075 70%),url("v3/rooms/jewel.webp") center/cover; opacity: .34; }
body[data-scene=tidy] .find { --hh-frame-inset: 5px; background: linear-gradient(150deg,#312043ee,#21182fec); padding: 8px; }
.find .hero.hh-ornate, .find .talk.hh-ornate, dialog.hh-ornate { background-image: url("v3/ui/yozakura/corner.webp"),var(--hh-glass); background-position: right 4px top 4px,center; background-repeat: no-repeat; background-size: 46px auto,cover; }
.find .hero .hh-heading, dialog .hh-heading { color: var(--hh-gold); font-family: var(--hh-title-brush); }
.find .hh-ribbon { width: fit-content; font-size: 15px; margin: 12px 0 8px; }
.find .go.hh-button, .find .levels .hh-button, .find .tools .hh-button, dialog .pri.hh-primary { color: #ffe9ba; background: var(--hh-lacquer-fill); }
.find .levels .hh-button:disabled { background: var(--hh-night); opacity: .68; }
.find .go.hh-primary small, .find .levels .ok small { color: #f6dba1; }
.finds.hh-washi { border-radius: var(--hh-radius); }
.finds.hh-washi :is(div,b) { color: #543849; }

