/* R34 directory, report and profile component surfaces; scoped to the R34 theme. */
body.htc5-r34 .r40-paper{min-width:0;background:rgba(255,250,237,.91);border:1px solid #d6c39c;border-radius:12px;padding:15px;margin:0 0 12px}
body.htc5-r34 .r40-paper h3{font:700 19px/1.3 'Baloo 2','Nunito Sans',sans-serif;color:#67431e;margin:0 0 12px}
body.htc5-r34 .r40-quickfilter{display:grid;gap:6px}
body.htc5-r34 .r40-quickfilter button,body.htc5-r34 .r40-segment button{font:650 13px/1.4 'Nunito Sans',sans-serif;border:1px solid #d6c39c;background:#f8efd9;color:#67431e;border-radius:7px;min-height:35px;padding:7px 10px;text-align:left;cursor:pointer}
body.htc5-r34 .r40-quickfilter button[aria-pressed=true],body.htc5-r34 .r40-segment button[aria-pressed=true]{color:#fff8e8;background:#795321;border-color:#795321}
body.htc5-r34 .r40-directory-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:12px 0}
body.htc5-r34 .r40-directory-heading h3{font:700 24px/1.3 Charm,Georgia,serif;color:#67431e;margin:0}
body.htc5-r34 .r40-segment{display:flex;gap:5px;flex-wrap:wrap}
body.htc5-r34 .r40-birthdays{padding:0;margin:0;list-style:none}
body.htc5-r34 .r40-birthdays li{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #e1d4b6}
body.htc5-r34 .r40-birthdays li>span{color:#845c28;background:#f1e3c4;border-radius:7px;padding:6px;flex:none}
body.htc5-r34 .r40-birthdays a{min-width:0;overflow-wrap:anywhere;color:#67431e}
body.htc5-r34 .r40-empty p,body.htc5-r34 .r40-paper small{font-size:12px;color:#70604a}
body.htc5-r34 .gpc5-directory-grid.r40-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-card{display:grid!important;grid-template-columns:88px minmax(0,1fr) minmax(95px,.7fr);align-items:center;gap:7px 14px;min-width:0;text-align:left!important;padding:12px!important}
body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-card-head{grid-column:1;grid-row:1/5;min-width:0;margin:0!important}
body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-card-head img,body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-member-placeholder{width:64px!important;height:64px!important;min-height:0!important}
body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-name,body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-alias,body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-years,body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-meta{grid-column:2;max-width:100%;margin:0!important;min-width:0;overflow-wrap:anywhere}
body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-link{grid-column:3;grid-row:1/5;justify-self:end;text-align:right;margin:0!important}
body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-card[hidden]{display:none!important}
body.htc5-r34 .gpc5-stats-verify{background:rgba(255,250,237,.91);border:1px solid #d6c39c;border-radius:13px;padding:18px;margin:18px 0;overflow:auto;max-width:100%;scroll-margin-top:100px}
body.htc5-r34 .gpc5-stats-verify h2{font:700 29px/1.3 Charm,Georgia,serif!important;color:#67431e}
body.htc5-r34 .gpc5-stats-verify table{border-collapse:collapse;width:100%;min-width:540px}
body.htc5-r34 .gpc5-stats-verify th,body.htc5-r34 .gpc5-stats-verify td{border-bottom:1px solid #dfd0ae;padding:10px;text-align:left;color:#594b37}
body.htc5-r34 .gpc5-stats-verify thead{background:#e9d9b6}
body.htc5-r34 .gpc5-stats-verify select,body.htc5-r34 .gpc5-stats-verify button{font:inherit;padding:7px 10px;border:1px solid #c9b17d;border-radius:7px;color:#67431e;background:#f9efd8}
@media(max-width:760px){body.htc5-r34 .r40-paper{padding:12px}body.htc5-r34 .r40-quickfilter{grid-template-columns:repeat(2,minmax(0,1fr))}body.htc5-r34 .r40-directory-heading{flex-wrap:wrap}body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-card{grid-template-columns:64px minmax(0,1fr);gap:6px 9px}body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-card-head{grid-row:1/6}body.htc5-r34 .gpc5-directory-grid.r40-list .gpc5-directory-link{grid-column:2;grid-row:auto;justify-self:start;text-align:left}body.htc5-r34 .gpc5-stats-verify{padding:12px}}
/* The R37 renderer replaced .r36-shrines but the old layout selector was never updated. */
body.htc5-r34 .gpc5-content.r37-shrines .r36-shrine-feature{display:grid!important;grid-template-columns:minmax(0,40%) minmax(0,1fr)!important;align-items:center;gap:22px!important;padding:16px!important;border:1px solid #d6c39c!important;background:rgba(255,250,237,.91)!important;border-radius:11px!important}
body.htc5-r34 .r37-shrines .r36-shrine-art{min-width:0;max-width:none!important;width:100%!important;align-self:center;overflow:hidden;border-radius:9px}
body.htc5-r34 .r37-shrines .r36-shrine-art img{display:block;width:100%!important;height:auto!important;max-height:330px!important;object-fit:contain!important}
body.htc5-r34 .r37-shrines .gpc5-shrine-body{min-width:0;padding:0!important;width:auto!important}
body.htc5-r34 .r37-shrines .r36-shrine-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0;border:1px solid #d6c39c;border-radius:9px;padding:10px 0!important;background:#f7ecd6!important}
body.htc5-r34 .r37-shrines .r36-shrine-facts>div{min-width:0;display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:6px;padding:5px 9px;border-right:1px solid #d6c39c;overflow-wrap:anywhere}
body.htc5-r34 .r37-shrines .r36-shrine-facts>div:last-child{border-right:0}
body.htc5-r34 .r37-shrines .r36-shrine-facts strong{display:block;line-height:1.35;margin-top:4px;font-size:13px}
body.htc5-r34 .r37-shrines .r36-shrine-facts svg{width:20px;height:20px;flex:none}
/* R34 .r02-stat-tile: vertical icon / number / label hierarchy. */
body.htc5-r34 .gpc5-r38-stats-grid>article{display:grid!important;align-content:start;gap:8px;padding:17px!important;min-width:0}
body.htc5-r34 .gpc5-r38-stats-grid>article .gpc5-r38-plate{width:45px;height:45px;border-radius:9px}
body.htc5-r34 .gpc5-r38-stats-grid>article>div{min-width:0}
body.htc5-r34 .gpc5-r38-stats-grid>article strong{margin-bottom:4px}
body.htc5-r34 .gpc5-stats-verify-table{max-width:100%;overflow-x:auto}
@media(max-width:1050px){body.htc5-r34 .r37-shrines .r36-shrine-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.htc5-r34 .r37-shrines .r36-shrine-facts>div:nth-child(2n){border-right:0}}
@media(max-width:760px){body.htc5-r34 .gpc5-content.r37-shrines .r36-shrine-feature{grid-template-columns:minmax(0,1fr)!important;padding:12px!important;gap:12px!important}body.htc5-r34 .r37-shrines .r36-shrine-art img{max-height:230px!important}body.htc5-r34 .r37-shrines .r36-shrine-facts>div{padding:5px 7px}body.htc5-r34 .gpc5-r38-stats-grid>article{padding:11px!important}}
