File size: 8,387 Bytes
d829b9c
 
 
358bb1f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
448b15e
31be700
 
 
 
 
 
b7bc3b4
31be700
 
 
 
 
 
 
 
0470239
f9bad8e
17c0bec
 
 
 
a41b370
 
 
f9bad8e
 
b7bc3b4
 
f9bad8e
 
b7bc3b4
f9bad8e
 
 
 
b7bc3b4
f9bad8e
 
 
 
 
 
 
 
 
 
 
 
b7bc3b4
 
 
f9bad8e
b7bc3b4
f9bad8e
 
 
 
000a4ae
 
 
 
 
 
 
 
 
 
 
 
 
 
b7bc3b4
34b32b9
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/* IDOL host integration only: Scenario geometry and controls keep their styles. */
.app-shell{inset:0;border:0;border-radius:0;box-shadow:none}
.basket-primary{color:var(--on-primary)}

/* Metadata only: preserve the selection dock and spatial canvas geometry. */
.selection-contributor{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.selection-contributor a{color:var(--primary);text-decoration:none}
.selection-contributor a:hover{text-decoration:underline}
.selection-category{text-transform:capitalize;overflow:hidden;text-overflow:ellipsis}
.contribution-labels{margin:12px 0 16px}
.contribution-labels>small{color:var(--muted)}
.contribution-labels ul{display:flex;flex-wrap:wrap;gap:5px;list-style:none;padding:0;margin:8px 0 0}
.contribution-labels li{max-width:100%;overflow-wrap:anywhere;background:var(--canvas);border:1px solid var(--line);border-radius:5px;padding:4px 7px;font-size:11px;color:var(--ink)}
.collection-empty{width:min(400px,calc(100% - 48px))}
.collection-empty h2{font-size:23px;line-height:1.25}
.collection-empty p{line-height:1.6}
.collection-empty small{display:block;margin-top:15px;color:var(--muted);font-size:11px}
.collection-empty .quiet-button{color:var(--on-primary);background:var(--primary);border-radius:8px;padding:11px 15px}
@media(max-width:700px){.collection-empty h2{font-size:21px}.collection-empty p{font-size:12px}}
.report-asset{margin-left:auto;display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:10px;padding:2px 0;flex-shrink:0}.report-asset:hover{color:var(--ink);text-decoration:underline}


/* Basket crop coordinates assume a square. Preserve that square at every width. */
.basket-inspect .framed-preview{width:min(112px,100%);height:auto;aspect-ratio:1;flex:none;line-height:0}
.basket-inspect>img.asset-image{width:min(112px,100%);height:auto;aspect-ratio:1;object-fit:contain}
/* Identity and actions lead; details follow in one bounded scrolling area. */
.object-dock.selection-bar{max-height:calc(100% - var(--toolbar-height) - 92px);overflow:auto;overscroll-behavior:contain}
.selection-bar .selection-details{order:0;border-top:1px solid var(--line);border-bottom:0;margin:8px 0 0;padding:14px 0 2px;max-height:240px;width:100%}
.selection-bar .selection-summary{order:0}.selection-bar .selection-status{order:0}
.asset-community{display:flex;align-items:center;gap:14px;padding:9px 0 2px;color:var(--muted);font-size:10px;flex-wrap:wrap}
.asset-community>button,.asset-community>span{display:inline-flex;align-items:center;gap:5px;min-height:30px}.asset-community>button{padding:4px 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--muted)}
.asset-community b{font-size:11px;font-weight:550;font-variant-numeric:tabular-nums}.asset-community>button:hover,.asset-community>button.liked{color:var(--primary);background:var(--selected)}
.asset-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-bottom:10px}.asset-specs>*{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:4px!important;min-width:0;font-size:11px!important}.asset-specs strong{font-weight:550;overflow-wrap:anywhere}.asset-specs small{margin:0;display:flex;align-items:center;gap:4px;font-size:10px}
.selection-details .asset-description{font-size:12px;line-height:1.6;margin:4px 0 10px}.asset-credits{padding:10px 0;border-top:1px solid var(--line)}.asset-credits p{overflow-wrap:anywhere;margin-top:9px}.asset-credits a{margin-top:9px}.social-notice{font-size:11px;color:var(--muted);line-height:1.5;padding:8px 0}.social-notice a{color:var(--primary);display:flex;align-items:center;gap:5px;margin-top:6px}
@media(max-width:700px){.asset-community{gap:9px;font-size:9px}.asset-community>span{gap:4px}.selection-bar .selection-details{max-height:210px}.object-dock.selection-bar{max-height:calc(100% - 205px)}.asset-specs{gap:7px}.selection-actions{gap:3px}}

