/* R34 port on the matching Theme only. Existing live shortcode markup and semantics remain. */
body.htc5-r34 :is(.gpc5-tree,.gpc5-content,.gpc5-community,.gpc5-memorial,.gpc5-graves,.gpc5-inbox,.gpc5-profile-overlay,.gpc5-kinship-overlay,.gpc5-my-requests,.gpc5-stats-public,.g5o-origin-shell,.g5h-reference-layout,.gpc5-giving,.gpc5-chat-dock,.gpc5-member-chat,.gpc5-life-timeline){--gpc5-ink:#594b37;--gpc5-muted:#70604a;--gpc5-accent:#765020;--gpc5-accent-hover:#5c3b16;--gpc5-gold:#845c28;--gpc5-paper:rgba(255,250,237,.91);--gpc5-card:#fffdf3bb;--gpc5-line:#c9b17d;--gpc5-soft:#f3e5c5;--gpc5-shadow:0 4px 18px #49351d14;color:#594b37;font-family:'Nunito Sans','Segoe UI',Arial,sans-serif!important;box-sizing:border-box}
body.htc5-r34 :is(.gpc5-content,.gpc5-community,.gpc5-graves,.gpc5-inbox,.gpc5-stats-public,.gpc5-my-requests,.gpc5-locked,.gpc5-content-locked,.gpc5-tree,.g5h-reference-layout,.gpc5-announcements){background:rgba(255,250,237,.91)!important;border:1px solid #c9b17d!important;border-radius:10px!important;box-shadow:0 4px 18px #49351d14!important;min-width:0;max-width:100%}
body.htc5-r34 :is(.gpc5-content,.gpc5-community,.gpc5-graves,.gpc5-inbox,.gpc5-stats-public,.gpc5-announcements){padding:clamp(12px,2vw,23px)!important}
body.htc5-r34 .gpc5-tree{padding:clamp(9px,1.1vw,17px)!important}
body.htc5-r34 :is(.gpc5-content,.gpc5-community,.gpc5-graves,.gpc5-inbox,.gpc5-stats-public,.gpc5-announcements,.gpc5-tree,.g5o-origin-shell,.g5h-reference-layout,.gpc5-profile-overlay) :is(h1,h2){font-family:Charm,Georgia,serif!important;font-weight:700;color:#67431e!important;letter-spacing:0!important}
body.htc5-r34 :is(.gpc5-content,.gpc5-community,.gpc5-graves,.gpc5-inbox,.gpc5-announcements,.gpc5-profile-overlay) h3{font-family:'Baloo 2','Nunito Sans',sans-serif;color:#67431e}
body.htc5-r34 :is(.gpc5-kicker,.gpc5-giving-kicker,.g5o-hero-eyebrow){color:#845c28!important}
body.htc5-r34 :is(.gpc5-directory-card,.gpc5-shrine-card,.gpc5-news-card,.gpc5-community-event-card,.gpc5-grave-card,.gpc5-request-item,.gpc5-announcement-card,.gpc5-stats-card,.gpc5-stats-panel){background:rgba(255,253,243,.73)!important;border:1px solid #d6c39c!important;border-radius:10px!important;box-shadow:none!important;min-width:0}
body.htc5-r34 :is(.gpc5-directory-card,.gpc5-shrine-card,.gpc5-news-card,.gpc5-grave-card) img{max-width:100%;height:auto}
body.htc5-r34 :is(.gpc5-shrine-body,.gpc5-news-body){color:#594b37;min-width:0;overflow-wrap:anywhere}
body.htc5-r34 :is(.gpc5-directory-search,.gpc5-list-search-label,.gpc5-root-search,.gpc5-news-search-label,.gpc5-mem-search,.gpc5-tree .gpc5-search){background:#fffbf2!important;border-color:#c9b17d!important;color:#594b37!important}
body.htc5-r34 :is(.gpc5-directory-search,.gpc5-list-search-label,.gpc5-news-search-label,.gpc5-mem-search) input{background:transparent!important;border:0!important;box-shadow:none!important;min-width:0}
body.htc5-r34 :is(.gpc5-tree,.gpc5-content,.gpc5-community,.gpc5-graves,.gpc5-inbox,.gpc5-profile-overlay,.g5o-origin-shell,.g5h-reference-layout,.gpc5-giving,.gpc5-stats-public,.gpc5-member-chat) :is(button,input,select,textarea){font-family:'Nunito Sans','Segoe UI',Arial,sans-serif!important}
body.htc5-r34 :is(.gpc5-tree,.gpc5-content,.gpc5-community,.gpc5-graves,.gpc5-inbox,.gpc5-profile-overlay,.g5o-origin-shell,.g5h-reference-layout,.gpc5-giving,.gpc5-member-chat) :is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]):not([type=submit]):not([type=button]),select,textarea){background-color:#fffbf2;border-color:#c9b17d;color:#594b37}
body.htc5-r34 :is(.gpc5-tree .gpc5-toolbar,.gpc5-tree .gpc5-list-controls,.gpc5-tree .gpc5-view-tabs,.gpc5-content .gpc5-news-controls,.gpc5-community .gpc5-community-tabs){background:#f7ecd6!important;border-color:#d6c39c!important;color:#594b37}
body.htc5-r34 .gpc5-tree:not(:fullscreen) .gpc5-canvas{background:rgba(255,250,237,.43)!important;border-color:#c9b17d!important}
body.htc5-r34 .gpc5-tree .gpc5-generation-family{background:rgba(255,253,243,.58)!important;border-color:#d6c39c!important}
body.htc5-r34 .gpc5-tree .gpc5-generation-pill{border-radius:var(--r34-radius,5px)!important}
body.htc5-r34 :is(.gpc5-tree .gpc5-view-tab.is-active,.gpc5-news-tabs button.is-active,.gpc5-community-tabs a.is-active,.gpc5-directory-primary,.gpc5-news-create,.g5o-hero-primary,.g5o-button.g5o-primary,.gpc5-action){background:#765020!important;color:#fff9ea!important;border-color:#765020!important;box-shadow:none!important}
body.htc5-r34 :is(.gpc5-tree .gpc5-view-tab.is-active,.gpc5-news-tabs button.is-active,.gpc5-community-tabs a.is-active,.gpc5-directory-primary,.gpc5-news-create,.g5o-hero-primary,.g5o-button.g5o-primary,.gpc5-action) svg{color:inherit!important}
body.htc5-r34 :is(.gpc5-tree .gpc5-view-tab:not(.is-active),.gpc5-news-tabs button:not(.is-active),.gpc5-directory-secondary,.g5o-hero-secondary,.g5o-button:not(.g5o-primary),.g5o-reader-tool,.gpc5-edit-link,.gpc5-inbox-reply,.gpc5-inbox-pagination a){background:#f7ecd6!important;color:#67431e!important;border-color:#c9b17d!important;box-shadow:none!important}
body.htc5-r34 .gpc5-tree :is(.gpc5-list-avatar,.gpc5-root-current-avatar,.gpc5-root-option-avatar,.gpc5-detail-avatar),body.htc5-r34 .gpc5-profile-overlay :is(.gpc5-profile-photo,.gpc5-avatar-live-preview),body.htc5-r34 :is(.gpc5-directory-card img,.gpc5-member-placeholder,.gpc5-ss-avatar,.gpc5-own-avatar-preview,.gpc5-create-avatar-preview,.gpc5-chat-contact-avatar,.gpc5-chat-current-avatar){border-radius:var(--r34-radius,10px)!important}
body.htc5-r34 :is(.gpc5-list-avatar,.gpc5-root-current-avatar,.gpc5-root-option-avatar,.gpc5-detail-avatar,.gpc5-profile-photo,.gpc5-ss-avatar,.gpc5-chat-contact-avatar,.gpc5-chat-current-avatar) img{border-radius:inherit!important}
/* Exact source SVG illustrations are only placeholders, never real photographs. */
body.htc5-r34 .gpc5-r34-placeholder{position:relative;margin:0;overflow:hidden;border:1px solid #d6c39c;border-radius:9px;background:#f7efdf;min-width:0;aspect-ratio:16/7}
body.htc5-r34 .gpc5-r34-placeholder img{width:100%;height:100%;display:block;object-fit:cover;border-radius:0!important}
body.htc5-r34 .gpc5-r34-placeholder figcaption{position:absolute;right:7px;bottom:7px;background:#fff9ed;color:#70604a;padding:3px 6px;border-radius:4px;font-size:10px}
body.htc5-r34 .gpc5-r34-shrine-illustration{background:transparent;overflow:hidden;min-height:0;height:auto}
body.htc5-r34 .gpc5-shrine-facts{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));align-items:stretch;gap:9px;padding:9px;background:#f7ecd6;border:1px solid #d6c39c;border-radius:9px;margin:12px 0;color:#594b37}
body.htc5-r34 .gpc5-shrine-facts p{display:flex;align-items:flex-start;gap:8px;min-width:0;margin:0!important;padding:6px 4px;overflow-wrap:anywhere}
body.htc5-r34 .gpc5-shrine-facts svg{flex:none;align-self:center}
body.htc5-r34 .gpc5-r34-news-media img{width:100%;height:auto;display:block;border-radius:9px}
body.htc5-r34 .gpc5-news-feed{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
body.htc5-r34 .gpc5-news-feed .gpc5-news-card{display:flex;flex-direction:column;padding:14px!important;gap:8px}
body.htc5-r34 .gpc5-news-feed .gpc5-news-card-footer{margin-top:auto}
body.htc5-r34 .gpc5-news-feed .gpc5-news-gallery{max-width:100%;min-width:0}
/* Cội nguồn: maintain live reader/chapters/maps and symmetric ribbon. */
body.htc5-r34 .g5o-origin-shell{--g5o-gold:#b78c3f;max-width:1320px!important;width:var(--r34-width,calc(100% - 32px))!important;margin-inline:auto;min-width:0;background:transparent!important}
body.htc5-r34 .g5o-origin-shell :is(.g5o-intro-band,.g5o-chapter-surface,.g5o-reader-bar,.g5o-stage,.g5o-journey-panel,.g5o-stage-caption-bar,.g5o-chapter-card){background:rgba(255,250,237,.91)!important;color:#594b37!important;border-color:#c9b17d!important;box-shadow:0 4px 18px #49351d14!important;border-radius:10px!important}
body.htc5-r34 .g5o-origin-shell .g5o-intro-band{padding:clamp(12px,2.4vw,28px)!important;border:1px solid #c9b17d!important;margin-bottom:12px!important}
body.htc5-r34 .g5o-origin-shell .g5o-wrap{max-width:100%!important;width:100%!important}
body.htc5-r34 .g5o-origin-shell .g5o-intro-copy h1{font:700 clamp(31px,4vw,53px)/1.16 Charm,Georgia,serif!important;color:#67431e!important}
body.htc5-r34 .g5o-origin-shell .g5o-intro-copy h1 em{color:#8d6e3f!important}
body.htc5-r34 .g5o-origin-shell .g5o-intro-band::after{content:none!important;display:none!important}
body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center!important;gap:12px!important;padding:26px 0!important;margin:10px auto 6px!important;border:0!important}
body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon::before,body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon::after{content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;height:16px!important;pointer-events:none!important;background-image:url("../ornamental-star.svg"),linear-gradient(#c8a45e,#c8a45e),linear-gradient(#c8a45e,#c8a45e)!important;background-repeat:no-repeat!important;background-position:center,left center,right center!important;background-size:16px 16px,calc(50% - 22px) 1px,calc(50% - 22px) 1px!important}
body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon::before{top:0!important;bottom:auto!important}
body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon::after{bottom:0!important;top:auto!important}
body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon>div{justify-content:center;min-width:0;flex-wrap:wrap}
body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon .g5o-down{justify-self:end;align-self:center!important;display:grid!important;place-items:center!important;flex:none!important;padding:0!important;margin:0!important;line-height:1!important;width:36px!important;height:36px!important;background:#f7ecd6!important;color:#67431e!important;border:1px solid #c9b17d!important;border-radius:var(--r34-radius,7.2px)!important}
body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon .g5o-down svg{display:block;flex:none}
/* Preserve map pins, chapter markers, progress and status colors; only explicit plates/actions are normalized. */
body.htc5-r34 .gpc5-stats-public{--st-border:#d6c39c;--st-text:#594b37;--st-muted:#70604a;--st-bar:#efe3c9}
body.htc5-r34 .gpc5-stats-report{font-family:'Nunito Sans','Segoe UI',Arial,sans-serif;color:#594b37}
body.htc5-r34 .gpc5-stats-card-icon{background:#f3e5c5!important;border:1px solid #d9bf88;color:#845c28!important;border-radius:var(--r34-radius,8.2px)!important}
body.htc5-r34 .gpc5-stats-card-value{color:#67431e}
body.htc5-r34 .gpc5-stats-card::after{content:none}
/* Donation: retain v1.3.21's 31-layer landscape and continuous bank artwork, use R34 palette and typography. */
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements){max-width:1320px!important;width:100%;margin-inline:auto;color:#594b37}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-card{background:rgba(255,250,237,.91)!important;border:1px solid #c9b17d!important;border-radius:10px!important;box-shadow:0 4px 18px #49351d14!important;padding:clamp(10px,2vw,25px)!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-hero{min-height:clamp(175px,24vw,330px);gap:10px;padding:clamp(16px,2.8cqw,30px)!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-hero-copy{width:55%;padding:0!important;border:0!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-card .gpc5-giving-hero-copy h3{font:700 clamp(28px,4.1cqw,47px)/1.2 Charm,Georgia,serif!important;color:#67431e!important;letter-spacing:0!important;margin:0!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-description{font:500 clamp(13px,1.35cqw,16px)/1.55 'Nunito Sans',Arial,sans-serif!important;color:#594b37!important}
body.htc5-r34 .gpc5-r34-title-mark{display:flex;align-items:center;gap:12px;width:132px;max-width:100%;height:14px;color:#b78c3f;margin:5px 0 10px}
body.htc5-r34 .gpc5-r34-title-mark::before,body.htc5-r34 .gpc5-r34-title-mark::after{content:"";flex:1;height:1px;background:#c8a45e}
body.htc5-r34 .gpc5-r34-title-mark svg{width:14px;height:14px;flex:none}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-stat:not(.gpc5-giving-stat-target){background:rgba(244,231,201,.32)!important;border-color:#d6c39c!important;box-shadow:none!important;border-radius:10px!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-stats>.gpc5-giving-stat{min-height:0;padding:clamp(12px,1.5cqw,20px)!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-stat-body strong{font-family:'Baloo 2','Nunito Sans',sans-serif!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary{font-family:Charm,Georgia,serif!important;font-weight:700;color:#67431e!important;background:#f2e4c4!important;border-color:#c9b17d!important;min-height:54px;padding:12px 16px!important;isolation:isolate}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary>svg:first-child{color:#845c28!important;width:24px!important;height:24px!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary::before{opacity:.78!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank-body{border-color:#c9b17d!important;background:rgba(255,250,237,.91)!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) :is(.gpc5-giving-tag,.gpc5-giving-deadline,.gpc5-giving-stat-icon){border-radius:var(--r34-radius,7px)!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-card :is(h4,.gpc5-giving-form-title){font-family:Charm,Georgia,serif!important}
/* Real-size radius custom property, assigned only by scoped runtime. Inline !important handles legacy specificity. */
body.htc5-r34 [data-r34-shape]{border-radius:var(--r34-radius,.55em)!important}
@media(max-width:1020px){body.htc5-r34 .gpc5-news-feed{grid-template-columns:repeat(2,minmax(0,1fr))}body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon{grid-template-columns:minmax(0,1fr) auto;padding:23px 8px!important;gap:9px!important}body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon>span{display:none!important}body.htc5-r34 .g5o-origin-shell .g5o-journey-ribbon>div{justify-content:flex-start;gap:7px}}
@media(max-width:760px){body.htc5-r34 .gpc5-news-feed{grid-template-columns:minmax(0,1fr)}body.htc5-r34 .g5o-origin-shell .g5o-intro-copy{padding:12px!important}body.htc5-r34 .g5o-origin-shell .g5o-intro-band .g5o-map-canvas-frame{height:clamp(160px,49vw,230px)!important}body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-hero{padding:12px 10px 95px!important;min-height:0!important;gap:5px!important}body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-hero-copy{width:100%!important}body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-card .gpc5-giving-hero-copy h3{font-size:clamp(25px,7vw,34px)!important}body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary::before{width:clamp(80px,30%,130px)!important;right:30px!important}body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary{font-size:clamp(19px,5vw,24px)!important;gap:8px}body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-stats{gap:7px;margin:10px 0}}

body.htc5-r34 :is(.gpc5-news-card,.gpc5-news-no-results,.gpc5-request-item,.gpc5-profile-overlay,.gpc5-directory-card)[hidden]{display:none!important}
/* R34 structural layout: real CPTs, real reader, actual filters. */
body.htc5-r34 .gpc5-content.r36-news,body.htc5-r34 .gpc5-content.r36-shrines{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
body.htc5-r34 .r36-news-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,26%);gap:16px;align-items:start}body.htc5-r34 .r36-news-main,body.htc5-r34 .r36-news-sidebar{min-width:0}body.htc5-r34 .r36-news-sidebar{display:grid;gap:14px}
body.htc5-r34 .r36-news-side-panel{background:rgba(255,250,237,.91);border:1px solid #c9b17d;border-radius:10px;padding:20px;box-shadow:0 4px 18px #49351d14}body.htc5-r34 .r36-news-side-panel h2{display:flex;align-items:center;gap:10px;font-size:clamp(23px,2.2vw,31px);margin:0 0 15px}body.htc5-r34 .r36-news-side-panel h2 svg{width:22px;height:22px;flex:none;color:#845c28}
body.htc5-r34 .r36-news-mini{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #d6c39c}body.htc5-r34 .r36-news-mini strong,body.htc5-r34 .r36-news-mini small{display:block;line-height:1.45;font-size:13px}body.htc5-r34 .r36-news-mini small{font-size:11px;color:#70604a;margin-top:5px}body.htc5-r34 .r36-news-mini .gpc5-r34-placeholder{aspect-ratio:3/2}body.htc5-r34 .r36-news-mini figcaption{display:none}
body.htc5-r34 .r36-news-feature-label{font:700 23px/1.35 Charm,Georgia,serif;color:#67431e;margin:0 0 9px}
body.htc5-r34 .gpc5-content.r36-news .gpc5-news-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px!important;margin:0 0 12px!important;background:rgba(255,250,237,.91)!important;border:1px solid #c9b17d!important;border-radius:10px!important;box-shadow:none!important}
body.htc5-r34 .r36-news .gpc5-news-tabs{width:100%;display:flex;gap:6px;flex-wrap:wrap}body.htc5-r34 .r36-news .gpc5-news-tabs button{background:#f7ecd6!important;color:#67431e!important;border-color:#c9b17d!important;min-height:36px!important;white-space:normal;flex:0 1 auto;font-size:12px}body.htc5-r34 .r36-news .gpc5-news-tabs button.is-active{background:#765020!important;color:#fffaf0!important}
body.htc5-r34 .r36-news .r36-news-year{display:grid;gap:4px;font-size:12px;flex:0 1 170px;min-width:0}body.htc5-r34 .r36-news .r36-news-year select{min-height:42px;padding:7px;background:#fffbf2;border:1px solid #c9b17d;color:#594b37;width:100%}body.htc5-r34 .r36-news .gpc5-news-search-label{flex:1 1 200px;min-width:0;max-width:none;width:auto}
body.htc5-r34 .r36-news .gpc5-news-feed{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0!important}
body.htc5-r34 .gpc5-content.r36-news article.r36-news-card{display:flex!important;flex-direction:column;min-width:0;overflow:hidden;gap:0!important;background:rgba(255,250,237,.91)!important;border:1px solid #c9b17d!important;border-radius:10px!important;padding:0!important;margin:0!important;box-shadow:0 4px 18px #49351d14!important}
body.htc5-r34 .gpc5-content.r36-news article.r36-news-card[hidden]{display:none!important}
body.htc5-r34 .gpc5-content.r36-news article.r36-news-feature{display:grid!important;grid-template-columns:minmax(0,48%) minmax(0,1fr);align-items:center;margin:0 0 16px!important}
body.htc5-r34 .r36-news .r36-news-feature .r36-news-copy h3{font:700 clamp(24px,2.8vw,34px)/1.25 Charm,Georgia,serif!important}
body.htc5-r34 .r36-news-copy{display:flex;flex-direction:column;gap:8px;padding:14px;min-width:0;flex:1}body.htc5-r34 .r36-news-copy p{margin:0!important;color:#594b37;font-size:13px;line-height:1.6;overflow-wrap:anywhere}body.htc5-r34 .gpc5-content.r36-news .r36-news-copy h3{font:700 18px/1.35 'Baloo 2','Nunito Sans',sans-serif!important;color:#67431e!important;margin:0!important;overflow-wrap:anywhere}
body.htc5-r34 .r36-news-media{padding:10px 10px 0;min-width:0}body.htc5-r34 .r36-news-feature .r36-news-media{padding:12px 0 12px 12px}body.htc5-r34 .r36-news .r36-news-cover{display:grid!important;grid-template-columns:minmax(0,1fr);gap:0;margin:0!important;padding:0!important;border-radius:8px;overflow:hidden;max-height:none!important}body.htc5-r34 .r36-news .r36-news-cover a{display:block;min-width:0}body.htc5-r34 .r36-news .r36-news-cover a:not(:first-child){display:none}body.htc5-r34 .r36-news .r36-news-cover img{width:100%;height:auto!important;aspect-ratio:16/9;object-fit:cover;border-radius:0!important}
body.htc5-r34 .r36-news-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#70604a;font-size:12px;margin-top:auto}body.htc5-r34 .r36-news-meta svg{width:15px;height:15px;color:#845c28;flex:none}
body.htc5-r34 .r36-news-detail{min-width:0;margin:6px 0 0}body.htc5-r34 .r36-news-detail summary{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;cursor:pointer;min-height:34px;border:1px solid #c9b17d;border-radius:6.8px;background:#f7ecd6;color:#67431e;font-weight:700;font-size:12px}body.htc5-r34 .r36-news-detail .gpc5-news-body{padding:10px 0!important;overflow-wrap:anywhere;margin:0!important;font-size:13px}
body.htc5-r34 .r36-news .gpc5-news-no-results{display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:23px;background:rgba(244,231,201,.32);border:1px solid #c9b17d;border-radius:9px;text-align:left}body.htc5-r34 .r36-news .gpc5-news-no-results svg{width:42px;height:42px;padding:9px;background:#f3e5c5;border:1px solid #d9bf88;border-radius:8.4px;color:#845c28;flex:none}
body.htc5-r34 .r36-news .gpc5-news-no-results[hidden]{display:none!important}
body.htc5-r34 .gpc5-content.r36-shrines .r36-shrine-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px}
body.htc5-r34 .gpc5-content.r36-shrines .r36-shrine-feature{display:grid!important;grid-template-columns:minmax(0,40%) minmax(0,1fr)!important;align-items:center;gap:20px;padding:16px!important;background:rgba(255,250,237,.91)!important;border:1px solid #c9b17d!important;border-radius:10px!important;box-shadow:0 4px 18px #49351d14!important;overflow:hidden}
body.htc5-r34 .r36-shrine-art{min-width:0}body.htc5-r34 .r36-shrine-art>img{width:100%;height:auto!important;border-radius:9px!important}body.htc5-r34 .r36-shrine-feature .gpc5-shrine-body{padding:0!important;min-width:0}body.htc5-r34 .r36-shrine-feature .gpc5-shrine-body h3{font:700 clamp(25px,3vw,36px)/1.25 Charm,Georgia,serif!important;color:#67431e!important;margin:5px 0 9px}
body.htc5-r34 .r36-shrine-address{display:flex;align-items:center;gap:6px;font-size:13px;color:#70604a}body.htc5-r34 .r36-shrine-address svg{width:18px;height:18px;color:#845c28;flex:none}
body.htc5-r34 .r36-shrine-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px!important;padding:11px!important}body.htc5-r34 .r36-shrine-facts>div{display:flex;gap:6px;align-items:flex-start;min-width:0;padding:3px 5px;border-right:1px solid #d6c39c}body.htc5-r34 .r36-shrine-facts>div:last-child{border-right:0}body.htc5-r34 .r36-shrine-facts>div svg{width:18px;height:18px;color:#845c28;flex:none}body.htc5-r34 .r36-shrine-facts span{font-size:11px;line-height:1.4;min-width:0;overflow-wrap:anywhere}body.htc5-r34 .r36-shrine-facts strong{display:block;margin-top:4px;font-size:12px;color:#67431e}
body.htc5-r34 .r36-shrine-actions{display:flex;flex-wrap:wrap;gap:8px}body.htc5-r34 .r36-shrine-map-detail{margin-top:10px}body.htc5-r34 .r36-shrine-map-detail summary{cursor:pointer;color:#67431e;font-weight:700;padding:8px 0}body.htc5-r34 .r36-shrine-map-detail iframe{width:100%;height:230px;border:0;border-radius:8px}
body.htc5-r34 .g5o-origin-shell .g5o-intro-copy>.gpc5-r34-title-mark{margin:7px 0 12px}
body.htc5-r34 .g5o-origin-shell .g5o-stage-chapter-tag{border-radius:var(--r34-radius,6px)!important}
body.htc5-r34 .g5o-origin-shell .g5o-contents-header{background:transparent!important}body.htc5-r34 .g5o-origin-shell .g5o-contents-search{margin-bottom:10px!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary::before,body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank[open]>summary::before{transform:none!important;aspect-ratio:auto!important;bottom:0!important;top:auto!important;right:34px!important;height:100%!important;width:clamp(100px,20%,220px)!important;background-size:100% auto!important;background-position:right bottom!important;opacity:.78!important;pointer-events:none!important}
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank[open]>summary{overflow:hidden!important}
@media(max-width:1050px){body.htc5-r34 .r36-news-layout{grid-template-columns:minmax(0,1fr)}body.htc5-r34 .r36-news-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}body.htc5-r34 .r36-shrine-facts{grid-template-columns:repeat(2,minmax(0,1fr))}body.htc5-r34 .r36-shrine-facts>div:nth-child(even){border-right:0}}
@media(max-width:760px){body.htc5-r34 .r36-news .gpc5-news-feed,body.htc5-r34 .r36-news-sidebar{grid-template-columns:minmax(0,1fr)}body.htc5-r34 .gpc5-content.r36-news article.r36-news-feature,body.htc5-r34 .gpc5-content.r36-shrines .r36-shrine-feature{grid-template-columns:minmax(0,1fr)!important;gap:10px}body.htc5-r34 .r36-news-feature .r36-news-media{padding:10px 10px 0}body.htc5-r34 .r36-news .gpc5-news-search-label{flex-basis:100%;width:100%}body.htc5-r34 .r36-news .r36-news-year{flex-basis:100%}body.htc5-r34 .r36-news-copy{padding:12px}body.htc5-r34 .r36-shrine-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary::before,body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank[open]>summary::before{width:clamp(85px,28%,120px)!important;right:29px!important}}

/* R34 arc band, not the tall transfer backdrop. Keep existing layered scene. */
body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary::before,body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank[open]>summary::before{background-image:url("bank-wave-header.png")!important;background-size:100% auto!important;background-position:right bottom!important;background-repeat:no-repeat!important;inset:auto 34px 0 auto!important;aspect-ratio:2048/479!important;width:clamp(100px,24%,310px)!important;height:auto!important;max-height:100%;transform:none!important;opacity:.78!important;mask-image:linear-gradient(90deg,transparent,#000 32%);pointer-events:none!important}
body.htc5-r34 .gpc5-content.r36-news .r36-news-feature .r36-news-copy h3{font:700 clamp(24px,2.8vw,34px)/1.25 Charm,Georgia,serif!important}
body.htc5-r34 .r36-news .gpc5-news-view-gallery{margin:7px 0 0;max-width:100%;font-size:12px}
body.htc5-r34 .r36-news-mini>div>img{width:100%;height:100%;object-fit:cover;border-radius:6px}
@media(max-width:760px){body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary::before,body.htc5-r34 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank[open]>summary::before{width:clamp(80px,28%,130px)!important;right:30px!important}}

body.htc5-r34 .r36-news :is(.gpc5-action,.gpc5-news-search-label,.gpc5-category-tag,.gpc5-news-view-gallery,.r36-news-year-select){border-radius:var(--r34-radius,7px)!important}
body.htc5-r34 .r36-news .gpc5-news-view-gallery{border:1px solid #c9b17d;background:#f7ecd6;padding:7px 10px;color:#67431e!important}
