.gift-panel {position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:960px;height:clamp(330px,min(62vw,88svh),600px);container-type:inline-size;touch-action:manipulation;user-select:none;background:#fff;box-sizing:border-box}
.gift-panel[hidden] {display:none!important}
.gift-art,.gift-action {position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0}
.gift-action {border:0;background:transparent;color:inherit;z-index:4;appearance:none;-webkit-tap-highlight-color:transparent;outline-offset:-4px}
.gift-panel[data-gift-phase="waiting"] .gift-action {cursor:pointer}
.gift-action:focus:not(:focus-visible) {outline:none}
.gift-action:focus-visible {outline:3px dashed #141110}
.gift-status {position:absolute;inset:0 auto auto 0;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;margin:0;pointer-events:none}
@media(max-aspect-ratio:1/1){.gift-panel {height:clamp(300px,min(125vw,86svh),670px)}}
@media(max-height:440px) and (min-aspect-ratio:1/1){.gift-panel {height:calc(100svh - 12px);max-width:calc(190svh - 22px)}}
