/* a real page scrolls (the comps were fixed frames) */
html,body{height:auto;overflow:auto}
.app{height:auto;min-height:100vh;align-items:start}
.rail{position:sticky;top:0;height:100vh;overflow:auto}
.main{min-height:100vh}
/* >>> DRIVE-SMOOTHER-20261113 (the menu stays): html and body both say overflow auto (line 2), so body is a box of its own that
   never scrolls, and the sticky menu held to it while the page scrolled away. On the web body is no box of its own any more: clip on
   the sides (nothing wider than the page shows, as today), visible top to bottom (nothing tall is cut). A browser that does not know
   clip drops this rule and keeps the page of today. A phone is not touched. */
@media (min-width:761px){body{overflow:clip visible}}
/* <<< DRIVE-SMOOTHER-20261113 */
.content{overflow:visible}
a.tile{display:block}
.clipview{height:auto;min-height:calc(100vh - 75px)} .clipview>*{min-width:0} .stage{overflow:hidden}
@media (max-width:1040px){.clipview{grid-template-columns:1fr} .inspector{border-left:0;border-top:1px solid var(--line)}}
.top .search{flex:1 1 160px;min-width:0}
/* thinkdrive shell: what the comps did not need — links, states, list view, search results, the sheet, the phone layout */
a.nav,a.btn,a.more,.theme,.viewbtn,.tile,.folder,.moment,.opt,.chip{cursor:pointer}
.nav:hover{background:var(--card);color:var(--ink)} html.dark .nav:hover{background:var(--card2)}
.tile:hover{box-shadow:var(--shadow2)} .tile img{transition:opacity .15s ease}
.topright{display:flex;align-items:center;gap:10px;margin-left:auto}
.avatar{margin-left:0}
.views{display:inline-flex;border:1px solid var(--line2);border-radius:999px;padding:3px;gap:2px;background:var(--card)} html.dark .views{background:var(--card2)}
.viewbtn{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border-radius:999px;font:500 12.5px/1 Inter;color:var(--sub);border:0;background:transparent}
.viewbtn svg{width:14px;height:14px}
.viewbtn.on{background:var(--ink);color:var(--paper)}
.preview{font:600 10.5px/1 Inter;letter-spacing:.08em;text-transform:uppercase;color:var(--cap);border:1px solid var(--line2);border-radius:999px;padding:6px 9px}
/* list view: the same tiles as rows, easy to scroll */
.grid.list{display:flex;flex-direction:column;gap:6px}
.grid.list>div{display:grid;grid-template-columns:112px 1fr auto;align-items:center;gap:14px;padding:6px 10px 6px 6px;border-radius:12px;background:var(--card);border:1px solid var(--line)}
html.dark .grid.list>div{background:var(--card2)}
.grid.list .tile{width:112px;aspect-ratio:16/9;border-radius:8px;box-shadow:none}
.grid.list .tile .kind{display:none}
.grid.list .tile .who{display:none}
.grid.list .meta{margin:0;min-width:0}
.grid.list .meta b{font-size:13.5px}
.grid.list>div::after{content:attr(data-right);font:500 12px/1 Inter;color:var(--cap);white-space:nowrap}
/* search */
.search{position:relative;cursor:text}
.search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;color:var(--ink)}
.search input::placeholder{color:var(--cap)}
.results{position:absolute;left:0;top:50px;width:min(620px,calc(100vw - 280px));min-width:100%;z-index:40;border-radius:16px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow2);overflow:hidden;display:none;max-height:70vh;overflow-y:auto}
html.dark .results{background:var(--card2)}
.results.show{display:block}
.results .hd{padding:10px 14px;font:600 11px/1 Inter;letter-spacing:.16em;text-transform:uppercase;color:var(--cap);border-bottom:1px solid var(--line)}
.results a{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;padding:8px 14px;border-bottom:1px solid var(--line);color:var(--ink)}
.results a:hover{background:var(--drive-soft)}
.results img{width:72px;height:44px;object-fit:cover;border-radius:6px}
.results b{display:block;font-weight:500;font-size:13px}
.results span{font-size:12px;color:var(--cap)}
.results mark{background:rgba(52,211,153,.28);color:inherit;border-radius:3px;padding:0 2px}
.results .t{font:500 12px/1 Inter;color:var(--cap)}
.results .none{padding:16px 14px;color:var(--cap);font-size:13px}
/* the sheet (share to a hive) */
.sheetwrap{display:none} .sheetwrap.show{display:block}
.dim{z-index:50} .modal{z-index:51}
/* upload tray states */
.sheet .urow.done .bar{display:none}
/* phone */
@media (max-width:760px){
  .app{grid-template-columns:1fr}
  .rail{position:fixed;left:0;right:0;bottom:0;z-index:30;height:84px;padding:10px 6px 0;flex-direction:row;justify-content:space-around;align-items:flex-start;border-right:0;border-top:1px solid var(--line);background:var(--card);gap:0}
  html.dark .rail{background:var(--card2)}
  .rail .brand,.rail .sec,.rail .foot,.rail .nav{display:none}
  .rail{height:84px;overflow:visible;position:fixed;top:auto}
  .rail .nav[data-tab]{display:flex;flex:1 1 0;flex-direction:column;align-items:center;gap:4px;padding:0;background:transparent;box-shadow:none;font:500 10.5px/1 Inter;color:var(--cap);min-width:0;white-space:nowrap}
  .rail .nav[data-tab] svg{width:22px;height:22px;opacity:1}
  .rail .nav[data-tab].on{color:var(--drive)}
  .rail .nav[data-tab] .n,.rail .nav[data-tab] .dot{display:none}
  .rail .nav[data-tab="plus"] svg{width:22px;height:22px;color:#fff}
  .rail .nav[data-tab="plus"] span{display:none}
  .rail .nav[data-tab="plus"]{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:var(--blue);margin:-16px 6px 0;box-shadow:0 8px 20px rgba(62,104,222,.4);justify-content:center}
  .main{padding-bottom:96px}
  .top{padding:12px 12px;gap:6px}
  .top .views{padding:2px} .top .viewbtn{height:28px}
  .topright{gap:6px} .topright .avatar{width:30px;height:30px}
  .top .btn.primary span{display:none}
  .top .btn.primary{width:38px;padding:0}
  .top .btn.ghost.sm span{display:none} .top .btn.ghost.sm{width:34px;padding:0}
  .search .k{display:none}
  .content{padding:16px 16px 40px;gap:18px}
  h1{font-size:22px}
  .folders{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:0 16px 6px}
  .folder{min-width:150px;width:150px;scroll-snap-align:start}
  .grid,.grid.g6,.grid.g4{grid-template-columns:repeat(3,1fr);gap:8px}
  .tile{aspect-ratio:3/4;border-radius:10px}
  .meta{display:none}
  .grid.list{display:flex} .grid.list .meta{display:flex}
  .grid.list>div{grid-template-columns:84px 1fr}
  .grid.list>div::after{display:none}
  .grid.list .tile{width:84px;aspect-ratio:16/9}
  .steve{flex-wrap:wrap} .steve .files{margin-left:0;width:100%;overflow-x:auto}
  .clipview{grid-template-columns:1fr;height:auto}
  .stage{padding:12px 16px}
  .inspector{border-left:0;border-top:1px solid var(--line);padding:16px}
  .title{flex-direction:column} .title .acts{margin-left:0;flex-wrap:wrap}
  .sprite img{width:calc((100% - 20px)/6)} .sprite img:nth-child(n+7){display:none}
  .sheet{left:12px;right:12px;bottom:96px;width:auto}
  .modal{width:calc(100% - 24px);max-height:84vh;overflow-y:auto}
  .segs span{font-size:11.5px;padding:7px 4px}
  .results{position:fixed;left:12px;right:12px;top:64px;width:auto;min-width:0}
  .topright .preview{display:none}
  .viewbtn span{display:none} .viewbtn{padding:0 9px}
}

/* real tiles + the real clip page */
.tile .scrub{position:absolute;inset:0;opacity:0;transition:opacity .12s;background-repeat:no-repeat;pointer-events:none}
.stile{width:calc((100% - 44px)/12);aspect-ratio:16/9;border-radius:6px;flex:none;background-color:var(--card2);background-repeat:no-repeat;cursor:pointer}
.stile.on{outline:2px solid var(--live);outline-offset:-2px}
.results .aud,.moment .aud{display:grid;place-items:center;width:72px;height:44px;border-radius:6px;background:var(--drive-soft);color:var(--drive);font-size:18px}
.moment .aud{width:64px;height:40px}
.wline[data-t]{cursor:pointer} .wline[data-t]:hover span{color:var(--ink)}
.player video{cursor:pointer}
@media (max-width:760px){.stile{width:calc((100% - 20px)/6)} .stile:nth-child(n+7){display:none}}

/* select mode: Steve 11-08 "select a clip and hit download, or select multiple and it downloads a zip" */
.tile .ck{position:absolute;right:8px;top:8px;width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.9);background:rgba(7,10,18,.35);display:none;z-index:2;box-shadow:0 1px 4px rgba(0,0,0,.4)}
body.selecting .tile .ck{display:block}
body.selecting .tile{cursor:copy}
body.selecting .tile .kind{display:none}
[data-sel].on .tile{outline:3px solid var(--blue);outline-offset:-3px}
[data-sel].on .tile .ck{background:var(--blue);border-color:#fff}
[data-sel].on .tile .ck::after{content:"";position:absolute;left:6px;top:3px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.selbtn.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.selbar{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:45;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 18px;border-radius:999px;background:var(--card);border:1px solid var(--line2);box-shadow:var(--shadow2);font-size:13.5px;white-space:nowrap}
html.dark .selbar{background:var(--card2)}
.selbar[hidden]{display:none}
.selbar b{font-weight:600}
.selbar .sel-all{font-size:12.5px;color:var(--eyebrow);font-weight:500;cursor:pointer}
.selbar .sp{width:1px;height:22px;background:var(--line2)}
.selbar .busy{font-size:12.5px;color:var(--cap)}
@media (max-width:760px){.selbar{left:12px;right:12px;transform:none;bottom:96px;gap:8px;padding:8px 10px 8px 14px;overflow-x:auto}.selbar .btn span{display:none}.selbar .btn.sm{padding:0 10px}.top .selbtn span{display:none}.top .selbtn{width:34px;padding:0}}

/* select, made obvious */
.selbtn{background:var(--ink);color:var(--paper);border-color:var(--ink);font-weight:600}
.selbtn svg{width:15px;height:15px}
.selbtn.on{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 6px 18px rgba(62,104,222,.35)}
.selhint{display:none;align-items:center;gap:10px;margin:14px 28px -10px;padding:10px 14px;border-radius:12px;background:var(--drive-soft);color:var(--ink);font-size:13.5px;font-weight:500}
.selhint i{width:22px;height:22px;border-radius:50%;border:2px solid var(--blue);flex:none}
.selhint .cap{margin-left:auto}
body.selecting .selhint{display:flex}
.tile .ck{width:26px;height:26px;border-width:2.5px;background:rgba(7,10,18,.45);right:10px;top:10px}
body.selecting .tile::before{content:"";position:absolute;inset:0;background:rgba(7,10,18,.28);z-index:1;transition:background .15s}
body.selecting [data-sel].on .tile::before{background:transparent}
body.selecting .tile:hover .ck{border-color:#fff;background:rgba(62,104,222,.55)}
[data-sel].on .tile .ck{background:var(--blue);border-color:#fff}
[data-sel].on .tile .ck::after{left:8px;top:4px;width:6px;height:12px}
[data-sel].on .tile{outline:3px solid var(--blue);outline-offset:-3px}
.selbar{font-size:14px;padding:10px 12px 10px 18px}
.selbar .hint{color:var(--cap);font-size:12.5px}
@media (max-width:760px){
  .top .btn.ghost.sm.selbtn span{display:inline} .top .btn.ghost.sm.selbtn{width:auto;padding:0 12px}
  .selhint{margin:10px 16px -6px;font-size:12.5px}
}

/* phone: the search keeps a full line of its own; the buttons sit under it */
@media (max-width:760px){
  .top{flex-wrap:wrap;row-gap:10px}
  .top .search{flex:1 1 100%;order:-1;max-width:none}
  .top .btn.primary{margin-left:0}
  .topright{margin-left:auto}
  .results{top:56px}
}

/* the mobile header (phone + tablet): brand · right, then the search on its own line, then the tools row */
.topbrand{display:none;align-items:center;gap:9px}
.topbrand img{width:24px}
.tools{display:flex;align-items:center;gap:8px}
@media (max-width:900px){
  .top{flex-wrap:wrap;row-gap:10px;padding:12px 16px}
  .topbrand{display:flex;order:0;flex:1 1 auto}
  .topright{order:1;margin-left:auto}
  .top .search{order:2;flex:1 1 100%;max-width:none;height:44px}
  .top .btn.primary.upload{order:3}
  .tools{order:4;flex:1 1 auto;overflow-x:auto;scrollbar-width:none}
  .tools::-webkit-scrollbar{display:none}
  .tools .btn.ghost.sm span,.tools .viewbtn span{display:inline}
  .tools .btn.ghost.sm{width:auto;padding:0 12px;height:32px}
  .results{top:112px}
}
@media (max-width:760px){
  .top .btn.primary.upload{display:none}   /* the + tab is Upload on the phone */
  .top{padding:10px 16px 12px}
  .topbrand .mk{font-size:20px}
  .results{position:fixed;left:12px;right:12px;top:114px}
  /* the select bar: a full-width card above the tab bar, every button readable */
  .selbar{left:12px;right:12px;bottom:96px;transform:none;border-radius:18px;padding:10px 12px;display:grid;grid-template-columns:1fr auto auto auto;grid-template-rows:auto auto;column-gap:8px;row-gap:2px;align-items:center;white-space:normal}
  .selbar b{grid-column:1;grid-row:1;font-size:14px}
  .selbar .hint{grid-column:1;grid-row:2;font-size:11.5px}
  .selbar .sel-all{grid-column:1;grid-row:2;font-size:12px}
  .selbar .sp{display:none}
  .selbar .btn{grid-row:1/3;height:36px}
  .selbar .btn span{display:inline}
  .selbar .btn.sm{padding:0 12px;font-size:13px}
  .selbar .busy{grid-column:1/-1;grid-row:3;font-size:12px}
  .selhint{margin:0 16px -4px;font-size:12.5px}
  .selhint .cap{display:none}
}

/* metas never wrap; tablet gets fewer, bigger tiles */
.meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
@media (min-width:761px) and (max-width:1180px){.grid.g6{grid-template-columns:repeat(4,1fr)} .grid{grid-template-columns:repeat(3,1fr)} .folders{grid-template-columns:repeat(3,1fr)}}
/* phone select card: row 1 = count · Select all · Done, row 2 = Download (wide) · Share */
@media (max-width:760px){
  .selbar{grid-template-columns:1fr auto auto;grid-template-rows:auto auto auto;row-gap:8px;padding:12px 12px 10px 14px}
  .selbar b{grid-row:1;grid-column:1;white-space:nowrap;align-self:center}
  .selbar .sel-all{grid-row:1;grid-column:2;white-space:nowrap;align-self:center;font-size:13px}
  .selbar [data-clear]{grid-row:1;grid-column:3;height:32px}
  .selbar [data-dl]{grid-row:2;grid-column:1/3;justify-self:stretch;height:40px;font-size:14px}
  .selbar [data-open="share"]{grid-row:2;grid-column:3;height:40px}
  .selbar .hint{grid-row:3;grid-column:1/-1;font-size:12px}
  .selbar .busy{grid-row:3;grid-column:1/-1}
}

/* Download and Share must never look alike: Download = solid blue + the word + the count; Share = the hive ring + the word */
.hvdot{width:14px;height:14px;border-radius:50%;background:var(--hive);flex:none;box-shadow:inset 0 0 0 3px var(--card)}
html.dark .hvdot{box-shadow:inset 0 0 0 3px var(--card2)}
.sharebtn span,.selbar .btn span,.tools .btn.ghost.sm span{display:inline!important}
.sharebtn{width:auto!important;padding:0 12px!important}
.selbar [data-dl]{background:var(--blue);color:#fff;border-color:var(--blue);padding:0 16px;font-weight:600}
.selbar [data-dl] svg{width:16px;height:16px}
.selbar [data-clear]{color:var(--sub)}

/* click the picture = open · click the ring = select · hover ↓ = download this one · phone: press and hold = select */
.tile .qdl{position:absolute;right:8px;bottom:8px;width:30px;height:30px;border-radius:50%;background:rgba(7,10,18,.72);color:#fff;display:none;place-items:center;z-index:3;backdrop-filter:blur(6px);box-shadow:0 2px 8px rgba(0,0,0,.4)}
.tile .qdl svg{width:15px;height:15px}
.tile .qdl:hover{background:var(--blue)}
@media (hover:hover){
  .tile:hover .ck{display:block}
  .tile:hover .qdl{display:grid}
  .tile:hover .dur{right:46px}
  body.selecting .tile .qdl{display:none}
  body.selecting .tile .dur{right:8px}
}
.tile .ck:hover{background:rgba(62,104,222,.6);border-color:#fff}
.tile.pressing{transform:scale(.97);transition:transform .15s}

/* one Sort pill, one menu */
.sortbtn .caret{font-weight:400;margin-left:-2px;opacity:.7}
.tools{position:relative}
.sortmenu{position:absolute;top:40px;right:0;z-index:46;min-width:200px;padding:6px;border-radius:14px;background:var(--card);border:1px solid var(--line2);box-shadow:var(--shadow2)}
html.dark .sortmenu{background:var(--card2)}
.sortmenu[hidden]{display:none}
.sortmenu .sm-h{font:600 10.5px/1 Inter;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);padding:10px 10px 6px}
.sortmenu a{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:9px;font-size:13.5px;color:var(--ink);cursor:pointer}
.sortmenu a:hover{background:var(--drive-soft)}
.sortmenu a.on::after{content:"✓";color:var(--blue);font-weight:700}
@media (max-width:760px){
  .sortmenu{position:fixed;left:12px;right:12px;top:auto;bottom:96px;min-width:0;padding:8px;border-radius:18px;display:grid;grid-template-columns:1fr 1fr;column-gap:8px}
  .sortmenu[hidden]{display:none}
  .sortmenu .sm-h:nth-of-type(1){grid-column:1;grid-row:1} .sortmenu .sm-h:nth-of-type(2){grid-column:2;grid-row:1}
  .sortmenu a[data-s]{grid-column:1} .sortmenu a[data-g]{grid-column:2}
}

/* the real upload tray */
.urow .thumb{width:40px;height:28px;border-radius:6px;overflow:hidden;background:var(--card2);display:grid;place-items:center;color:var(--cap);font-size:12px}
.urow .thumb img{width:40px;height:28px;object-fit:cover}
.sheet .rows{max-height:46vh;overflow-y:auto}
.sheet a.pill{text-decoration:none}

/* the live drive */
.tile .fav{position:absolute;left:8px;bottom:8px;z-index:2;color:#fff;font-size:14px;text-shadow:0 1px 4px rgba(0,0,0,.6)}
body.selecting .tile .fav{display:none}
.folder.newf{border-style:dashed;background:transparent;box-shadow:none;justify-content:center;align-items:center;text-align:center}
.folder.newf b{color:var(--eyebrow)} .folder.newf .tab{display:none}
.folder.picked{outline:2px solid var(--blue);outline-offset:-2px}
.more-acts{display:flex;gap:8px;position:relative}
.movemenu{left:0;right:auto;top:40px;min-width:220px;max-height:50vh;overflow-y:auto}
/* >>> DRIVE-HOME-MOVE-20261113: on the web the Move menu opens above the Move button (the select bar sits at the bottom) */
@media (min-width:761px){.selbar .movemenu{top:auto;bottom:calc(100% + 10px)}}
/* <<< DRIVE-HOME-MOVE-20261113 */
.toastline{position:fixed;left:50%;bottom:110px;transform:translate(-50%,10px);z-index:60;padding:10px 16px;border-radius:999px;background:var(--ink);color:var(--paper);font-size:13px;opacity:0;pointer-events:none;transition:all .2s;box-shadow:var(--shadow2);white-space:nowrap;max-width:92vw;overflow:hidden;text-overflow:ellipsis}
.toastline.show{opacity:1;transform:translate(-50%,0)}
[data-slot=fcrumb] a{color:inherit}
@media (max-width:760px){
  .selbar{grid-template-columns:1fr auto auto}
  .selbar .more-acts{grid-row:3;grid-column:1/-1;justify-content:flex-start;flex-wrap:wrap}
  .selbar .hint,.selbar .busy{grid-row:4}
  .movemenu{position:fixed;left:12px;right:12px;bottom:200px;top:auto;max-height:40vh;display:block}
}

/* share: by link */
.tin{width:100%;height:40px;border-radius:12px;border:1px solid var(--line2);background:var(--card2);color:var(--ink);font:inherit;padding:0 12px;outline:0}
.tin:focus{border-color:var(--blue)}
.segs.small{padding:2px;margin-left:auto} .segs.small span{padding:5px 10px;font-size:12px;flex:none}
.linkbox{display:flex;gap:8px;align-items:center;margin-top:4px}
.linkbox .tin{font-size:12.5px}
.sm-h{font:600 10.5px/1 Inter;letter-spacing:.16em;text-transform:uppercase;color:var(--mute)}
/* the guest page */
body:has(#share){overflow:auto}
.sh{min-height:100vh;display:flex;flex-direction:column}
.sh-top{display:flex;align-items:center;gap:12px;padding:16px 24px;border-bottom:1px solid var(--line)}
.sh-top .brand{display:flex;align-items:center;gap:9px} .sh-top .brand img{width:24px} .sh-top .theme{margin-left:auto;cursor:pointer;font-size:14px}
.sh-main{flex:1;max-width:1180px;width:100%;margin:0 auto;padding:28px 24px 60px;display:flex;flex-direction:column;gap:22px}
.sh-head h1{font-size:28px}
.sh-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.sh-player{display:grid;grid-template-columns:1fr 340px;gap:18px;align-items:start}
.sh-player video{width:100%;border-radius:16px;background:#000;box-shadow:var(--shadow2);aspect-ratio:16/9}
.sh-pinfo{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.sh-pinfo b{font-size:17px}
.sh-player .words{max-height:46vh;overflow-y:auto}
.sh-grid .tile{cursor:pointer}
.sh-rows{display:flex;flex-direction:column;gap:6px}
.sh-rows .urow{border:1px solid var(--line);border-radius:12px;background:var(--card)}
.sh-foot{padding:16px 24px;border-top:1px solid var(--line);text-align:center}
.gone{min-height:60vh;display:grid;place-items:center;text-align:center;padding:24px}
.gone h1{font-size:22px}
@media (max-width:900px){.sh-player{grid-template-columns:1fr}.sh-main{padding:18px 16px 48px}.sh-grid{grid-template-columns:repeat(2,1fr)}}

/* hidden means hidden, whatever the display rule */
.modal .bd[hidden],.linkbox[hidden],.segs span[hidden],[hidden]{display:none!important}
.segs span .mk{font-size:inherit}

/* the place line: one quiet thread through every page */
.place{display:flex;align-items:center;gap:8px;font:500 12.5px/1 Inter;color:var(--cap);min-height:28px;margin-bottom:-8px}
.place:empty{display:none}
.place a{color:var(--cap);display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:8px}
.place a:hover{background:var(--card);color:var(--ink)} html.dark .place a:hover{background:var(--card2)}
.place .back{width:28px;height:28px;border-radius:50%;border:1px solid var(--line2);display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--sub);background:var(--card)} html.dark .place .back{background:var(--card2)}
.place .back svg{width:14px;height:14px}
.place .sep{opacity:.5}
.place .here{color:var(--ink);font-weight:600}
.place .fdot,.fdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c,var(--drive));flex:none}
h1 .fdot{width:10px;height:10px;margin:0 10px 4px 0;vertical-align:middle}
.folder .tab{background:var(--c,var(--drive))}
/* kinds */
.tile .kind.image{background:rgba(125,211,252,.9);color:#062033}.tile .kind.pdf{background:rgba(244,63,94,.9)}.tile .kind.design{background:rgba(185,99,178,.9)}.tile .kind.model{background:rgba(255,122,69,.9);color:#2a1104}.tile .kind.doc,.tile .kind.deck,.tile .kind.sheet,.tile .kind.text{background:rgba(159,184,255,.92);color:#0b1020}.tile .kind.font{background:rgba(190,242,100,.92);color:#1a2a05}.tile .kind.archive,.tile .kind.other{background:rgba(255,255,255,.75);color:#0b1020}
.tile .doc .ico{font-size:11px;letter-spacing:.04em}
.tile.contain img{object-fit:contain;background:var(--card2)}
/* the item page's viewers */
.viewer{position:relative;border-radius:18px;overflow:hidden;background:var(--card2);box-shadow:var(--shadow2);display:grid;place-items:center;min-height:320px}
.viewer img.big{max-width:100%;max-height:72vh;object-fit:contain;cursor:zoom-in}
.viewer.zoomed img.big{max-height:none;cursor:zoom-out}
.viewer iframe{width:100%;height:72vh;border:0;background:#fff}
.viewer model-viewer{width:100%;height:60vh;background:radial-gradient(60% 60% at 50% 40%,rgba(91,124,250,.14),transparent 70%)}
.viewer audio{width:min(680px,92%)}
.viewer .vposter{width:100%;max-height:60vh;object-fit:contain}
.viewer pre{width:100%;max-height:72vh;overflow:auto;margin:0;padding:22px;font:13px/1.55 ui-monospace,Menlo,monospace;color:var(--ink);white-space:pre-wrap}
.viewer .openwith{position:absolute;left:0;right:0;bottom:0;padding:12px 16px;display:flex;align-items:center;gap:10px;background:linear-gradient(180deg,transparent,rgba(7,10,18,.7));color:#fff;font-size:13px}
.viewer .openwith .btn{margin-left:auto}
.listing{display:grid;grid-template-columns:1fr auto;gap:4px 14px;font-size:12.5px;color:var(--sub);max-height:40vh;overflow:auto}
.listing b{font-weight:500;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pages{display:flex;flex-wrap:wrap;gap:6px}
.pages a{padding:5px 9px;border-radius:8px;border:1px solid var(--line2);font-size:12px;color:var(--sub);cursor:pointer}
.pages a.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
@media (max-width:760px){.viewer iframe,.viewer model-viewer{height:52vh}.place{margin-bottom:-4px}}

.chans{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chans .opt{padding:8px 10px}
@media (max-width:760px){.chans{grid-template-columns:1fr}}

/* the item title never squeezes: the buttons drop under it when the room is short */
.title{flex-wrap:wrap;align-items:flex-start;gap:10px 14px}
.title>div{flex:1 1 360px;min-width:0}
.title .acts{flex:0 0 auto;margin-left:auto}
@media (max-width:1180px){.title .acts{margin-left:0;flex-basis:100%}}
.title h1{font-size:24px;line-height:1.15}
.title .sub{line-height:1.5}
/* a portrait clip gets a taller frame instead of black bars */
.player.portrait{aspect-ratio:4/3} .player.portrait video{object-fit:contain}
/* >>> DRIVE-SHARE-FULLSCREEN-20261119: the full screen button at the right end of the player bar, and the player full screen (his words, ledger 17071) */
.player .tc.tdfs-on{justify-content:flex-start;align-items:center;gap:12px}
.player .tc.tdfs-on>span:first-child{margin-right:auto}
.player .tdfs{flex:0 0 auto;width:34px;height:30px;margin:-8px -8px -10px 0;padding:0;border:0;border-radius:9px;display:grid;place-items:center;background:transparent;color:#fff;opacity:.92;cursor:pointer;-webkit-tap-highlight-color:transparent}
.player .tdfs svg{width:18px;height:18px}
.player .tdfs:hover{background:rgba(255,255,255,.16);opacity:1}
.player .tdfs:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.player .tdfs:disabled{opacity:.4;cursor:default;background:transparent}
.player.tdfs-full{border-radius:0;box-shadow:none;aspect-ratio:auto;width:100%;height:100%}
.player.tdfs-full .ctl{padding-bottom:max(12px,env(safe-area-inset-bottom))}
/* <<< DRIVE-SHARE-FULLSCREEN-20261119 */

/* versions */
.versions{display:flex;flex-direction:column;gap:6px}
.ver{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;background:var(--card);border:1px solid var(--line);font-size:12.5px}
html.dark .ver{background:var(--card2)}
.ver.cur{border-color:rgba(62,104,222,.5)}
.ver b{font-weight:600;color:var(--ink)} .ver .vn{font:700 12px/1 'DM Sans';color:var(--drive);padding:4px 7px;border-radius:7px;background:var(--drive-soft)}
.ver .acts{display:flex;gap:6px} .ver .acts a{font-size:12px;color:var(--eyebrow);cursor:pointer;padding:4px 6px;border-radius:7px} .ver .acts a:hover{background:var(--drive-soft)}
.ver.cur .acts a[data-make]{display:none}
.rail .nav.muted{color:var(--mute);font-size:12.5px;padding-top:4px}
.rail .nav.muted:empty,.rail .nav.muted[hidden]{display:none}
.vbadge{display:inline-flex;align-items:center;font:700 10px/1 'DM Sans';color:#fff;background:rgba(62,104,222,.9);padding:3px 6px;border-radius:6px;position:absolute;left:8px;bottom:8px;z-index:2}

/* the version rows breathe in the 380-px inspector */
.ver{grid-template-columns:auto 1fr;grid-template-rows:auto auto;row-gap:4px;padding:9px 10px}
.ver .vn{grid-row:1/3;align-self:start;margin-top:2px}
.ver>div{min-width:0} .ver>div b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ver .acts{grid-column:2;justify-content:flex-start;margin-left:-6px}
.ver .cap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}

/* on the Mac the comp samples step aside; the preview keeps them */
body.live [data-sample]{display:none!important}
.folder .thumbs img{border-color:var(--card)} html.dark .folder .thumbs img{border-color:var(--card2)}

/* rename in place */
.editable{cursor:text;border-radius:8px;padding:0 6px;margin-left:-6px;transition:background .15s}
.editable:hover{background:var(--drive-soft)}
.editable[contenteditable="true"]{background:var(--card);outline:2px solid var(--blue);outline-offset:0} html.dark .editable[contenteditable="true"]{background:var(--card2)}
.hint-edit{font:500 11px/1 Inter;color:var(--mute);margin-left:8px;opacity:0;transition:opacity .15s}
h1:hover .hint-edit{opacity:1}
.soon{opacity:.7}
.notyet{padding:22px;border-radius:16px;border:1px dashed var(--line2);color:var(--cap);font-size:13.5px;text-align:center}
.notyet b{display:block;color:var(--ink);font-weight:600;margin-bottom:4px;font-size:15px}

/* gentle motion */
.tile{transition:transform .14s ease,box-shadow .14s ease}
.tile:hover{transform:translateY(-1px)}
body.selecting .tile:hover{transform:none}
.folder{transition:transform .14s ease,box-shadow .14s ease}
.folder:hover{transform:translateY(-1px);box-shadow:var(--shadow2)}

/* a hit reads as a line or two */
.results a div span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* the greeting on a phone: date under the name, never a wrapped name */
@media (max-width:640px){.row.hello{flex-direction:column;align-items:flex-start;gap:2px}.row.hello .cap{white-space:nowrap}}

/* a folder with no subfolders: one quiet line to make one */
.folders.alone{margin-top:0!important}
.folders.alone .folder.newf{width:auto;min-width:0;height:auto;min-height:0;aspect-ratio:auto;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:8px;padding:10px 14px;border-radius:12px}
.folders.alone .folder.newf b{font-size:13px} .folders.alone .folder.newf span{font-size:12px}
/* the day header on a phone: name and pill, then the detail line */
@media (max-width:640px){.realwrap .row{flex-wrap:wrap;row-gap:2px}.realwrap .row .cap{order:3;flex:1 0 100%}}

/* previous / next at the stage edges: there on hover, never in the way */
.stage{position:relative}
.navarrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background:var(--card);color:var(--ink);border:1px solid var(--line2);box-shadow:var(--shadow2);display:inline-flex;align-items:center;justify-content:center;opacity:0;transition:opacity .16s ease,transform .16s ease;z-index:3}
.navarrow svg{width:18px;height:18px}
.navarrow.prev{left:4px} .navarrow.next{right:4px}
.stage:hover .navarrow{opacity:.92} .navarrow:hover{opacity:1;transform:translateY(-50%) scale(1.04)}
@media (hover:none){.navarrow{display:none}}
.count{font:500 12px/1 Inter;color:var(--mute);margin-left:10px;white-space:nowrap}
/* the crumb trail on a phone: one line, names shortened, never wrapped */
@media (max-width:640px){.place{overflow:hidden}.place a,.place .here{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:38vw;flex:0 1 auto}.place .back{flex:0 0 auto}.place .here{font-weight:600}}

/* the title's actions wrap instead of running off the page (the row layout wraps; the column layout on narrow screens must NOT wrap, or the actions become a second column off-screen) */
.title{flex-wrap:wrap}
.title .acts{flex-wrap:wrap;min-width:0;max-width:100%;row-gap:8px}
@media (max-width:760px){.title{flex-wrap:nowrap}.title .acts{flex-basis:auto;width:100%}}

/* in the column layout the text block takes its own height, not a 360-px basis (that pushed the actions below the fold) */
@media (max-width:760px){.title>div,.title>.acts{flex:0 0 auto;min-width:0}}
/* >>> DRIVE-CLIP-PAGE-20261114: the picture over the page at full size, and the Upload new version button set apart from Share (his words, ledger 10853) */
.title .acts [data-newversion]{margin-right:14px}
.tdlb{position:fixed;inset:0;z-index:2147483600;background:#F2F4F9;opacity:0;transition:opacity .16s ease;touch-action:none;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
html.dark .tdlb{background:#05070C}
.tdlb.tdlb-on{opacity:1}
.tdlb-stage{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:zoom-out}
.tdlb.tdlb-zoomed .tdlb-stage{cursor:grab}
.tdlb.tdlb-drag .tdlb-stage{cursor:grabbing}
.tdlb-img{position:absolute;left:0;top:0;display:block;max-width:none;max-height:none;margin:0;transform-origin:0 0;-webkit-user-drag:none;user-select:none;box-shadow:0 14px 48px rgba(11,16,32,.22)}
html.dark .tdlb-img{box-shadow:none}
.tdlb-stage.tdlb-anim .tdlb-img{transition:transform .22s cubic-bezier(.2,.7,.2,1)}
.tdlb-x{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:2;width:44px;height:44px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#0B1020;box-shadow:0 2px 12px rgba(11,16,32,.22);cursor:pointer}
html.dark .tdlb-x{background:rgba(20,24,36,.9);color:#F5F7FC;box-shadow:0 2px 12px rgba(0,0,0,.45)}
.tdlb-x svg{width:20px;height:20px}
.tdlb-x:focus-visible{outline:2px solid var(--drive);outline-offset:2px}
.tdlb-chip{position:absolute;left:50%;bottom:max(12px,env(safe-area-inset-bottom));z-index:2;transform:translateX(-50%);max-width:calc(100% - 32px);padding:7px 14px;border-radius:999px;background:rgba(11,16,32,.74);color:#fff;font-size:12.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:opacity .3s ease}
.tdlb-chip.tdlb-fade{opacity:0}
@media (prefers-reduced-motion:reduce){.tdlb,.tdlb *{transition:none!important}}
/* <<< DRIVE-CLIP-PAGE-20261114 */

/* the folder toolbar on a phone: Share and the sort button go icon-only so the row fits 375 px (the census found Share at 366-449) */
@media (max-width:430px){.top .sharebtn span,.top .sortbtn span{display:none!important}.top .sharebtn{width:34px!important;padding:0!important;justify-content:center}.top .sortbtn{padding:0 8px!important}.top .sortbtn .caret{margin-left:2px}}
@media (max-width:430px){.top .tools .btn.ghost.sm.sortbtn span,.top .tools .btn.ghost.sm.sharebtn span{display:none!important}}

/* phone touch targets (census 11-08): nothing tappable under ~34 px tall; hit areas grow, the layout barely moves */
@media (max-width:640px){
  .top .btn.sm,.top .btn.ghost.sm,.top .btn.primary.sm,.top .sharebtn,.top .sortbtn,.top .selbtn{min-height:36px}
  .viewbtn{min-height:32px}
  .more{padding:8px 6px;margin:-8px -6px;display:inline-block}
  .place .back{width:34px;height:34px}
  .place a,.place .here{padding:8px 8px}
  .chip{min-height:34px}
  .ver .acts a{padding:8px 8px}
  .title .acts .btn.sm{min-height:36px}
}

/* light-mode contrast (census 11-08): captions, eyebrows and the scanned pill reach 4.5:1 on paper and card; the count uses the caption colour in both themes */
html:not(.dark){--cap:#3C4254;--eyebrow:#3D5FE0}
html:not(.dark) .pill.ok{color:#0B7A55}
.count{color:var(--cap)}

/* light-mode small blue text (tab label, version numbers) reaches 4.5:1; the brand blue stays on marks and buttons */
html:not(.dark) .tabbar a.on,html:not(.dark) .tabbar a.active,html:not(.dark) .tabbar a[aria-current],html:not(.dark) .vn{color:#3558C8}

/* the sign-in page: one card, Apple-level air, thinkdrive's words only */
.signin{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:0 16px 40px;background:var(--paper)}
.si-top{width:100%;max-width:1100px;display:flex;align-items:center;justify-content:space-between;padding:18px 4px}
.si-card{width:100%;max-width:440px;margin:min(10vh,96px) auto 0;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:34px 32px 28px;box-shadow:var(--shadow2)}
.si-card h1{font-size:28px;line-height:1.15;letter-spacing:-.03em;margin:8px 0 10px}
.si-card .eyebrow{font:600 11px/1 Inter;letter-spacing:.14em;text-transform:uppercase;color:var(--eyebrow)}
.si-card>.cap{font-size:14px;line-height:1.5;color:var(--sub)}
.si-doors{display:flex;flex-direction:column;gap:10px;margin:22px 0 16px}
.si-btn{height:44px;justify-content:center;font-size:14.5px;border-radius:12px}
.si-btn.soon{opacity:.45;cursor:default}
.si-note{font-size:12.5px;color:var(--cap);text-align:center;margin:0 0 14px}
.si-new{font-size:13px;color:var(--cap);text-align:center;margin:0;padding-top:14px;border-top:1px solid var(--line)}
.si-new a{color:var(--blue);font-weight:600}
.si-foot{margin-top:auto;padding-top:28px;font-size:12px;color:var(--mute)}
@media (max-width:640px){.si-card{margin-top:6vh;padding:28px 22px 22px;border-radius:18px}.si-card h1{font-size:24px}}

/* hives: what you share, one row each */
.hv-acts{display:flex;gap:10px;margin-top:-4px}
.hv-list{display:flex;flex-direction:column;gap:10px}
.hv-row{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:14px;background:var(--card);border:1px solid var(--line)}
html.dark .hv-row{background:var(--card2)}
.hv-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.hv-main b{font-weight:600;display:flex;align-items:center;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hv-main span{font-size:12.5px;color:var(--cap)}
.hv-btns{display:flex;gap:6px;flex:0 0 auto}
.hv-stop{color:#C2410C}
html.dark .hv-stop{color:#FDBA74}
@media (max-width:640px){.hv-row{flex-direction:column;align-items:stretch}.hv-btns{flex-wrap:wrap}.hv-btns .btn.sm{min-height:36px}}

/* ---- filters, overhauled: kinds in one quiet row, the rest in the Filter menu ---- */
.chips.kinds{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;margin:-2px -4px 0;padding:2px 4px}
.chips.kinds::-webkit-scrollbar{display:none}
.chips.kinds[hidden]{display:none}
.kchip{flex:0 0 auto;display:inline-flex;align-items:baseline;gap:6px;padding:8px 13px;border-radius:999px;font:500 13.5px/1 Inter;color:var(--sub);cursor:pointer;white-space:nowrap;transition:background .15s,color .15s;-webkit-tap-highlight-color:transparent}
.kchip i{font-style:normal;font-size:11px;color:var(--mute);font-variant-numeric:tabular-nums}
.kchip:hover{color:var(--ink);background:var(--drive-soft)}
.kchip.on{background:var(--ink);color:var(--paper)}
.kchip.on i{color:inherit;opacity:.55}
.sortbtn.filtered{position:relative}
.sortbtn.filtered::after{content:"";position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 2px var(--paper)}
.sortmenu{min-width:340px}
.sortmenu .sm-show:empty{display:none}
.sortmenu .sm-show{padding-bottom:6px;margin-bottom:4px;border-bottom:1px solid var(--line)}
.sortmenu .sm-chips{display:flex;flex-wrap:wrap;gap:6px;padding:2px 8px 8px}
.sortmenu .sm-chips .chip{font-size:12.5px;padding:7px 11px;cursor:pointer}
.sortmenu .sm-cols{display:grid;grid-template-columns:1fr 1fr;column-gap:6px;align-items:start}
.sortmenu .sm-col{display:flex;flex-direction:column;min-width:0}
@media (max-width:640px){
  .sortmenu{display:block!important;min-width:0}
  .sortmenu[hidden]{display:none!important}
  .sortmenu .sm-cols{grid-template-columns:1fr 1fr}
  .sortmenu .sm-col .sm-h,.sortmenu .sm-col a{grid-column:auto!important;grid-row:auto!important}
  /* compact folders so the clips start on the first screen */
  .folders .folder:not(.newf){min-width:132px;width:132px;height:auto;min-height:0;aspect-ratio:auto;padding:12px 12px 11px;justify-content:flex-end}
  .folders .folder .thumbs{display:none}
  .folders .folder b{font-size:13.5px} .folders .folder span{font-size:11.5px}
  .folders .folder.newf{min-width:110px;width:110px;min-height:0;height:auto;padding:12px}
  .content{gap:14px}
}

/* >>> DRIVE-CLIPBAR-20261112: the clips page (folder.html) ALONE. EVERY rule below starts at body[data-clipbar], a mark only that
   page carries, so none of them can reach another page. ONE bar holds the kind filter and the buttons made for the clips,
   directly above the clips. The folders are ONE slim line of pills that slides; New folder stays at its right end, in reach. */
body[data-clipbar] .folderline:not([hidden]){display:flex;align-items:center;gap:12px;margin-top:10px}
body[data-clipbar] .folderline>.row{flex:0 0 auto;margin:0}
body[data-clipbar] .folderline>.row[hidden]{display:none}
body[data-clipbar] .folderline>.row h2{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--cap);font-weight:600;margin:0}
body[data-clipbar] .folderline .folders{display:flex!important;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:none;margin:0!important;padding:3px 0;flex:1 1 auto;min-width:0}
body[data-clipbar] .folderline .folders::-webkit-scrollbar{display:none}
body[data-clipbar] .folderline .folders .folder{min-height:0!important;height:auto!important;width:auto!important;min-width:0!important;flex:0 0 auto;flex-direction:row!important;align-items:center!important;justify-content:flex-start;gap:8px;padding:8px 13px!important;border-radius:999px;box-shadow:none;aspect-ratio:auto;scroll-snap-align:none}
body[data-clipbar] .folderline .folders .folder .thumbs{display:none}
body[data-clipbar] .folderline .folders .folder .tab{position:static;width:8px;height:8px;border-radius:50%;flex:none}
body[data-clipbar] .folderline .folders .folder b{font-size:13px;max-width:160px}
body[data-clipbar] .folderline .folders .folder span{font-size:11.5px;white-space:nowrap}
body[data-clipbar] .folderline .folders .folder.newf{position:sticky;right:0;z-index:1;overflow:visible}
body[data-clipbar] .folderline .folders .folder.newf::before{content:"";position:absolute;z-index:-1;top:-4px;bottom:-4px;right:-1px;left:-18px;background:linear-gradient(to right,transparent,var(--paper) 14px)}
body[data-clipbar] .folderline .folders .folder.newf span{display:none}
body[data-clipbar] .clipbar{display:flex;align-items:center;gap:14px;margin-top:10px;padding:8px 0 2px;border-top:1px solid var(--line)}
body[data-clipbar] .clipbar .chips.kinds{flex:1 1 auto;min-width:0;margin:0;padding:2px 0}
body[data-clipbar] .cliptools{display:flex;align-items:center;gap:8px;position:relative;flex:0 0 auto;margin-left:auto}
body[data-clipbar] .cliptools .btn.ghost.sm span,body[data-clipbar] .cliptools .viewbtn span{display:inline!important}
body[data-clipbar] .cliptools .btn.ghost.sm{width:auto!important;padding:0 12px!important;height:34px}
@media (min-width:761px){
  body[data-clipbar] .cliptools .sortmenu{right:0;left:auto;top:calc(100% + 8px);max-height:calc(100vh - 410px);overflow-y:auto}
}
@media (min-width:761px) and (max-height:745px){
  body[data-clipbar] .cliptools .sortmenu{position:fixed;top:auto;right:28px;bottom:12px;max-height:calc(100vh - 24px)}
}
@media (max-width:760px){
  body[data-clipbar] .folderline:not([hidden]){margin-top:2px}
  body[data-clipbar] .folderline>.row{display:none}
  body[data-clipbar] .clipbar{flex-wrap:wrap;row-gap:8px;margin-top:2px;padding-top:10px}
  body[data-clipbar] .cliptools{order:1;flex:1 0 100%;margin-left:0}
  body[data-clipbar] .clipbar .chips.kinds{order:2;flex:1 0 100%}
  body[data-clipbar] .cliptools .sortmenu{max-height:calc(100vh - 108px);overflow-y:auto}
}
@media (max-width:640px){
  body[data-clipbar] .cliptools .btn.sm{min-height:36px}
}
@media (max-width:430px){
  body[data-clipbar] .cliptools .btn.ghost.sm.sortbtn span,body[data-clipbar] .cliptools .btn.ghost.sm.sharebtn span{display:none!important}
  body[data-clipbar] .cliptools .sharebtn{width:34px!important;padding:0!important;justify-content:center}
  body[data-clipbar] .cliptools .sortbtn{padding:0 8px!important}
  body[data-clipbar] .cliptools .sortbtn .caret{margin-left:2px}
}
/* <<< DRIVE-CLIPBAR-20261112 */

/* a zip, opened: its files as the main view */
.viewer.zipstage{display:block;aspect-ratio:auto;min-height:0;background:transparent;padding:0}
.zipview{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden}
html.dark .zipview{background:var(--card2)}
.zhead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}
.zhead b{display:block;font:600 15px/1.2 'DM Sans',Inter;color:var(--ink)}
.zhead span{display:block;margin-top:4px;font-size:12.5px;color:var(--cap)}
.zlist{max-height:min(62vh,560px);overflow:auto;padding:6px 0}
.zrow{display:flex;align-items:center;gap:10px;padding:8px 18px 8px calc(18px + var(--d,0) * 18px);font-size:13.5px;color:var(--ink)}
.zrow:hover{background:var(--drive-soft)}
.zdir b{font-weight:600}
.zic{font-style:normal;font-size:10px;color:var(--mute);width:28px;text-align:center}
.zext{font-style:normal;font:700 9.5px/1 Inter;letter-spacing:.04em;color:var(--sub);background:var(--line);border-radius:5px;padding:4px 0;width:38px;text-align:center;flex:0 0 auto}
.zn{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zs{flex:0 0 auto;font-size:12px;color:var(--cap);font-variant-numeric:tabular-nums}
.zdl{flex:0 0 auto;width:30px;height:30px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--blue)}
.zdl:hover{background:var(--drive-soft)} .zdl svg{width:16px;height:16px}
.zmore{padding:10px 18px;font-size:12.5px;color:var(--cap)}
@media (max-width:640px){.zrow{padding-left:calc(14px + var(--d,0) * 12px);padding-right:10px}.zdl{width:36px;height:36px}.zhead{padding:14px}}
body:not(.live) .zdl{display:none}   /* the static preview has no worker to pull a file out of a zip */
/* >>> DRIVE-SMOOTHER-20261113: Home in the layout of the clips page, and the tighter top of both (his "this one!" and "Option 2").
   EVERY rule below starts at body[data-homebar] (Home only) or body[data-clipbar] (the clips page only). */
body[data-homebar] .folderline{display:flex;align-items:center;gap:12px}
body[data-homebar] .folderline>.row{flex:0 0 auto;margin:0}
body[data-homebar] .folderline>.row h2{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--cap);font-weight:600;margin:0}
body[data-homebar] .folderline .folders{display:flex!important;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:none;margin:0!important;padding:3px 0;flex:1 1 auto;min-width:0}
body[data-homebar] .folderline .folders::-webkit-scrollbar{display:none}
body[data-homebar] .folderline .folders .folder{min-height:0!important;height:auto!important;width:auto!important;min-width:0!important;flex:0 0 auto;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px;padding:7px 12px!important;border-radius:999px!important}
body[data-homebar] .folderline .folders .folder .thumbs{display:none}
body[data-homebar] .folderline .folders .folder .tab{position:static;width:8px;height:8px;border-radius:50%;flex:none}
body[data-homebar] .folderline .folders .folder b{font-size:13px;max-width:160px}
body[data-homebar] .folderline .folders .folder span{font-size:11.5px;white-space:nowrap}
body[data-homebar] .folderline .folders .folder.newf{position:sticky;right:0;z-index:1;overflow:visible}
body[data-homebar] .folderline .folders .folder.newf::before{content:"";position:absolute;z-index:-1;top:-4px;bottom:-4px;right:-1px;left:-18px;background:linear-gradient(to right,transparent,var(--paper) 14px)}
body[data-homebar] .folderline .folders .folder.newf span{display:none}
body[data-homebar] .folderline>a.more{flex:0 0 auto;margin:0;padding:0;white-space:nowrap;font-size:12.5px;color:var(--eyebrow);font-weight:500}
body[data-homebar] .homebar{display:flex;align-items:center;gap:14px;padding-top:8px;border-top:1px solid var(--line)}
body[data-homebar] .homebar>a.more{margin-left:0}
body[data-homebar] .hometools{display:flex;align-items:center;gap:8px;position:relative;flex:0 0 auto;margin-left:auto}
body[data-homebar] .hometools .btn.ghost.sm span,body[data-homebar] .hometools .viewbtn span{display:inline!important}
body[data-homebar] .hometools .btn.ghost.sm{width:auto!important;padding:0 12px!important;height:34px}
@media (min-width:761px){
  body[data-homebar] .hometools .sortmenu{right:0;left:auto;top:calc(100% + 8px)}
}
body[data-homebar] .hometools .sortmenu .sm-show,body[data-homebar] .hometools .sortmenu .sm-col+.sm-col{display:none}
body[data-homebar] .content,body[data-clipbar] .content{padding-top:14px;gap:12px}
body[data-clipbar] .folderline:not([hidden]){margin-top:0}
body[data-clipbar] .clipbar{margin-top:0;padding-top:6px}
body[data-clipbar] .headrow{display:flex;align-items:center;gap:12px;min-width:0}
body[data-clipbar] .headrow .place{margin-bottom:0;flex:0 1 auto;min-width:0}
body[data-clipbar] .headrow .row{margin-top:0!important}
body[data-clipbar] .headrow .place:not(:has(.sep ~ .sep))>:not(.back){display:none}
/* his "make this more differentiated": each button of the clip bar and the Home bar has its own colour (H, his words line 9881) */
body[data-clipbar] .cliptools .views,body[data-homebar] .hometools .views{border-color:rgba(62,104,222,.35);background:rgba(62,104,222,.06)}
body[data-clipbar] .cliptools .viewbtn:not(.on),body[data-homebar] .hometools .viewbtn:not(.on){color:#3E68DE}
body[data-clipbar] .cliptools .selbtn:not(.on),body[data-homebar] .hometools .selbtn:not(.on){color:#047857;background:rgba(16,185,129,.10);border-color:rgba(16,185,129,.38)}
body[data-clipbar] .cliptools .sortbtn,body[data-homebar] .hometools .sortbtn{color:#6D28D9;background:rgba(124,58,237,.08);border-color:rgba(124,58,237,.32)}
body[data-clipbar] .cliptools .sharebtn{color:#C2410C;background:rgba(234,88,12,.08);border-color:rgba(234,88,12,.32)}
html.dark body[data-clipbar] .cliptools .views,html.dark body[data-homebar] .hometools .views{border-color:rgba(159,184,255,.35);background:rgba(159,184,255,.08)}
html.dark body[data-clipbar] .cliptools .viewbtn:not(.on),html.dark body[data-homebar] .hometools .viewbtn:not(.on){color:#9FB8FF}
html.dark body[data-clipbar] .cliptools .selbtn:not(.on),html.dark body[data-homebar] .hometools .selbtn:not(.on){color:#4ADE80;background:rgba(74,222,128,.12);border-color:rgba(74,222,128,.38)}
html.dark body[data-clipbar] .cliptools .sortbtn,html.dark body[data-homebar] .hometools .sortbtn{color:#C4B5FD;background:rgba(196,181,253,.12);border-color:rgba(196,181,253,.38)}
html.dark body[data-clipbar] .cliptools .sharebtn{color:#FDBA74;background:rgba(253,186,116,.12);border-color:rgba(253,186,116,.38)}
@media (max-width:760px){
  body[data-homebar] .folderline>.row{display:none}
  body[data-homebar] .homebar{flex-wrap:wrap;row-gap:8px}
  body[data-homebar] .hometools{flex:1 0 100%;margin-left:0}
  body[data-homebar] .content,body[data-clipbar] .content{padding-top:10px;gap:10px}
  body[data-clipbar] .clipbar{padding-top:8px}
}
/* <<< DRIVE-SMOOTHER-20261113 */
/* the share and send sheets sit on the screen, not on the page: after a scroll their top was cut off */
.sheetwrap.show{position:fixed;inset:0;z-index:50}
/* >>> DRIVE-TOPBAR-20261112: the account menu under the round button at the top right, with the Messages button in its head */
.topright{position:relative}
.avatar[role=button]{cursor:pointer}
.avatar.open{outline:2px solid var(--drive);outline-offset:2px}
/* the switch and the round button stand 14 points apart on the web and on a phone (Steve 11-12: too close on mobile; it was 6) */
.topright .theme+.avatar{margin-left:4px}
@media (max-width:760px){.topright .theme+.avatar{margin-left:8px}}
.acctmenu{position:absolute;right:0;top:calc(100% + 10px);width:286px;max-width:calc(100vw - 24px);max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background:var(--card);border:1px solid var(--line2);border-radius:16px;box-shadow:0 18px 50px -12px rgba(0,0,0,.45);padding:8px;z-index:70;font:400 14px/1.3 Inter,system-ui,sans-serif;color:var(--ink);text-align:left}
html.dark .acctmenu{background:var(--card2)}
.acctmenu .amhead{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 12px}
.acctmenu .amwho{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.acctmenu .amwho b{font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acctmenu .amwho span,.acctmenu .ss{color:var(--cap);font-size:12px}
.acctmenu .ammsg{flex:none;width:38px;height:38px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:rgba(59,91,254,.12);text-decoration:none}
.acctmenu .ammsg:hover{background:rgba(59,91,254,.2)}
.acctmenu .ammsg svg{width:18px;height:18px;stroke:#3B5BFE}
html.dark .acctmenu .ammsg{background:rgba(59,91,254,.2)}
html.dark .acctmenu .ammsg:hover{background:rgba(59,91,254,.3)}
html.dark .acctmenu .ammsg svg{stroke:#9FB0FF}
.acctmenu .amlab{padding:12px 12px 4px;font:600 10.5px/1 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--cap)}
.acctmenu .amrow{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:8px 12px;border:0;border-radius:10px;background:none;color:var(--ink);font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.acctmenu .amrow:hover,.acctmenu .amrow:focus-visible{background:var(--line);outline:none}
.acctmenu .amri{width:24px;height:25px;flex:none;display:grid;place-items:center;color:var(--ink)}
.acctmenu .amri svg{width:22px;height:23px;display:block}
.acctmenu .amrt{display:flex;flex-direction:column;gap:2px;min-width:0}
.acctmenu .amwm{font:300 16px/1.1 'DM Sans',Inter,sans-serif;letter-spacing:-.02em}
.acctmenu .amwm b{font-weight:700;color:var(--rm)}
html:not(.dark) .acctmenu .amwm b{color:color-mix(in srgb,var(--rm) 62%,#000)}
.acctmenu .amsep{height:1px;background:var(--line);margin:6px 4px}
.acctmenu .ammore>summary{list-style:none;color:var(--sub);font-size:13px}
.acctmenu .ammore>summary::-webkit-details-marker{display:none}
.acctmenu .ammore>summary::after{content:"";margin-left:auto;margin-right:4px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.acctmenu .ammore[open]>summary::after{transform:rotate(-135deg)}
.acctmenu .amout{color:#C81E3A}
html.dark .acctmenu .amout{color:#FF8093}
.acctmenu[hidden],.acctmenu [hidden]{display:none!important}
/* >>> DRIVE-MENU-FIT-20261112: nothing of the menu is ever cut. The head and the foot (Open thinkjoin, Sign out) stay in place; only the middle scrolls when a screen is short */
.acctmenu .amhead,.acctmenu .amfoot{flex:none}
.acctmenu .amhead{border-bottom:1px solid var(--line);margin-bottom:4px;padding-bottom:10px}
.acctmenu .ambody{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.acctmenu .ambody::-webkit-scrollbar{display:none}
.acctmenu.more-below .ambody{-webkit-mask-image:linear-gradient(#000 calc(100% - 26px),transparent);mask-image:linear-gradient(#000 calc(100% - 26px),transparent)}
.acctmenu button.ammore{color:var(--sub);font-size:13px}
.acctmenu button.ammore::after{content:"";margin-left:auto;margin-right:4px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.acctmenu button.ammore[aria-expanded=true]::after{transform:rotate(-135deg)}
.acctmenu{transform-origin:top right;animation:acctin .14s ease-out}
@keyframes acctin{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.acctmenu{animation:none}}
/* DRIVE-MENU-EDGE-20261112: the upper edge of the middle fades too while rows are above it */
.acctmenu.more-above .ambody{-webkit-mask-image:linear-gradient(transparent,#000 22px);mask-image:linear-gradient(transparent,#000 22px)}
.acctmenu.more-above.more-below .ambody{-webkit-mask-image:linear-gradient(transparent,#000 22px,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(transparent,#000 22px,#000 calc(100% - 26px),transparent)}
/* <<< DRIVE-MENU-FIT-20261112 */
/* <<< DRIVE-TOPBAR-20261112 */
/* >>> DRIVE-SMOOTH-20261112: a browser that had a live drive (html.td-live, set by the head script before anything is drawn) is not
   drawn the built-in sample content, and its content area stays clear until the person's own content is in (html.td-ready).
   Every rule hangs on that mark: with no mark the page is drawn as before */
html.td-live [data-sample]{display:none!important}
html.td-live .content{transition:opacity .12s ease-out}
html.td-live:not(.td-ready) .content{opacity:0}
html.td-live:not(.td-ready) .rail .nav .n{visibility:hidden}
html.td-live:not(.td-ready) .top .avatar{color:transparent}
@media (prefers-reduced-motion:reduce){html.td-live .content{transition:none}}
/* <<< DRIVE-SMOOTH-20261112 */