.viewer-contribute{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);background:var(--selected);color:var(--active);padding:9px 12px;border-radius:8px;font:inherit;font-size:12px;font-weight:550;white-space:nowrap}.viewer-contribute:hover{background:var(--hover)}.asset-owner-actions{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px;margin-top:10px}.asset-owner-actions button{display:inline-flex;gap:6px;align-items:center;border:0;background:transparent;color:var(--active);font:inherit;font-size:11px;padding:4px 0}
/* Direct manipulation is the default. Page scrolling is an explicit touch mode. */
.viewport,.object{touch-action:none}
.page-scroll .viewport,.page-scroll .object{touch-action:pan-y}
.page-scroll .viewer-host{pointer-events:none}
/* Loading and failed engines must not leave an invisible gesture trap. */
.viewer-host:not([data-ready="true"]){pointer-events:none}
.asset-community>.like-sign-in{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:4px 8px;border:1px solid var(--line);border-radius:7px;background:var(--selected);color:var(--primary);font-size:11px;font-weight:550}

/* A shared control size and grid keep actions aligned at every pane width. */
.app-shell{--toolbar-height:76px}
.topbar{height:var(--toolbar-height);display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:44px;align-items:center;gap:12px;padding:16px}
.topbar .wordmark{grid-column:1;grid-row:1;min-height:44px;gap:8px}
.topbar .wordmark .brand-name{display:flex}
.topbar .search-wrap{grid-column:2;grid-row:1;position:relative;inset:auto;transform:none;width:100%;height:44px;min-width:0}
.topbar .topbar-actions{grid-column:3;grid-row:1;position:static;margin:0;gap:8px;align-items:center}
.topbar-actions .viewer-contribute,.topbar-actions .basket-button,.topbar-actions .about-button{display:inline-flex;align-items:center;justify-content:center;position:static;margin:0;height:44px;min-width:44px;padding:0 12px;flex-shrink:0;border-radius:9px}
.topbar-actions .about-button{width:44px;padding:0}
.topbar-actions svg{width:18px;height:18px;flex-shrink:0}
.about-panel{top:var(--toolbar-height)}
.bottom-bar{align-items:center;gap:12px}
.canvas-hint{flex-wrap:wrap;gap:4px 12px;line-height:1.5;min-width:0}
.canvas-hint .desktop-hint{display:inline}.canvas-hint .mobile-hint{display:none}
.view-tools{gap:8px}
.zoom-control,.view-tools .fit-button{height:44px}
.zoom-control button{min-width:36px}.view-tools .fit-button{width:44px}
@media(pointer:coarse){.canvas-hint .desktop-hint{display:none}.canvas-hint .mobile-hint{display:inline}.search-wrap kbd{display:none}}
@media(max-width:700px){
 .topbar-actions .viewer-contribute{width:44px;padding:0}.viewer-contribute span{display:none}
 .canvas-hint{max-width:calc(100% - 180px);font-size:10px;gap:3px}
 .canvas-hint .creator-credit{display:none}
}
@media(max-width:560px){
 .app-shell{--toolbar-height:120px}
 .topbar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 44px;gap:8px;padding:12px}
 .topbar .topbar-actions{grid-column:2}
 .topbar .search-wrap{grid-column:1/-1;grid-row:2}
 .topbar .wordmark{font-size:16px;gap:6px}
 .topbar .wordmark>svg{width:22px;height:22px;flex-shrink:0}
 .topbar .topbar-actions{gap:4px}
}


/* Collection arrangement sits with the view controls, with a visible action label. */
.order-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--glass);box-shadow:0 3px 12px #3f4c7409;font-size:11px;white-space:nowrap}
.order-button:hover:not(:disabled){background:var(--hover)}
.order-label-short{display:none}
@media(max-width:700px){
 .bottom-bar{flex-direction:column;align-items:stretch;gap:7px}
 .bottom-bar .canvas-hint{flex-direction:row;align-items:center;justify-content:space-between;max-width:none;width:100%;gap:8px}
 .view-tools{width:100%;justify-content:flex-end}
 .order-button{margin-right:auto;padding:0 10px}
 .order-label{display:none}.order-label-short{display:inline}
 .object-dock.selection-bar{bottom:104px;max-height:calc(100% - var(--toolbar-height) - 120px)}
}


.selection-details .asset-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
.asset-source-link{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);margin:10px 0}