/* Mother Tongue vocabulary layout. Desktop layout retained. */
@media(max-width:1100px){
 .mobile-mother .vocab-700-content{width:100%;margin-left:0;padding:16px;overflow-wrap:anywhere;}
 .mobile-mother .vocab-700-page-title,.mobile-mother .vocab-700-page-subtitle{width:100%;}
}
@media(max-width:800px){
 .mobile-mother .vocab-700-page-title{font-size:28px;line-height:1.4;padding:12px 0;}
 .mobile-mother .vocab-700-page-subtitle{font-size:24px;line-height:1.4;padding:8px 0 16px;}
 .mobile-mother .vocab-700-table-outer,.mobile-mother .vocab-700-table-outer>tbody,.mobile-mother .vocab-700-table-outer>tbody>tr{display:block;width:100%;}
 .mobile-mother .vocab-700-table-outer>tbody>tr>td{display:block;width:100%;padding:0 0 12px;}
 .mobile-mother .vocab-700-table{width:100%;table-layout:fixed;}
 .mobile-mother .vocab-700-table td{width:auto;padding:10px;}
 .mobile-mother .vocab-700-picture{max-width:100%;height:auto;max-height:130px;margin:0;object-fit:contain;}
 .mobile-mother [role=button]{display:block;min-height:44px;}
 .mobile-mother [role=button]:focus-visible{outline:3px solid #6f1a05;outline-offset:3px;}
 .mobile-mother .vocab-700-translation{margin-right:0;}
}

/* Keep every label in the text column beside its picture. */
@media(max-width:800px){
 .mobile-pilot.mobile-mother .lgallery-article{display:grid;grid-template-columns:72px minmax(0,1fr);gap:4px 12px;text-align:left;align-content:start;}
 .mobile-pilot.mobile-mother .lgallery-article>a{grid-column:1;grid-row:1 / 4;margin:0;align-self:start;}
 .mobile-pilot.mobile-mother .lgallery-article .lgallery-article-picture{display:block;float:none;width:72px;height:72px;object-fit:contain;margin:0;}
 .mobile-pilot.mobile-mother .lgallery-article-header,.mobile-pilot.mobile-mother .lgallery-article-subtitle,.mobile-pilot.mobile-mother .lgallery-article-content{grid-column:2;display:block;float:none;min-width:0;width:100%;margin:0;padding:0;text-align:left;text-indent:0;line-height:1.45;overflow-wrap:anywhere;}
 .mobile-pilot.mobile-mother .lgallery-article-header{grid-row:1;}
 .mobile-pilot.mobile-mother .lgallery-article-subtitle{grid-row:2;}
 .mobile-pilot.mobile-mother .lgallery-article-content{grid-row:3;}
 .mobile-pilot.mobile-mother .lgallery-article-content p{margin:0;text-align:left;text-indent:0;}
 .mobile-pilot.mobile-mother table.vocab-700-table{display:block;width:100%;padding:10px;}
 .mobile-pilot.mobile-mother table.vocab-700-table>tbody{display:block;width:100%;}
 .mobile-pilot.mobile-mother table.vocab-700-table>tbody>tr{display:grid;width:100%;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:start;}
 .mobile-pilot.mobile-mother table.vocab-700-table>tbody>tr>td{display:block;width:100%;min-width:0;padding:0;text-align:left;}
 .mobile-pilot.mobile-mother .vocab-700-picture{display:block;width:72px;height:72px;object-fit:contain;margin:0;}
 .mobile-pilot.mobile-mother .vocab-700-subtitle,.mobile-pilot.mobile-mother .vocab-700-translation{text-align:left;text-indent:0;line-height:1.45;margin:0;overflow-wrap:anywhere;}
}

/* Approved vocabulary speaker badges: visual cue only, with existing playback unchanged. */
.mobile-pilot.mobile-mother table.vocab-700-table[role="button"] > tbody > tr {
    align-items: stretch;
}
.mobile-pilot.mobile-mother table.vocab-700-table[role="button"] > tbody > tr > td:last-child {
    /* Reserve room below the translations so the badge never covers a word. */
    padding-bottom: 44px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2215%22%20fill%3D%22%23f8f3e8%22%20stroke%3D%22%23bb7907%22%20stroke-width%3D%221%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M7%2013h4l5-4v14l-5-4H7z%22%20fill%3D%22%236f1a05%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M19%2012c2%202%202%206%200%208M22%209c4%204%204%2010%200%2014%22%20fill%3D%22none%22%20stroke%3D%22%236f1a05%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A");
    background-repeat: no-repeat;
    background-position: right 6px bottom 6px;
    background-size: 32px 32px;
}
