#ship-identity[hidden]{display:none!important}
#ship-identity{position:fixed;inset:0;z-index:10100;background:rgba(3,8,16,.94);display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box;color:#dfeaf0;overflow:auto;touch-action:pan-y}
.identity-sheet{width:min(680px,100%);max-height:calc(100dvh - 24px);overflow:auto;background:#101d2a;border:1px solid #385468;border-radius:14px;padding:18px;box-sizing:border-box}
.identity-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.identity-sheet h2{margin:3px 0 12px;font-size:24px}.identity-sheet small{color:#7ddcd9;letter-spacing:2px}
#identity-preview{width:100%;height:auto;max-height:33dvh;object-fit:contain;background:#09121d;border-radius:8px}
#identity-summary,.identity-note{font-size:12px;color:#a5bbc9;line-height:1.5;margin:9px 0}
.identity-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.identity-controls label{display:flex;flex-direction:column;gap:6px;font-size:13px}
.identity-sheet select,.identity-sheet button{font:inherit;color:#e8f3f7;background:#1b3344;border:1px solid #47687d;border-radius:7px;min-height:42px;padding:8px 12px;cursor:pointer}
.identity-sheet select{width:100%;max-width:100%;box-sizing:border-box}.identity-sheet button:hover{background:#284a5e}
.identity-controls input[type=color]{width:100%;height:36px;border:1px solid #47687d;border-radius:6px;background:#142b3a;padding:3px;box-sizing:border-box}
.identity-sheet footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.identity-sheet footer button:last-child{margin-left:auto}
#identity-arrange{grid-column:1/-1}#sy-style{border-color:#82ddd6;color:#9debe5}
body.identity-open #phone-fullscreen{display:none!important}
@media(max-height:520px){#ship-identity{align-items:flex-start}.identity-sheet{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;padding:12px}.identity-sheet header,.identity-sheet footer,.identity-note{grid-column:1/-1}#identity-preview{grid-column:1;grid-row:2/4;max-height:48dvh}#identity-summary{grid-column:1}.identity-controls{grid-column:2;grid-row:2/4;gap:7px}.identity-sheet h2{font-size:19px;margin:0}.identity-sheet select,.identity-sheet button{min-height:36px;padding:5px 8px}}
