/* === File-type icon background SVGs === */
.icon-Gfold { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><g style="fill:black"><path d="m4.5.062C2.032.062,0,2.095,0,4.562v30.927c0,2.468,2.032,4.5,4.5,4.5h31c2.468,0,4.5-2.032,4.5-4.5V9.562c0-2.468-2.032-4.5-4.5-4.5h-15.457l-4.471-3.725C14.584.515,13.339.062,12.053.062h-7.553Z"/></g><g style="fill:white"><path d="m13.652,9.482l3.504-2.92-3.504-2.92c-.45-.375-1.014-.58-1.6-.58h-7.553c-.846,0-1.5.654-1.5,1.5v5.5h9.053c.586,0,1.15-.205,1.6-.58Zm21.848-1.42h-15.457l-4.471,3.725c-.988.823-2.233,1.275-3.52,1.275H3v22.427c0,.846.654,1.5,1.5,1.5h31c.846,0,1.5-.654,1.5-1.5V9.562c0-.846-.654-1.5-1.5-1.5Z"/></g></svg>'); }

.icon-Gzip { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><g style="fill:white"><path d="m38.152,13.863l-.015-.015L25.992,1.703c-.263-.263-.62-.411-.992-.411H5.502C3.194,1.292,1.292,3.193,1.292,5.501v28.998c0,2.308,1.901,4.209,4.209,4.209h28.852c2.308,0,4.209-1.901,4.209-4.209V14.855c0-.372-.148-.729-.411-.992Z"/></g><g style="fill:black"><path d="m39.41,13.439l-.016-.016L26.41.439c-.281-.281-.663-.439-1.061-.439H4.506C2.038,0,.006,2.033.006,4.5v31c0,2.468,2.033,4.5,4.5,4.5h30.844c2.468,0,4.5-2.032,4.5-4.5V14.5c0-.398-.158-.779-.439-1.061Zm-12.561-8.318l7.879,7.879h-6.379c-.846,0-1.5-.654-1.5-1.5v-6.379Zm10,30.379c0,.846-.653,1.5-1.5,1.5H4.506c-.846,0-1.5-.654-1.5-1.5V4.5c0-.846.654-1.5,1.5-1.5h7.871v1.977h-2.975c-.699,0-1.266.524-1.266,1.17s.566,1.17,1.266,1.17h2.975v2.032h-2.975c-.699,0-1.266.524-1.266,1.17s.566,1.17,1.266,1.17h2.975v2.032h-2.975c-.699,0-1.266.524-1.266,1.17s.566,1.17,1.266,1.17h2.975v2.032h-2.975c-.699,0-1.266.524-1.266,1.17s.566,1.17,1.266,1.17h2.975v2.033h-2.975c-.699,0-1.266.524-1.266,1.17s.566,1.17,1.266,1.17h2.975v2.032h-2.975c-.699,0-1.266,1.553-1.266,3.466s.566,3.466,1.266,3.466h8.481c.699,0,1.266-1.553,1.266-3.466s-.566-3.466-1.266-3.466h-2.975v-2.032h2.975c.699,0,1.266-.524,1.266-1.17s-.566-1.17-1.266-1.17h-2.975v-2.033h2.975c.699,0,1.266-.524,1.266-1.17s-.566-1.17-1.266-1.17h-2.975v-2.032h2.975c.699,0,1.266-.524,1.266-1.17s-.566-1.17-1.266-1.17h-2.975v-2.032h2.975c.699,0,1.266-.524,1.266-1.17s-.566-1.17-1.266-1.17h-2.975v-1.977h8.941v8.5c0,2.468,2.033,4.5,4.5,4.5h8.5v19.5Z"/></g></svg>'); }

.icon-Gdef { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><g style="fill:white"><path d="m38.152,13.863l-.015-.015L25.992,1.703c-.263-.263-.62-.411-.992-.411H5.502C3.194,1.292,1.292,3.193,1.292,5.501v28.998c0,2.308,1.901,4.209,4.209,4.209h28.852c2.308,0,4.209-1.901,4.209-4.209V14.855c0-.372-.148-.729-.411-.992Z"/></g><g style="fill:black"><path d="m4.506,0C2.038,0,.006,2.032.006,4.5v31c0,2.468,2.032,4.5,4.5,4.5h30.844c2.468,0,4.5-2.032,4.5-4.5V14.5c0-.398-.158-.779-.439-1.061l-.016-.016L26.41.439c-.281-.281-.663-.439-1.061-.439H4.506Zm0,3h19.344v8.5c0,2.468,2.032,4.5,4.5,4.5h8.5v19.5c0,.847-.653,1.5-1.5,1.5H4.506c-.846,0-1.5-.653-1.5-1.5V4.5c0-.846.654-1.5,1.5-1.5Zm22.344,2.121l7.879,7.879h-6.379c-.846,0-1.5-.654-1.5-1.5v-6.379Z"/></g></svg>'); }

.icon-Gsho { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><g style="fill:white"><path d="m38.152,13.863l-.015-.015L25.992,1.703c-.263-.263-.62-.411-.992-.411H5.502C3.194,1.292,1.292,3.193,1.292,5.501v28.998c0,2.308,1.901,4.209,4.209,4.209h28.852c2.308,0,4.209-1.901,4.209-4.209V14.855c0-.372-.148-.729-.411-.992Z"/></g><g style="fill:black"><path d="M43.41,17.414l-0.016-0.016L30.41,4.414c-0.281-0.281-0.663-0.439-1.061-0.439H8.506c-2.467,0-4.5,2.033-4.5,4.5v31c0,2.468,2.033,4.5,4.5,4.5H39.35c2.468,0,4.5-2.032,4.5-4.5v-21C43.85,18.077,43.692,17.695,43.41,17.414zM30.85,9.095l7.879,7.879H32.35c-0.846,0-1.5-0.654-1.5-1.5V9.095zM40.85,39.474c0,0.846-0.653,1.5-1.5,1.5H8.506c-0.846,0-1.5-0.654-1.5-1.5v-31c0-0.846,0.654-1.5,1.5-1.5H27.85v8.5c0,2.468,2.033,4.5,4.5,4.5h8.5V39.474zM25.489,11.095c-0.005-0.048-0.018-0.094-0.028-0.141c0-0.001,0-0.002-0.001-0.003c-0.007-0.034-0.009-0.067-0.018-0.101c-0.001-0.003-0.002-0.005-0.003-0.008c-0.003-0.01-0.007-0.019-0.010-0.028c-0.014-0.046-0.035-0.089-0.054-0.133c-0.004-0.01-0.008-0.021-0.013-0.031c-0.016-0.036-0.030-0.073-0.049-0.107c-0.019-0.035-0.044-0.068-0.067-0.102c-0.008-0.011-0.015-0.023-0.023-0.034c-0.019-0.027-0.033-0.056-0.053-0.081c-0.009-0.011-0.020-0.020-0.029-0.031c-0.006-0.007-0.009-0.015-0.015-0.021c-0.021-0.023-0.045-0.041-0.067-0.062c-0.031-0.032-0.060-0.067-0.094-0.096c-0.010-0.009-0.022-0.015-0.033-0.023c-0.037-0.029-0.076-0.054-0.115-0.080c-0.042-0.027-0.083-0.055-0.128-0.078c-0.046-0.024-0.093-0.042-0.140-0.060c-0.031-0.012-0.060-0.029-0.091-0.039c-0.003-0.001-0.006-0.003-0.009-0.004c-0.011-0.004-0.023-0.004-0.034-0.007c-0.045-0.013-0.091-0.020-0.137-0.029c-0.037-0.007-0.074-0.018-0.112-0.022c-0.015-0.002-0.029-0.002-0.044-0.003c-0.044-0.004-0.087-0.001-0.131-0.001c-0.040,0-0.079-0.003-0.119,0c-0.014,0.001-0.028,0.003-0.042,0.005c-0.045,0.005-0.089,0.017-0.134,0.026c-0.007,0.001-0.014,0.003-0.021,0.004c-0.029,0.007-0.059,0.007-0.088,0.016l-0.016,0.005c0,0,0,0,0,0l-11.070,3.165c-0.797,0.228-1.258,1.058-1.030,1.854c0.188,0.659,0.789,1.088,1.441,1.088c0.137,0,0.275-0.019,0.413-0.058l5.187-1.483c-8.673,8.895-11.150,16.474-7.550,23.062c0.272,0.499,0.787,0.781,1.318,0.781c0.243,0,0.489-0.059,0.718-0.184c0.727-0.397,0.994-1.309,0.597-2.035c-2.919-5.345-0.536-11.831,7.259-19.734l-1.537,4.900c-0.248,0.791,0.192,1.632,0.982,1.880c0.150,0.047,0.301,0.069,0.450,0.069c0.638,0,1.229-0.411,1.431-1.051l3.253-10.369c0.004-0.012,0.004-0.023,0.007-0.035c0.012-0.043,0.019-0.086,0.028-0.130c0.008-0.040,0.019-0.078,0.023-0.118c0.002-0.015,0.002-0.029,0.003-0.044c0.003-0.042,0.001-0.084,0.001-0.127c0-0.041,0.003-0.082,0-0.124C25.492,11.122,25.490,11.109,25.489,11.095z"/></g></svg>'); }

.icon-Gimg { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><g style="fill:white"><path d="m38.152,13.863l-.015-.015L25.992,1.703c-.263-.263-.62-.411-.992-.411H5.502C3.194,1.292,1.292,3.193,1.292,5.501v28.998c0,2.308,1.901,4.209,4.209,4.209h28.852c2.308,0,4.209-1.901,4.209-4.209V14.855c0-.372-.148-.729-.411-.992Z"/></g><g style="fill:black"><path d="m39.41,13.439l-.016-.016L26.41.439c-.281-.281-.663-.439-1.061-.439H4.506C2.038,0,.006,2.033.006,4.5v31c0,2.468,2.033,4.5,4.5,4.5h30.844c2.468,0,4.5-2.032,4.5-4.5V14.5c0-.398-.158-.779-.439-1.061Zm-12.561-8.318l7.879,7.879h-6.379c-.846,0-1.5-.654-1.5-1.5v-6.379Zm10,25.16l-9.098-11.383c-.266-.333-.66-.536-1.085-.561-.429-.027-.841.132-1.143.432l-7.852,7.779-6.547-5.623c-.324-.279-.753-.404-1.176-.349-.424.057-.804.292-1.043.647l-5.9,8.726V4.5c0-.846.654-1.5,1.5-1.5h19.344v8.5c0,2.468,2.033,4.5,4.5,4.5h8.5v14.281ZM13.791,8.773c-2.325,0-4.209,1.884-4.209,4.209s1.884,4.209,4.209,4.209,4.209-1.884,4.209-4.209-1.884-4.209-4.209-4.209Z"/></g></svg>'); }

.icon-Gxls { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><g style="fill:white"><path d="m38.152,13.863l-.015-.015L25.992,1.703c-.263-.263-.62-.411-.992-.411H5.502C3.194,1.292,1.292,3.193,1.292,5.501v28.998c0,2.308,1.901,4.209,4.209,4.209h28.852c2.308,0,4.209-1.901,4.209-4.209V14.855c0-.372-.148-.729-.411-.992Z"/></g><g style="fill:black"><path d="m4.506,0C2.038,0,.006,2.032.006,4.5v31c0,2.468,2.032,4.5,4.5,4.5h30.844c2.468,0,4.5-2.032,4.5-4.5V14.5c0-.398-.158-.779-.439-1.061l-.016-.016L26.41.439c-.281-.281-.663-.439-1.061-.439H4.506Zm0,3h19.344v8.5c0,2.468,2.032,4.5,4.5,4.5h8.5v19.5c0,.847-.653,1.5-1.5,1.5H4.506c-.846,0-1.5-.653-1.5-1.5V4.5c0-.846.654-1.5,1.5-1.5Zm22.344,2.121l7.879,7.879h-6.379c-.846,0-1.5-.654-1.5-1.5v-6.379Z"/><path d="m5.399,21.05c0-.703.436-1.189,1.145-1.189.629,0,.903.486,1.371,1.369l1.742,3.331,1.871-3.601c.387-.738.645-1.099,1.274-1.099.71,0,1.162.468,1.162,1.135,0,.27-.097.63-.274.955l-2.548,4.411,2.5,4.609c.177.324.323.63.323,1.044,0,.648-.419,1.152-1.048,1.152-.646,0-.968-.342-1.307-.972l-1.952-3.691-1.693,3.223c-.516.973-.742,1.423-1.419,1.423-.726,0-1.226-.559-1.226-1.261,0-.27.081-.521.226-.792l2.629-4.718-2.306-4.015c-.242-.414-.468-.757-.468-1.314Z"/><path d="m15.946,30.953v-9.669c0-.901.436-1.423,1.194-1.423.79,0,1.193.468,1.193,1.423v9.326h4.387c.936,0,1.436.433,1.436,1.152,0,.883-.452,1.225-1.436,1.225h-5.322c-1.177,0-1.452-.576-1.452-2.034Z"/><path d="m32.847,23.841c-.758,0-.968-.54-1.436-1.171-.403-.54-1.032-.81-1.887-.81-1.258,0-1.951.594-1.951,1.566,0,1.206.951,1.242,2.726,1.746,1.129.307,2.08.576,2.806,1.026.968.612,1.42,1.566,1.42,2.971,0,2.521-1.678,4.178-4.549,4.178-1.37,0-2.419-.271-3.532-1.152-.709-.576-1.145-1.423-1.145-2.143,0-.793.451-1.314,1.08-1.314.855,0,1.017.792,1.5,1.44.468.647,1.146.937,2.064.937,1.484,0,2.242-.576,2.242-1.675,0-1.188-.968-1.404-3.08-1.944-2.613-.667-3.839-1.44-3.839-3.907,0-2.413,1.58-3.89,4.387-3.89,1.274,0,2.307.324,3.146.99.693.541,1.112,1.369,1.112,1.981,0,.702-.419,1.171-1.064,1.171Z"/></g></svg>'); }

.icon-Gdoc { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><g style="fill:white"><path d="m38.152,13.863l-.015-.015L25.992,1.703c-.263-.263-.62-.411-.992-.411H5.502C3.194,1.292,1.292,3.193,1.292,5.501v28.998c0,2.308,1.901,4.209,4.209,4.209h28.852c2.308,0,4.209-1.901,4.209-4.209V14.855c0-.372-.148-.729-.411-.992Z"/></g><g style="fill:black"><path d="m4.506,0C2.038,0,.006,2.032.006,4.5v31c0,2.468,2.032,4.5,4.5,4.5h30.844c2.468,0,4.5-2.032,4.5-4.5V14.5c0-.398-.158-.779-.439-1.061l-.016-.016L26.41.439c-.281-.281-.663-.439-1.061-.439H4.506Zm0,3h19.344v8.5c0,2.468,2.032,4.5,4.5,4.5h8.5v19.5c0,.847-.653,1.5-1.5,1.5H4.506c-.846,0-1.5-.653-1.5-1.5V4.5c0-.846.654-1.5,1.5-1.5Zm22.344,2.121l7.879,7.879h-6.379c-.846,0-1.5-.654-1.5-1.5v-6.379Z"/><path d="m5.107,30.953v-8.877c0-1.459.245-2.035,1.296-2.035h2.766c3.169,0,4.725,2.107,4.725,6.482,0,2.413-.605,4.231-1.686,5.312-1.008,1.009-2.132,1.152-3.615,1.152h-2.189c-1.052,0-1.296-.576-1.296-2.034Zm2.088-.307h1.714c1.973,0,2.809-1.206,2.809-4.123,0-2.881-.792-4.213-2.55-4.213h-1.974v8.336Z"/><path d="m24.969,26.524c0,4.177-1.973,6.824-5.07,6.824s-5.056-2.629-5.056-6.824,1.959-6.825,5.056-6.825,5.07,2.647,5.07,6.825Zm-7.951,0c0,2.881,1.081,4.501,2.881,4.501,1.815,0,2.91-1.62,2.91-4.501s-1.095-4.501-2.91-4.501c-1.8,0-2.881,1.62-2.881,4.501Z"/><path d="m30.916,19.681c1.239,0,2.248.415,3.184,1.315.663.63,1.023,1.458,1.023,2.125,0,.774-.39,1.278-1.009,1.278-.36,0-.663-.18-.965-.54-.216-.252-.317-.594-.476-.81-.461-.667-1.08-.973-1.858-.973-1.642,0-2.708,1.603-2.708,4.43,0,2.845,1.023,4.429,2.795,4.429.807,0,1.44-.324,1.829-.9.216-.324.288-.63.403-.81.316-.505.576-.757,1.008-.757.576,0,1.023.54,1.023,1.206,0,.595-.332,1.459-.965,2.161-.98,1.08-2.018,1.513-3.414,1.513-3.011,0-4.854-2.521-4.854-6.626,0-4.447,1.858-7.041,4.983-7.041Z"/></g></svg>'); }

.icon-Gppt { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><g style="fill:white"><path d="m38.152,13.863l-.015-.015L25.992,1.703c-.263-.263-.62-.411-.992-.411H5.502C3.194,1.292,1.292,3.193,1.292,5.501v28.998c0,2.308,1.901,4.209,4.209,4.209h28.852c2.308,0,4.209-1.901,4.209-4.209V14.855c0-.372-.148-.729-.411-.992Z"/></g><g style="fill:black"><path d="m4.506,0C2.038,0,.006,2.032.006,4.5v31c0,2.468,2.032,4.5,4.5,4.5h30.844c2.468,0,4.5-2.032,4.5-4.5V14.5c0-.398-.158-.779-.439-1.061l-.016-.016L26.41.439c-.281-.281-.663-.439-1.061-.439H4.506Zm0,3h19.344v8.5c0,2.468,2.032,4.5,4.5,4.5h8.5v19.5c0,.847-.653,1.5-1.5,1.5H4.506c-.846,0-1.5-.653-1.5-1.5V4.5c0-.846.654-1.5,1.5-1.5Zm22.344,2.121l7.879,7.879h-6.379c-.846,0-1.5-.654-1.5-1.5v-6.379Z"/><path d="m7.034,33.15c-.791,0-1.194-.468-1.194-1.423v-9.65c0-1.459.274-2.035,1.452-2.035h3.709c2.452,0,3.71,1.44,3.71,4.16,0,2.664-1.258,4.177-3.548,4.177h-2.936v3.349c0,.955-.387,1.423-1.193,1.423Zm1.209-7.112h2.306c1.226,0,1.791-.54,1.791-1.872,0-1.225-.564-1.873-1.661-1.873h-2.436v3.745Z"/><path d="m17.307,33.15c-.791,0-1.194-.468-1.194-1.423v-9.65c0-1.459.274-2.035,1.452-2.035h3.709c2.452,0,3.71,1.44,3.71,4.16,0,2.664-1.258,4.177-3.548,4.177h-2.936v3.349c0,.955-.387,1.423-1.193,1.423Zm1.209-7.112h2.306c1.226,0,1.79-.54,1.79-1.872,0-1.225-.564-1.873-1.661-1.873h-2.436v3.745Z"/><path d="m25.354,21.212c0-.757.388-1.153,1.161-1.153h7.226c.774,0,1.161.396,1.161,1.153s-.387,1.134-1.161,1.134h-2.419v9.381c0,.955-.387,1.423-1.193,1.423-.79,0-1.193-.468-1.193-1.423v-9.381h-2.42c-.773,0-1.161-.359-1.161-1.134Z"/></g></svg>'); }

.icon-Gpdf { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><g style="fill:white"><path d="m38.152,13.863l-.015-.015L25.992,1.703c-.263-.263-.62-.411-.992-.411H5.502C3.194,1.292,1.292,3.193,1.292,5.501v28.998c0,2.308,1.901,4.209,4.209,4.209h28.852c2.308,0,4.209-1.901,4.209-4.209V14.855c0-.372-.148-.729-.411-.992Z"/></g><g style="fill:black"><path d="m4.506,0C2.038,0,.006,2.032.006,4.5v31c0,2.468,2.032,4.5,4.5,4.5h30.844c2.468,0,4.5-2.032,4.5-4.5V14.5c0-.398-.158-.779-.439-1.061l-.016-.016L26.41.439c-.281-.281-.663-.439-1.061-.439H4.506Zm0,3h19.344v8.5c0,2.468,2.032,4.5,4.5,4.5h8.5v19.5c0,.847-.653,1.5-1.5,1.5H4.506c-.846,0-1.5-.653-1.5-1.5V4.5c0-.846.654-1.5,1.5-1.5Zm22.344,2.121l7.879,7.879h-6.379c-.846,0-1.5-.654-1.5-1.5v-6.379Z"/><path d="m6.648,33.15c-.791,0-1.194-.468-1.194-1.423v-9.65c0-1.459.274-2.035,1.452-2.035h3.709c2.452,0,3.71,1.44,3.71,4.16,0,2.664-1.258,4.177-3.548,4.177h-2.936v3.349c0,.955-.387,1.423-1.193,1.423Zm1.209-7.112h2.306c1.226,0,1.791-.54,1.791-1.872,0-1.225-.564-1.873-1.661-1.873h-2.436v3.745Z"/><path d="m15.728,30.953v-8.877c0-1.459.274-2.035,1.452-2.035h3.097c3.547,0,5.29,2.107,5.29,6.482,0,2.413-.677,4.231-1.887,5.312-1.129,1.009-2.387,1.152-4.048,1.152h-2.452c-1.177,0-1.452-.576-1.452-2.034Zm2.339-.307h1.919c2.208,0,3.144-1.206,3.144-4.123,0-2.881-.887-4.213-2.854-4.213h-2.209v8.336Z"/><path d="m28.145,33.15c-.758,0-1.178-.486-1.178-1.423v-9.65c0-1.459.274-2.035,1.452-2.035h5.516c.854,0,1.29.396,1.29,1.135,0,.721-.436,1.116-1.29,1.116h-4.613v2.935h3.903c.855,0,1.29.396,1.29,1.135,0,.721-.435,1.116-1.29,1.116h-3.903v4.249c0,.955-.387,1.423-1.177,1.423Z"/></g></svg>'); }
/* === File list table === */
.glist-pcs-gdrive { max-width: 100%; width: 100%; margin: 5px 0; padding: 0; overflow-y: auto; border-bottom: 1px solid #ccc; }
.glist-pcs-gdrive tr { padding: 0; margin: 0; max-width: 100%; width: 100%; }
.glist-pcs-gdrive tr td { text-align: left; border-top: 1px solid #ccc; padding: 5px 9px; margin: 0; line-height: 1.2em; vertical-align: middle; }
.glist-pcs-gdrive tr td.two { text-align: right; color: #999; min-width: 185px; width: 185px; }
.glist-pcs-gdrive tr td a { display: inline-block; padding: 2px 6px; word-break: break-all; position: relative; top: 2px; }
.glist-pcs-gdrive tr td span { display: inline-block; color: #999; min-width: 80px; width: 80px; text-align: center; }

/* === Buttons (action chips, nav, breadcrumb) === */
.pcsGdriveButtons { position: relative; bottom: 2px; font-size: 0.8em; padding: 0.3em 0.7em; margin: 1px; white-space: nowrap; width: fit-content; color: #fff; background-color: #000; border: 1px solid #000; border-radius: 11px; box-shadow: 1px 1px 4px -1px #000; }
.pcsGdriveButtons:hover { background-color: #fff; color: #000; transition: background-color 0.5s; }
.pcsGdriveButtons > .file-size { width: auto; min-width: auto; font-size: 0.8em; color: #aaa; }

/* === File-type icon spans (inline next to filename) === */
.pcsDicons { display: inline-block; width: 18px; height: 18px; min-width: 18px; min-height: 18px; background-size: 18px 18px; background-repeat: no-repeat; vertical-align: middle; flex-shrink: 0; }
.file-link { display: inline-flex; align-items: center; gap: 6px; }

/* === Single-file view popup tooltip === */
.view-popup { display: none; position: fixed; padding: 0.04em 1em; background-color: #000; color: #fff; font-size: 0.8em; border-radius: 10px; white-space: nowrap; z-index: 1000; box-shadow: 1px 4px 7px -3px #000; pointer-events: none; }

/* === Nav-top + breadcrumb === */
.pcs-gdrive-nav-top { margin-bottom: 10px; }
.pcs-gdrive-nav-top .pcsGdriveButtons { padding-right: 10px; margin-top: 4px !important; }
.pcs-gdrive-buttons { display: inline-block; vertical-align: middle; }
.pcs-gdrive-buttons button.pcsGdriveButtons.pcs-gdrive-breadcrumb-item { display: inline-block; margin: 0 8px 0 0; border-radius: 0 11px 11px 0; }
.pcs-gdrive-buttons button.pcsGdriveButtons.pcs-gdrive-breadcrumb-item:first-child { border-radius: 11px; }
.pcs-gdrive-buttons button.pcsGdriveButtons.pcs-gdrive-breadcrumb-item.pcs-gdrive-breadcrumb-current { cursor: default; opacity: 0.87; color: #aaa; }
.pcs-gdrive-buttons button.pcsGdriveButtons.pcs-gdrive-breadcrumb-item.pcs-gdrive-breadcrumb-current:hover { background-color: #000; color: #aaa; }

/* === Notice + error messages === */
.pcs-gdrive-notice { display: inline-block; margin-left: 10px; padding: 4px 10px; background-color: #fff3cd; color: #664d03; border: 1px solid #ffe69c; border-radius: 3px; font-size: 0.85em; line-height: 1.3; vertical-align: middle; }
.pcs-gdrive-error { color: #d8000c; background-color: #ffebe8; padding: 10px; border: 1px solid #d8000c; border-radius: 4px; text-align: center; font-weight: bold; }

/* === Wrapper (isolates shortcode output) === */
.pcs-gdrive-wrapper { display: block; width: 100%; }

/* === Gallery mode: folder tiles (Masonry, see pcs-gdrive.js) === */
.pcs-gdrive-wrapper .pcs-gdrive-folders { display: flex; flex-wrap: wrap; justify-content: center; gap: 17px; margin: 0 auto 20px auto; padding: 0; }
.pcs-gdrive-wrapper .pcs-gdrive-folder-tile { width: 175px; }
.pcs-gdrive-wrapper .pcs-gdrive-folder-tile a { display: block; text-decoration: none; color: inherit; }
.pcs-gdrive-wrapper .pcs-gdrive-folder-tile a:hover { opacity: 0.7; }
.pcs-gdrive-cover { width: 100%; aspect-ratio: 1 / 1; position: relative; }
.pcs-gdrive-folder-icon { display: block; width: 100%; height: 100%; filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5)); }
.pcs-gdrive-folder-bg { fill: var(--pcs-gdrive-folder-bg-fill, #777); }
.pcs-gdrive-folder-fg { fill: var(--pcs-gdrive-folder-fg-fill, #fff); }
.pcs-gdrive-folder-border { stroke: var(--pcs-gdrive-folder-border-color, #000); stroke-width: var(--pcs-gdrive-folder-border-width, 2); }
.pcs-gdrive-folder-cover-image { opacity: 0; transition: opacity 0.3s; }
.pcs-gdrive-folder-cover-image.loaded { opacity: 1; }
.pcs-gdrive-folder-name { margin-top: 8px; font-size: 0.9em; line-height: 1.3; word-break: break-word; text-align: center; }

/* === Gallery mode: image tiles (Masonry; gap synced from CSS at runtime) === */
.pcs-gdrive-wrapper .pcs-gdrive-gallery { margin: 10px 0; padding: 0; gap: 17px; }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-1 .gallery-item { width: 100%; }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-2 .gallery-item { width: calc(50% - var(--pcs-gdrive-image-gap, 10px) / 2); }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-3 .gallery-item { width: calc(33.333% - var(--pcs-gdrive-image-gap, 10px) * 2 / 3); }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-4 .gallery-item { width: calc(25% - var(--pcs-gdrive-image-gap, 10px) * 3 / 4); }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-5 .gallery-item { width: calc(20% - var(--pcs-gdrive-image-gap, 10px) * 4 / 5); }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-6 .gallery-item { width: calc(16.666% - var(--pcs-gdrive-image-gap, 10px) * 5 / 6); }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-7 .gallery-item { width: calc(14.285% - var(--pcs-gdrive-image-gap, 10px) * 6 / 7); }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-8 .gallery-item { width: calc(12.5% - var(--pcs-gdrive-image-gap, 10px) * 7 / 8); }
.pcs-gdrive-wrapper .pcs-gdrive-gallery .gallery-item { margin: 0 0 var(--pcs-gdrive-image-gap, 10px) 0; padding: 0; list-style: none; }
.pcs-gdrive-wrapper .pcs-gdrive-gallery .gallery-icon { position: relative; }
.pcs-gdrive-wrapper .pcs-gdrive-gallery .gallery-icon a { display: block; }
.pcs-gdrive-wrapper .pcs-gdrive-gallery .gallery-icon a img { display: block; width: 100%; max-width: 100%; height: auto; box-sizing: border-box; border-radius: 7px; border: 1px solid #000 !important; box-shadow: 1px 1px 5px rgba(0,0,0,0.8); background-color: #000; }
.pcs-gdrive-wrapper .pcs-gdrive-gallery .gallery-icon a img:hover { opacity: 0.7; }
.pcs-gdrive-wrapper .pcs-gdrive-gallery .gallery-caption { margin: 0; padding: 5px 2px 0; line-height: 1.3; word-break: break-word; font-size: 1.0em; color: #333; text-align: center; }
.pcs-gdrive-wrapper .pcs-gdrive-folder-name, .pcs-gdrive-wrapper .pcs-gdrive-gallery .gallery-caption { text-wrap: balance; }

/* === Gallery mode: centered single row (fewer images than active columns) === */
.pcs-gdrive-wrapper .pcs-gdrive-gallery.is-centered-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; column-gap: var(--pcs-gdrive-image-gap, 10px); row-gap: var(--pcs-gdrive-image-gap, 10px); }
.pcs-gdrive-wrapper .pcs-gdrive-gallery.is-centered-row .gallery-item { margin-bottom: 0; }

/* === Responsive: image gallery col reduction === */
@media only screen and (max-width: 1199px) {
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-5 .gallery-item, .pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-6 .gallery-item, .pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-7 .gallery-item, .pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-8 .gallery-item { width: calc(25% - var(--pcs-gdrive-image-gap, 10px) * 3 / 4); }
}
@media only screen and (max-width: 899px) {
.pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-3 .gallery-item, .pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-4 .gallery-item, .pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-5 .gallery-item, .pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-6 .gallery-item, .pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-7 .gallery-item, .pcs-gdrive-wrapper .pcs-gdrive-gallery.cols-8 .gallery-item { width: calc(50% - var(--pcs-gdrive-image-gap, 10px) / 2); }
}
@media only screen and (max-width: 599px) {
.pcs-gdrive-wrapper .pcs-gdrive-gallery .gallery-item { width: 100%; }
}

/* === Responsive: folder tile sizing === */
@media screen and (min-width: 630px) and (max-width: 960px) {
.pcs-gdrive-wrapper .pcs-gdrive-folder-tile { width: 194px; }
.pcs-gdrive-wrapper .pcs-gdrive-folders { gap: 12px; }
}
@media screen and (min-width: 460px) and (max-width: 629px) {
.pcs-gdrive-wrapper .pcs-gdrive-folder-tile { width: 210px; }
.pcs-gdrive-wrapper .pcs-gdrive-folders { gap: 14px; }
}
@media screen and (max-width: 459px) {
.pcs-gdrive-wrapper .pcs-gdrive-gallery { gap: 12px; }
.pcs-gdrive-wrapper .pcs-gdrive-folder-tile { width: 143px; }
.pcs-gdrive-wrapper .pcs-gdrive-folders { gap: 12px; }
}

/* === Mobile file-list adjustments === */
@media only screen and (max-width: 480px) {
.glist-pcs-gdrive tr td a { display: block; font-size: 1.2em; margin: 0 auto; text-wrap: balance; }
.glist-pcs-gdrive tr td { display: block; text-align: center; }
.glist-pcs-gdrive tr td.two { display: block; border-top: none; padding: 0 0 9px 0; text-align: center; width: 99%; min-width: unset; }
.pcs-gdrive-buttons { text-align: center; }
.pcsDicons { display: none; }
}
