.my-drive{color:#25272d;padding:28px 10px 60px;max-width:1700px;margin:auto;font-size:13px;line-height:1.5;letter-spacing:0}
.my-drive[lang=en]{font-size:13px;line-height:1.45;letter-spacing:-.01em}.my-drive[lang=zh]{font-size:13px;line-height:1.6;letter-spacing:.015em}
.my-drive button,.my-drive a,.my-drive select{transition:background .15s,border-color .15s,color .15s}.my-drive button:not(:disabled),.my-drive a,.my-drive select{cursor:pointer}.my-drive button:disabled{cursor:default;opacity:.45}.my-drive button:focus-visible,.my-drive a:focus-visible,.my-drive input:focus-visible,.my-drive select:focus-visible{outline:2px solid #4375da;outline-offset:3px}
.my-drive-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.my-drive-heading h1{font-size:28px;font-weight:650;letter-spacing:-.04em;line-height:1.2;margin:0 0 9px}.my-drive-heading p{color:#828790;margin:0}.my-drive-sync{color:#66727c;display:flex;gap:8px;align-items:center;font-size:12px}.my-drive-sync svg{color:#638caa}
.my-drive-tabs{display:flex;gap:32px;border-bottom:1px solid #edf0f3;margin-bottom:24px}.my-drive-tabs button{border:0;background:transparent;padding:12px 2px 15px;position:relative;font-size:14px;font-weight:550;color:#767d88;white-space:nowrap}.my-drive-tabs button:hover{color:#2d5ca7}.my-drive-tabs button[aria-current]{color:#225fc5}.my-drive-tabs button[aria-current]:after{content:'';height:3px;border-radius:3px;position:absolute;bottom:-1px;left:0;right:0;background:#306cd1}
.my-drive-recent{background:#fafcfe;border:1px solid #e9eff6;border-radius:14px;padding:18px 20px;margin:0 0 30px}.my-drive-recent header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.my-drive h2{font-size:15px;font-weight:600;margin:0}.my-drive-recent header>button{display:flex;align-items:center;gap:5px;color:#7d8691;font-size:12px;background:none;border:0}.my-drive-recent-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.my-drive-recent-items>button{display:flex;gap:13px;align-items:center;text-align:left;min-width:0;padding:12px;border:1px solid #eef1f6;background:white;border-radius:10px}.my-drive-recent-items>button:hover{border-color:#cbd9ee;background:#f7faff}.my-drive-recent-items>button>span:nth-child(2){flex:1;min-width:0}.my-drive-recent strong{display:block;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-drive-recent small{display:block;color:#939ba6;font-size:11px;margin-top:4px}.my-drive-recent-items>button>svg{color:#aab5c2;flex-shrink:0}
.my-drive-file-icon{width:42px;height:45px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.my-drive-file-icon.is-video{background:#eef3ff;color:#6486ce}.my-drive-file-icon.is-image{background:#eaf5f3;color:#52988b}.my-drive-file-icon.is-audio{background:#f4effa;color:#a182bf}
.my-drive-files-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.my-drive-files-heading>span{display:flex;gap:10px;align-items:center;color:#949aa3;font-size:11px}.my-drive-files-heading i{height:3px;width:3px;background:#b7bdc5;border-radius:50%}
.my-drive-toolbar{display:flex;align-items:center;gap:10px}.my-drive-primary{background:#343746;color:#fff;border:1px solid #343746;display:inline-flex;align-items:center;justify-content:center;gap:9px;height:40px;padding:0 16px;border-radius:8px;font-weight:500;white-space:nowrap}.my-drive-primary:hover:not(:disabled){background:#232737}.my-drive-icon-button{border:1px solid #e9ebef;border-radius:8px;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:white;color:#737c88;text-decoration:none;flex-shrink:0}.my-drive-icon-button:hover{background:#f2f5fa;color:#3463ae}.my-drive-toolbar-spacer{flex:1}.my-drive-search{display:flex;align-items:center;gap:7px;height:38px;border:1px solid #e8ebf0;border-radius:8px;padding:0 11px;color:#969da8;background:#fff;max-width:230px;width:23%}.my-drive-search input{width:100%;min-width:0;border:0;outline:0;background:none;color:#333;font-size:12px}.my-drive-search input::placeholder{color:#9ca3ad}.my-drive-search button{border:0;background:none;display:flex;color:#7a8391;padding:0}.my-drive-toolbar select{height:38px;border:1px solid #e8ebf0;border-radius:8px;background:white;padding:0 10px;color:#66717f;font-size:12px;max-width:145px}.my-drive-view{display:flex;border:1px solid #e7ebf0;border-radius:8px;padding:3px;gap:2px}.my-drive-view button{height:30px;width:32px;display:flex;align-items:center;justify-content:center;border:0;background:none;color:#87919f;border-radius:5px}.my-drive-view button[aria-pressed=true]{background:#edf2f9;color:#3f608f}.my-drive-upload-hint{font-size:11px;color:#929aa6;margin:10px 0 22px}
.my-drive-table-wrap{overflow-x:auto}.my-drive table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.my-drive th{font-size:11px;font-weight:500;color:#9aa1ab;border-bottom:1px solid #edf0f4;padding:11px 12px 13px}.my-drive th:first-child{width:47%;padding-left:4px}.my-drive th:nth-child(2){width:12%}.my-drive th:nth-child(3){width:16%}.my-drive th:last-child{width:48px}.my-drive td{border-bottom:1px solid #f0f2f5;padding:12px;color:#8a919d;font-size:12px}.my-drive td:first-child{padding-left:4px}.my-drive tr:hover td{background:#fafcff}.my-drive-file-name{display:flex;align-items:center;gap:15px;background:none;border:0;width:100%;text-align:left;padding:0;color:#414853;font-size:13px}.my-drive-file-name>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.my-drive td:last-child{padding:0}.my-drive td .my-drive-icon-button{border-color:transparent;background:transparent;width:32px}.my-drive td .my-drive-icon-button:hover{background:#edf3fc}
.my-drive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:22px 20px}.my-drive-grid article{min-width:0}.my-drive-card-preview{display:block;border:1px solid #edf0f4;border-radius:11px;overflow:hidden;width:100%;padding:0;background:none}.my-drive-card-preview:hover{border-color:#aebfda}.my-drive-thumb{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;width:100%;overflow:hidden;background:#f0f4f9;color:#88a1bd}.my-drive-thumb.is-image{background:#edf5f3;color:#79a59b}.my-drive-thumb.is-audio{background:#f3f0f7;color:#a694ba}.my-drive-thumb img,.my-drive-thumb video{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.my-drive-thumb-type{position:absolute;bottom:8px;right:8px;background:#fffdf0ed;color:#53606e;border:1px solid #fff9;padding:1px 5px;border-radius:3px;font-size:9px;letter-spacing:.04em}.my-drive-card-details{display:grid;grid-template-columns:minmax(0,1fr) 23px;gap:5px;padding:11px 2px}.my-drive-card-details button{background:none;border:0;text-align:left;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;color:#404957}.my-drive-card-details a{color:#8993a1;display:flex;justify-content:center;align-items:center}.my-drive-card-details small{font-size:11px;color:#9aa1ac;display:flex;gap:8px;grid-column:1/-1}
.my-drive-empty{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#8e9baa;gap:10px;padding:32px 24px}.my-drive-empty h3{font-weight:550;font-size:17px;color:#4c5766;margin:6px 0 0}.my-drive-empty p{margin:0 0 10px;max-width:460px;color:#939ca8;line-height:1.7;font-size:12px}.my-drive-empty-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:24px;background:#f0f5fc;color:#789ac2;margin-bottom:4px}.my-drive-empty .my-drive-primary{height:36px;font-size:12px}
.my-drive-transfer{border:1px solid #dbe8e2;background:#f5faf7;border-radius:9px;padding:13px 15px;margin-bottom:20px;font-size:12px;color:#517b64}.my-drive-transfer>div{display:flex;gap:10px;align-items:center}.my-drive-transfer strong{font-weight:500;max-width:28%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-drive-transfer span{flex:1;color:#72867a}.my-drive-transfer button{background:transparent;border:0;color:inherit;display:flex;padding:3px;white-space:nowrap;font-weight:550}.my-drive-transfer progress{display:block;height:3px;width:100%;margin-top:12px;accent-color:#638d74}.my-drive-notice{padding:12px 14px;border-radius:7px;margin:12px 0}.my-drive .is-error{color:#a26d48;background:#fffbf4;border-color:#eadbc7}.my-drive .is-error span{color:#9a8268}.my-drive-preview{min-height:250px}.my-drive-preview>img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}.my-drive-preview .deepv-video-player{max-height:72vh}.my-drive-preview video{max-height:66vh;object-fit:contain}.my-drive-preview footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;font-size:12px;color:#888}.my-drive-preview footer a{display:inline-flex;gap:8px;align-items:center;padding:9px 13px;border-radius:7px;background:#f2f4f7;color:#404957;text-decoration:none}.my-drive-audio{min-height:280px;display:flex;align-items:center;justify-content:center;gap:32px;flex-direction:column;background:#f8f6fb;color:#b0a2c2;border-radius:12px}.my-drive-audio audio{width:min(450px,90%)}.my-drive .is-spinning{animation:my-drive-spin 1.2s linear infinite}@keyframes my-drive-spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.my-drive-recent-items{grid-template-columns:repeat(2,minmax(0,1fr))}.my-drive-recent-items>button:nth-child(3){display:none}.my-drive th:first-child{width:44%}.my-drive th:nth-child(3),.my-drive td:nth-child(3){display:none}.my-drive-search{width:25%}.my-drive-sync{font-size:11px}}
@media(max-width:720px){.my-drive{padding:18px 0 40px}.my-drive-heading h1{font-size:24px}.my-drive-sync{display:none}.my-drive-tabs{gap:24px;overflow:auto}.my-drive-recent-items{grid-template-columns:1fr}.my-drive-recent-items>button:nth-child(2){display:none}.my-drive-toolbar{flex-wrap:wrap;gap:8px}.my-drive-toolbar-spacer{display:none}.my-drive-search{max-width:none;flex:1;width:auto}.my-drive-toolbar select{order:6;margin-left:auto}.my-drive-view{order:7}.my-drive th:first-child{width:60%}.my-drive th:nth-child(4),.my-drive td:nth-child(4){display:none}.my-drive-files-heading>span{font-size:10px;gap:6px}.my-drive-transfer>div{flex-wrap:wrap}.my-drive-transfer strong{max-width:70%}.my-drive-transfer span{flex-basis:100%}.my-drive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.my-drive-preview footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.my-drive *{animation:none!important;transition:none!important}}

body:has([data-my-drive]) [data-file-preview-card]:has(.my-drive-preview){--color-panel:#fff;--color-ink:#25272d;--color-ink-secondary:#767d88;--color-raised:#f6f8fb;--color-hairline:#e5e9ee;background:#fff;color:#25272d}

.my-drive-thumb.is-compact{width:72px;height:48px;aspect-ratio:3/2;flex:0 0 72px;border:1px solid #e6ebf0;border-radius:7px}.my-drive-thumb.is-compact .my-drive-thumb-type{display:none}.my-drive-recent .my-drive-thumb.is-compact{width:84px;height:56px;flex-basis:84px}.my-drive-thumb.is-compact img,.my-drive-thumb.is-compact video{object-fit:contain;background:#f3f5f7}

/* Panda Go Drive. All surfaces are scoped to this drive or its own media preview. */
.my-drive-picker-footer {
  position: sticky;
  z-index: 2;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #dce6e5;
  background: #fff;
}
.my-drive-picker-footer small { display: block; }
.my-drive .my-drive-browse[hidden] { display: none; }
.my-drive .my-drive-preview-inline { display: grid; gap: 12px; padding: 16px 0 12px; }
.my-drive-preview-inline > header { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.my-drive-preview-inline h2 { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.my-drive .my-drive-preview-back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 6px 11px;
  border: 1px solid #d5e2dc;
  border-radius: 8px;
  color: #29483c;
  background: #fff;
}
.my-drive .my-drive-preview-back:hover:not(:disabled) { background: #eef5f0; }
.my-drive-preview-inline .my-drive-preview-media {
  display: grid;
  min-height: 120px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f2f6f3;
}
.my-drive-preview-media > img {
  display: block;
  width: 100%;
  height: min(62dvh, 780px);
  object-fit: contain;
}
.my-drive .my-drive-preview-media video { max-height: min(61dvh, 760px); }
.my-drive .my-drive-preview-media .my-drive-audio { width: 100%; min-width: 0; }
.my-drive .my-drive-picker-footer a { display: inline-flex; gap: 7px; text-decoration: none; }
.my-drive .my-drive-icon-button[aria-pressed="true"] { background: #20553d; color: #fff; }
.my-drive .my-drive-icon-button:disabled { opacity: .5; }
[data-my-drive] {
  --drive-ink: #162e37;
  --drive-muted: #526970;
  --drive-line: #dce6e5;
  --drive-accent: #087768;
  container: drive / inline-size;
  max-width: 1440px;
  margin-inline: auto;
  padding: 18px clamp(0px, 1vw, 15px) 48px;
  color: var(--drive-ink);
  font-family: "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
}
.my-drive[lang=en] { font-size: 14px; line-height: 1.5; letter-spacing: -.012em; }
.my-drive[lang=zh] { font-size: 14px; line-height: 1.65; letter-spacing: .01em; }
.my-drive .my-drive-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  min-height: 144px;
  padding: 25px clamp(22px, 3.5%, 49px);
  border-radius: 18px;
  color: #f7fffc;
  background: radial-gradient(ellipse at 95% 115%, #205e58, transparent 56%), #173538;
  margin: 0 0 18px;
}
.my-drive .my-drive-heading > div { max-width: 64%; }
.my-drive .my-drive-heading h1 {
  font-size: clamp(26px, 3.4cqw, 41px);
  line-height: 1.13;
  letter-spacing: -.035em;
  font-weight: 680;
  color: #fff;
  margin: 0 0 8px;
}
.my-drive[lang=zh] .my-drive-heading h1 { letter-spacing: -.025em; line-height: 1.2; }
.my-drive .my-drive-heading p { margin: 0; color: #d5e8e4; font-size: 13px; }
.my-drive .my-drive-sync { color: #c1dfd5; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
.my-drive .my-drive-sync svg { color: #98dec1; width: 14px; height: 14px; }

.my-drive .my-drive-heading { }
.my-drive .my-drive-tabs {
  display: flex; gap: 4px; align-items: center;
  overflow-x: auto; padding: 4px; margin: 0 0 22px; width: fit-content; max-width: 100%;
  background: #eef4f2; border: 1px solid #e3ebe8; border-radius: 12px;
}
.my-drive .my-drive-tabs button {
  padding: 6px 16px; min-height: 34px; border: 1px solid transparent;
  border-radius: 8px; font-size: 13px; color: #506660; font-weight: 550;
}
.my-drive .my-drive-tabs button:hover { color: #195749; background: #e0ebe5; }
.my-drive .my-drive-tabs button[aria-current] { color: #fff; background: #21584e; border-color: #21584e; }
.my-drive .my-drive-tabs button[aria-current]::after { content: none; }
.my-drive .my-drive-recent { background: none; border: 0; padding: 0; margin: 0 0 24px; }
.my-drive .my-drive-recent header { margin-bottom: 11px; }
.my-drive h2 { font-size: 18px; line-height: 1.4; font-weight: 650; color: var(--drive-ink); }
.my-drive .my-drive-recent header > button { color: var(--drive-accent); font-size: 12px; padding: 5px 0 5px 8px; }
.my-drive .my-drive-recent-items { gap: 12px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.my-drive .my-drive-recent-items > button {
  display: flex; position: relative; align-items: center; gap: 12px; min-height: 76px;
  padding: 9px 11px 9px 9px; border: 1px solid var(--drive-line); border-radius: 13px;
  color: var(--drive-ink); background: #fff;
}
.my-drive .my-drive-recent-items > button:hover { background: #f3f9f6; border-color: #9dbdb2; }
.my-drive .my-drive-recent-items > button > svg { width: 14px; color: #688e84; }
.my-drive .my-drive-recent strong { font-size: 13px; font-weight: 600; }
.my-drive .my-drive-recent small { color: #61716e; margin-top: 3px; font-size: 11px; }
.my-drive .my-drive-recent .my-drive-thumb.is-compact { width: 73px; height: 55px; flex-basis: 73px; border-radius: 7px; }

.my-drive .my-drive-files {
  padding: clamp(15px, 2.2cqw, 29px);
  border: 1px solid var(--drive-line); border-radius: 16px;
  box-shadow: 0 3px 12px #153c2e06;
  background: #fff;
}
.my-drive .my-drive-files-heading { margin: 0 0 15px; }
.my-drive .my-drive-files-heading > span { font-size: 12px; color: var(--drive-muted); text-align: end; gap: 7px; }
.my-drive .my-drive-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.my-drive .my-drive-toolbar-spacer { display: block; flex: 1; }
.my-drive .my-drive-primary {
  min-height: 38px; height: auto; padding: 7px 15px;
  border-color: var(--drive-accent); border-radius: 8px;
  background: var(--drive-accent); color: white; font-size: 13px; font-weight: 620;
}
.my-drive .my-drive-primary:hover:not(:disabled) { background: #096052; border-color: #096052; }
.my-drive .my-drive-primary:disabled { background: #e4edea; color: #647871; border-color: #e4edea; opacity: 1; }
.my-drive .my-drive-toolbar select, .my-drive .my-drive-search, .my-drive .my-drive-icon-button, .my-drive .my-drive-view {
  background-color: white; border-color: #cfdcd7; border-radius: 8px; color: #425e54;
}
.my-drive .my-drive-toolbar select, .my-drive .my-drive-view { order: 0; margin: 0; }
.my-drive .my-drive-view { gap: 1px; padding: 3px; }
.my-drive .my-drive-view button { border-radius: 5px; color: #6a7e78; }
.my-drive .my-drive-view button[aria-pressed=true] { color: #205d4d; background: #e3efe8; }
.my-drive .my-drive-search { min-width: 125px; width: min(22%,245px); }
.my-drive .my-drive-upload-hint { color: #60726c; font-size: 12px; margin: 8px 0 15px; }
.my-drive .my-drive-table-wrap, .my-drive .my-drive-grid { margin-top: 12px; }
.my-drive table { font-variant-numeric: tabular-nums; }
.my-drive th {
  color: #546a61; font-weight: 600; background: #f0f5f2;
  border-bottom: 1px solid #dce6e0; padding: 9px 12px;
}
.my-drive th:first-child { width: 43%; padding-left: 12px; border-radius: 6px 0 0 0; }
.my-drive th:last-child { width: 44px; border-radius: 0 6px 0 0; }
.my-drive td { color: #52645d; padding: 9px 12px; border-color: #e5ece8; }
.my-drive td:first-child { padding-left: 8px; }
.my-drive tr:hover td { background: #f5f9f6; }
.my-drive .my-drive-file-name { gap: 10px; color: var(--drive-ink); font-weight: 580; }
.my-drive .my-drive-thumb.is-compact { width: 53px; height: 40px; flex-basis: 53px; border: 0; border-radius: 6px; }
.my-drive .my-drive-thumb.is-compact img { background: #eaf1ee; }
.my-drive .my-drive-grid { grid-template-columns: repeat(auto-fill,minmax(min(180px,100%),1fr)); gap: 14px; }
.my-drive-grid article { border: 1px solid #dde6e1; border-radius: 12px; overflow: hidden; }
.my-drive-grid article:hover { border-color: #9ab9aa; }
.my-drive .my-drive-card-preview { border: 0; border-bottom: 1px solid #e5ede7; border-radius: 0; }
.my-drive .my-drive-thumb { background: #e9f1f9; color: #44719a; }
.my-drive .my-drive-thumb.is-image { background: #ebf3eb; color: #50866d; }
.my-drive .my-drive-thumb.is-audio { background: #f3eef9; color: #805d9c; }
.my-drive .my-drive-thumb-type { color: #23322b; background: #fffc; border: 0; padding: 2px 5px; border-radius: 4px; }
.my-drive .my-drive-card-details { padding: 10px 12px 12px; gap: 5px; }
.my-drive .my-drive-card-details button { font-weight: 600; color: var(--drive-ink); }
.my-drive .my-drive-card-details small, .my-drive .my-drive-card-details a { color: #5e746a; }
.my-drive .my-drive-card-details a:hover { color: #05644c; }
.my-drive .my-drive-empty {
  margin: 15px 0 0; min-height: clamp(185px,26vh,305px);
  border: 1px dashed #cddfd4; border-radius: 12px; background: #f6f9f7; padding: 24px 15px; gap: 7px;
}
.my-drive .my-drive-empty > svg { color: #518571; }
.my-drive .my-drive-empty-icon {
  height: 56px; width: 56px; border-radius: 15px; color: #44745e; background: #e1eee5;
}
.my-drive .my-drive-empty h3 { color: var(--drive-ink); font-size: 17px; font-weight: 620; }
.my-drive .my-drive-empty p { color: #597067; font-size: 13px; max-width: 410px; }
.my-drive .my-drive-empty[role=status] { background: #f6f9f7; }
.my-drive :is(button,a,input,select):focus-visible { outline: 2px solid #00796a; outline-offset: 2px; }
.my-drive .my-drive-transfer { color: #235842; border-color: #c1dbcc; background: #eff8f1; }
.my-drive .my-drive-transfer span { color: #3f6552; }
.my-drive .my-drive-transfer.is-error, .my-drive .my-drive-notice.is-error { color: #7d402c; background: #fff5ed; border-color: #eecab9; }
.my-drive .my-drive-transfer.is-error span { color: #7d402c; }

@container drive (min-width: 720px) {
  .my-drive .my-drive-recent-items > button:nth-child(n) { display: flex; }
  .my-drive th:nth-child(3), .my-drive td:nth-child(3), .my-drive th:nth-child(4), .my-drive td:nth-child(4) { display: table-cell; }
}
@container drive (max-width: 719px) {
  .my-drive .my-drive-heading { min-height: 122px; padding: 17px 19px; gap: 8px; }
  .my-drive .my-drive-recent-items { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .my-drive .my-drive-recent-items > button:nth-child(2) { display: flex; }
  .my-drive .my-drive-recent-items > button:nth-child(3) { display: none; }
  .my-drive .my-drive-recent-items > button > svg { display: none; }
  .my-drive th:nth-child(3), .my-drive td:nth-child(3) { display: none; }
  .my-drive th:first-child { width: 46%; }
}
@container drive (max-width: 495px) {
  .my-drive .my-drive-heading > div { max-width: 67%; }
  .my-drive .my-drive-heading h1 { font-size: 25px; }
  .my-drive .my-drive-heading p { font-size: 12px; }
  .my-drive .my-drive-tabs { width: 100%; }
  .my-drive .my-drive-tabs button { flex: 1; padding: 5px 8px; font-size: 12px; }
  .my-drive .my-drive-recent-items { grid-template-columns: 1fr; }
  .my-drive .my-drive-recent-items > button:nth-child(2) { display: none; }
  .my-drive .my-drive-files { padding: 12px; }
  .my-drive .my-drive-search { order: 8; flex: 1 1 100%; max-width: none; }
  .my-drive th:first-child { width: auto; }
  .my-drive th:nth-child(2) { width: 60px; }
  .my-drive th:nth-child(4), .my-drive td:nth-child(4) { display: none; }
  .my-drive .my-drive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
}
@container drive (max-width: 345px) {
  .my-drive .my-drive-toolbar-spacer { display: none; }
  .my-drive .my-drive-view { margin-inline-start: auto; }
  .my-drive .my-drive-tabs button { padding-inline: 5px; }
}
/* Header and library proportions follow the approved Panda Go Drive artwork. */
[data-my-drive] { --drive-accent: #24573d; }
.my-drive .my-drive-heading { min-height: clamp(106px, 12cqw, 168px); padding: 20px 4%; border-radius: 13px; gap: 7px; }
.my-drive .my-drive-heading h1 { font-size: clamp(28px, 3.65cqw, 50px); margin: 0; }
.my-drive .my-drive-heading p { display: none; }
.my-drive .my-drive-heading .my-drive-sync { color: white; font-size: clamp(13px, 1.6cqw, 20px); }
.my-drive .my-drive-heading .my-drive-sync svg { color: currentColor; width: 1.4em; height: 1.4em; }
.my-drive .my-drive-recent header { margin-bottom: 12px; }
.my-drive h2 { color: #151e1a; font-size: clamp(19px, 2cqw, 28px); }
.my-drive .my-drive-recent-items { gap: clamp(10px, 1.5cqw, 22px); }
.my-drive .my-drive-recent-items > button { flex-direction: column; align-items: stretch; padding: 0; gap: 6px; border: 0; border-radius: 9px; background: transparent; }
.my-drive .my-drive-recent-items > button:hover { background-color: #f1f6f2; }
.my-drive .my-drive-recent .my-drive-thumb { width: 100%; height: auto; aspect-ratio: 2.18; flex: none; border-radius: 10px; }
.my-drive .my-drive-recent .my-drive-thumb img { object-fit: cover; }
.my-drive .my-drive-recent-items > button > svg { display: none; }
.my-drive .my-drive-recent-items > button > span:nth-child(2) { padding: 0 5px 5px; }
.my-drive .my-drive-recent strong { font-size: clamp(14px, 1.2cqw, 18px); color: #19261e; }
.my-drive .my-drive-recent small { display: none; }
.my-drive .my-drive-files { border: 0; box-shadow: none; padding: 0; }
.my-drive .my-drive-tabs { background: none; border: 0; padding: 0; gap: 8px; border-radius: 0; }
.my-drive .my-drive-tabs button { background: white; border: 1px solid #cfd7d1; color: #46574d; min-height: 32px; }
.my-drive .my-drive-tabs button[aria-current] { background: #d4e9d8; color: #183923; border-color: #d4e9d8; }
.my-drive .my-drive-thumb.is-audio { background: #d7ebe1; color: #387759; }
@container drive (min-width: 1380px) { .my-drive .my-drive-heading { background-size: 100% 100%; } }
@container drive (max-width: 495px) {
  .my-drive .my-drive-heading { min-height: 102px; background-position: calc(100% + 36px) center; }
  .my-drive .my-drive-heading h1 { font-size: 25px; }
}
.my-drive .my-drive-recent-cover { width: 100%; display: block; position: relative; }
.my-drive .my-drive-recent-cover .my-drive-thumb { width: 100%; height: auto; aspect-ratio: 2.18; border-radius: 10px; }
.my-drive .my-drive-recent-cover .my-drive-thumb img { object-fit: cover; }
.my-drive .my-drive-recent-meta { min-width: 0; }
.my-drive .my-drive-files-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 0 0 12px; }
.my-drive .my-drive-files-bar .my-drive-files-heading { margin: 0; }
.my-drive .my-drive-files-bar .my-drive-files-heading > span { display: none; }
.my-drive .my-drive-files-bar .my-drive-toolbar { justify-content: flex-end; }
.my-drive .my-drive-files .my-drive-tabs { margin: 0 0 12px; }
.my-drive .my-drive-files-bar { display: block; }
.my-drive .my-drive-files-bar .my-drive-files-heading { display: flex; width: 100%; justify-content: space-between; margin: 0 0 12px; }
.my-drive .my-drive-toolbar .my-drive-tabs { margin: 0 auto 0 0; width: auto; }
.my-drive .my-drive-recent-meta { display: flex; gap: 8px; align-items: center; text-align: start; }
.my-drive .my-drive-recent-meta svg { flex: none; color: #295c40; }
.my-drive .my-drive-recent-cover:has(.is-video[data-thumbnail-state=ready])::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: 40px; height: 40px; border-radius: 50%; background: #13251bb5; pointer-events: none;
}
.my-drive .my-drive-recent-cover:has(.is-video[data-thumbnail-state=ready])::before {
  content: ""; position: absolute; z-index: 1; inset: 50% auto auto 50%; translate: -34% -50%;
  border-block: 7px solid transparent; border-left: 11px solid #fff; pointer-events: none;
}
@container drive (max-width: 495px) {
  .my-drive .my-drive-toolbar .my-drive-tabs { flex: 1 1 100%; }
}

/* Keep the Windows caption above the Drive banner and its own controls. */
[data-deepv-home][data-drive-page] [data-top-breathing] header {
  box-sizing: border-box;
  height: 42px;
  padding: 0;
}

.my-drive .my-drive-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 16px;
}

.my-drive .my-drive-heading-row > .my-drive-heading {
  flex: 1;
  min-width: 0;
  margin: 0;
}

@container drive (width < 430px) {
  .my-drive .my-drive-heading-row {
    gap: 8px;
  }

  .my-drive .my-drive-heading-row .my-drive-heading h1 {
    font-size: 17px;
  }

  .my-drive .my-drive-heading-row .my-drive-sync {
    font-size: 11px;
  }

  .my-drive .my-drive-heading-row .my-drive-heading::before {
    background-size: auto 81%;
    background-position: right bottom;
  }
}

[data-drive-page] [data-my-drive] {
  padding-block-start: 8px;
}

.my-drive .my-drive-heading {
  min-height: 64px;
  padding: 8px clamp(14px, 2.5cqw, 30px);
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1.8cqw, 24px);
  border-radius: 11px;
  background: #26394b;
  margin-block-end: 16px;
}

.my-drive .my-drive-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(100%, 532px);
  pointer-events: none;
  background: var(--drive-banner-art) right center / auto 100% no-repeat;
  mask-image: linear-gradient(to right, transparent, #000 85px);
}

[data-drive-page] .my-drive .my-drive-heading {
  --drive-banner-art: url("./gavir-drive-banner-4695b48ebbdd7ba1.webp");
}

[data-drive-page] .my-drive .my-drive-heading::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: 50%;
  inset-inline-end: clamp(18px, 5.8cqw, 61px);
  block-size: 112%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  background: url("./gavir-drive-icon-2fa9e9a94ae344fa.webp") center / contain no-repeat;
}

.my-drive .my-drive-heading h1 {
  font-size: clamp(19px, 2.1cqw, 26px);
}

.my-drive .my-drive-heading .my-drive-sync {
  color: #edf7f2;
  font-size: 13px;
  white-space: nowrap;
}

.my-drive .my-drive-heading .my-drive-sync svg {
  color: #8fe4b5;
  width: 1.35em;
  height: 1.35em;
}

.my-drive .my-drive-files .my-drive-files-heading {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-block-end: 12px;
}

.my-drive-files-heading > h2 {
  flex: none;
}

.my-drive .my-drive-files-heading .my-drive-search {
  flex: 0 1 300px;
  width: 300px;
  min-width: 0;
  max-width: 300px;
  height: 38px;
  order: 0;
  border-color: #d5dfda;
  background: #f6f8f7;
}

.my-drive-files-heading .my-drive-search > svg {
  flex: none;
}

.my-drive .my-drive-files-heading .my-drive-search input::placeholder {
  color: #586c63;
}

.my-drive-files-heading .my-drive-search:focus-within {
  border-color: #3f8a6d;
  outline: 1px solid #3f8a6d;
}

.my-drive .my-drive-files-heading .my-drive-search input:focus-visible {
  outline: none;
}

.my-drive-files-heading > .my-drive-primary {
  flex: none;
  margin-inline-start: auto;
}

@container drive (width < 430px) {
  .my-drive .my-drive-heading {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
  }

  .my-drive .my-drive-files .my-drive-files-heading {
    gap: 8px;
  }

  .my-drive .my-drive-files-heading > .my-drive-primary {
    padding-inline: 9px;
  }

  .my-drive .my-drive-files-heading .my-drive-search {
    padding-inline: 7px;
  }
}

/* Website shell integration for the Gavir Bot drive styles. */
.gavir-drive-page {
  align-self: stretch;
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  padding: clamp(14px, 2vw, 30px) clamp(12px, 2.7vw, 40px) 0;
  color-scheme: light;
}
.gavir-drive-page .my-drive { max-width: 1440px; }
.gavir-drive-page .my-drive-card-details { grid-template-columns: minmax(0, 1fr) auto; }
.gavir-drive-page .my-drive-card-details > .my-drive-icon-button { width: 36px; min-height: 36px; padding: 0; display: grid; place-items: center; }
.gavir-drive-page .my-drive-thumb img:not([src]) { visibility: hidden; }
.gavir-drive-page .my-drive-preview-media > video { display: block; width: 100%; background: #101919; }
.gavir-drive-page .my-drive-preview-media > p { padding: 12px; }
.gavir-drive-page .my-drive-search input::-webkit-search-cancel-button { display: none; }
.gavir-drive-page .my-drive-search button { flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 0; background: transparent; }
.gavir-drive-page .my-drive-web-notice { margin: 10px 0; color: var(--drive-muted); overflow-wrap: anywhere; }
.gavir-drive-page .my-drive-web-notice.is-error { color: #7d402c; }
.gavir-drive-page .my-drive-about { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--drive-muted); }
.gavir-drive-page .my-drive-about summary { cursor: pointer; }
.gavir-drive-page .drive-more { width: auto; margin-top: 14px; padding-inline: 12px; }
.gavir-drive-page .drive-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a[href="#/drive"] :is(.nav-icon, .sidebar-icon, svg:first-child) {
  background: url('./gavir-drive-icon-2fa9e9a94ae344fa.webp') center / contain no-repeat;
  color: transparent;
  stroke: transparent;
}
a[href="#/drive"] :is(.nav-icon, .sidebar-icon) svg { visibility: hidden; }
@container drive (width < 430px) {
  .gavir-drive-page .my-drive-files .my-drive-files-heading { flex-wrap: wrap; }
  .gavir-drive-page .my-drive-files-heading .my-drive-search { order: 2; flex: 1 0 100%; max-width: none; }
  .gavir-drive-page .my-drive-toolbar { flex-wrap: wrap; }
  .gavir-drive-page .my-drive-toolbar-spacer { display: none; }
  .gavir-drive-page .my-drive-view { margin-inline-start: auto; }
}

.drawing-workspace a.drive-entry[href="#/drive"] { font-size: 14px; }
a[href="#/drive"] :is(.nav-icon, .sidebar-icon, svg:first-child) {
  inline-size: 28px;
  block-size: 28px;
  flex: 0 0 28px;
  max-inline-size: none;
}

.gavir-drive-page .my-drive-list-state {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 14px;
  color: var(--drive-ink, #182820);
  font-size: clamp(17px, 2.1cqw, 26px);
  font-weight: 680;
  line-height: 1.3;
}
.gavir-drive-page .my-drive-list-state > svg {
  flex: none;
  color: #14856e;
}
.gavir-drive-page .my-drive-refresh-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.gavir-drive-page .my-drive-refresh-state {
  color: #315b48;
  font-size: .86em;
  white-space: nowrap;
}
.gavir-drive-page .my-drive-turn > svg,
.gavir-drive-page .my-drive-list-state > svg {
  animation: gavir-drive-turn 1.2s linear infinite;
}
.gavir-drive-page [data-drive-placeholders] {
  --drive-skeleton-base: #e7efeb;
  --drive-skeleton-band: #f1f6f3;
}
.gavir-drive-page .my-drive-grid[data-drive-placeholders] > article {
  background: #f8faf9;
  border-color: #dce7e1;
}
.gavir-drive-page .my-drive-grid[data-drive-placeholders] > article:hover {
  border-color: #dce7e1;
}
@container drive (min-width: 1100px) {
  .gavir-drive-page .my-drive .my-drive-grid[data-drive-placeholders] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.gavir-drive-page .my-drive-grid[data-drive-placeholders] .my-drive-thumb {
  width: auto;
  margin: 10px 10px 0;
  border-radius: 9px;
  aspect-ratio: 16 / 9;
}
.gavir-drive-page .my-drive-placeholder-details {
  display: grid;
  gap: 8px;
  padding: 11px 10px 14px;
}
.gavir-drive-page .my-drive-placeholder-surface {
  background: linear-gradient(143deg, var(--drive-skeleton-base) 36%, var(--drive-skeleton-band) 50%, var(--drive-skeleton-base) 64%) 50% 0 / 240% 100%;
  animation: gavir-drive-sheen 2.4s ease-in-out infinite;
}
.gavir-drive-page .my-drive-placeholder-line {
  width: 84%;
  height: 11px;
  border-radius: 999px;
}
.gavir-drive-page .my-drive-placeholder-line.is-short {
  width: 57%;
  height: 7px;
}
.gavir-drive-page .my-drive-placeholder-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #e5ede7;
}
.gavir-drive-page .my-drive-list-error {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.gavir-drive-page .my-drive-list-error > p { margin: 0; }
.gavir-drive-page .my-drive-list-error > button { min-height: 32px; }
@keyframes gavir-drive-turn { to { transform: rotate(360deg); } }
@keyframes gavir-drive-sheen {
  0% { background-position-x: 138%; }
  100% { background-position-x: -52%; }
}
@media (prefers-reduced-motion: reduce) {
  .gavir-drive-page .my-drive-turn > svg,
  .gavir-drive-page .my-drive-list-state > svg,
  .gavir-drive-page .my-drive-placeholder-surface { animation: none; }
}

.my-drive .my-drive-file-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
}

.my-drive .my-drive-file-actions .my-drive-icon-button {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  text-align: center;
}

.my-drive .my-drive-file-actions .my-drive-icon-button.my-drive-save-as {
  border: 1px solid #cfddd5;
  border-radius: 8px;
  background: #f5f8f6;
  color: #22543d;
  font-size: 13px;
  min-width: 64px;
  padding: 0 10px;
}

.my-drive .my-drive-file-actions .my-drive-save-as:not(:disabled):hover {
  background: #e3eee7;
  border-color: #91ac9c;
}

.my-drive .my-drive-file-actions button:focus-visible {
  outline: 2px solid #23674e;
  outline-offset: -2px;
}

.my-drive .my-drive-card-details:has(.my-drive-save-as) {
  grid-template-columns: minmax(0, 1fr);
}

.my-drive .my-drive-card-details:has(.my-drive-save-as) > button {
  min-height: 24px;
}

.my-drive .my-drive-card-details .my-drive-file-actions {
  grid-row: 3;
}

.my-drive .my-drive-preview .my-drive-file-actions {
  gap: 8px;
  flex-wrap: wrap;
}

.my-drive .my-drive-preview .my-drive-save-as {
  padding: 0 12px;
}
