/* Shared store-name and cashback alignment, 2026-11-24. */
.rn .rn-rank .r{min-height:80px}
.rn .rn-rank .r .nm{white-space:normal;line-height:1.4;overflow-wrap:anywhere}
.rn .rn-rank .r .nm small{display:block;margin:3px 0 0;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rn .nrow>span:nth-child(2){flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;line-height:1.4}
.rn .nrow>span:nth-child(2) b{flex:initial;line-height:1.4}
.rn .nrow>span:nth-child(2) small{line-height:1.4;max-width:100%}
.rn .offer-rate{display:flex;flex-direction:column;gap:4px;align-items:flex-end;line-height:1.15;font-variant-numeric:tabular-nums}
.rn .offer-value{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:4px;white-space:nowrap;font-size:inherit;font-weight:inherit;line-height:1.15}
.rn .offer-prefix{font-size:11px;font-weight:600;line-height:1.3;letter-spacing:0;color:var(--fg2)}
.rn .offer-note{display:block;min-height:17px;max-width:126px;font-size:12px;font-weight:500;line-height:1.4;letter-spacing:0;color:var(--fg2);text-align:right;white-space:normal;word-break:keep-all}
.rn .rn-pop .offer-note{min-height:14px;max-width:90px;font-size:10px}
.rn .rn-pop .offer-prefix{font-size:10px}
.rn .rn-grid[id^="rn-g-"] .sc .nm{line-height:1.4}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .nm{white-space:normal;overflow-wrap:anywhere}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .nm small{line-height:1.4;margin-top:3px}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(n+4){grid-template-columns:28px 60px minmax(0,1fr) auto;column-gap:10px;min-height:60px;padding:8px 12px}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(n+4) .rt{font-size:18px}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(n+4) .offer-note{max-width:85px;font-size:11px}
.rn .bc .bd{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:92px}
.rn .bc .nm b{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.rn .bc .nm small{line-height:1.4;margin-top:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rn .bc .rt{font-size:24px}
@media(max-width:991px){
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .lc{width:100%;min-height:52px}
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;align-items:start;gap:8px}
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .nm{white-space:normal;min-height:36px;line-height:1.4}
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .rt{justify-self:start;margin-top:auto;min-width:0}
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .offer-rate{align-items:flex-start}
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .offer-note{text-align:left;max-width:100%;font-size:11px;min-height:31px}
}
@media(max-width:760px){
 .rn .rn-rank .r .nm small,.rn .nrow>span:nth-child(2) small{display:none}
 .rn .bc .bd{grid-template-columns:minmax(0,1fr);align-content:start;gap:9px;min-height:124px}
 .rn .bc .nm{min-height:44px}
 .rn .bc .rt{justify-self:start;font-size:22px}
 .rn .bc .offer-rate{align-items:flex-start}
 .rn .bc .offer-note{text-align:left;max-width:100%}
}

/* Alphabetical directories: shared card geometry, typography and complete logos. */
.store-directory{padding:32px 0 56px;font-family:Pretendard,sans-serif;color:#111827;line-height:1.6}
.store-directory .category-box{margin-left:0;margin-right:0;width:100%;max-width:100%}
.store-directory .shop-result-box .tit{font-size:26px;line-height:1.4;font-weight:750;margin-bottom:24px}
.store-directory .shop-result-box ul.list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.store-directory .shop-result-box ul.list li.list-item{width:auto;min-width:0;margin:0;padding:0;float:none}
.store-directory .list-box{display:flex;flex-direction:column;height:100%;padding:16px;border:1px solid #e7e9ee;border-radius:16px;background:#fff;text-decoration:none;color:inherit;transition:box-shadow .15s}
.store-directory .list-box:hover{box-shadow:0 5px 18px #11182712}
.store-directory .shop-result-box .list-image{background:none;display:grid;place-items:center;position:relative;width:100%;height:88px;min-height:88px;overflow:hidden;margin:0 0 14px}
.store-directory .shop-result-box .list-image img{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:88px;object-fit:contain;object-position:center;transform:none;margin:0;padding:8px}
.store-directory .directory-placeholder{display:grid;place-items:center;width:100%;height:100%;border-radius:10px;background:#f6f7f9;font-size:24px;font-weight:750;color:#6b7280}
.store-directory .shop-result-box .list-content{display:flex;flex-direction:column;align-items:flex-start;flex:1;gap:4px;text-align:left;min-width:0;padding:0}
.store-directory .list-content strong{font-size:16px;font-weight:700;line-height:1.45;word-break:keep-all;overflow-wrap:anywhere}
.store-directory .directory-en{display:block;font-size:12px;line-height:1.4;color:#6b7280;overflow-wrap:anywhere}
.store-directory .list-content .directory-rate{display:block;margin-top:auto;padding-top:12px;font-size:22px;font-weight:800;line-height:1.3;color:#c2410c}
.store-directory .list-content .directory-rate.unavailable{font-size:12px;font-weight:500;color:#6b7280}
.store-directory .directory-empty{grid-column:1/-1;padding:32px;text-align:center;color:#6b7280}
.store-directory .btn-more-wrap{margin-top:24px;text-align:center}
.store-directory .btn-more-wrap button{display:inline-flex;align-items:center;justify-content:center;min-width:220px;min-height:46px;padding:12px 24px;border:1px solid #e7e9ee;border-radius:999px;background:white;font-family:inherit;font-size:15px;font-weight:650;line-height:1.4;color:#111827;cursor:pointer}
.store-directory .btn-more-wrap button:disabled{opacity:.55;cursor:wait}
.vpn-layout .vpn-guide h1{word-break:keep-all;overflow-wrap:normal}
@media(max-width:991px){.store-directory .shop-result-box ul.list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
 .store-directory{padding-top:24px}
 .store-directory .shop-result-box ul.list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .store-directory .list-box{padding:12px}
 .store-directory .shop-result-box .list-image{height:64px;min-height:64px;margin-bottom:12px}
 .store-directory .shop-result-box .list-image img{max-height:64px;padding:4px}
 .store-directory .list-content strong{font-size:14px}
 .store-directory .list-content .directory-rate{font-size:20px}
 .vpn-guide .vp-service-card{display:grid;grid-template-columns:minmax(0,1fr)}
 .vpn-guide .vp-service-head{display:contents}
 .vpn-guide .vp-service-brand{grid-row:1}
 .vpn-guide .vp-service-card>p{grid-row:2}
 .vpn-guide .vp-service-card>p.vp-service-condition{grid-row:3}
 .vpn-guide a.vp-service-go{grid-row:4;justify-content:center;margin-top:14px;min-height:42px;padding:10px 14px}
}

/* Override legacy directory selectors without changing other store layouts. */
.store-directory #lists>.list-item{border:0;border-radius:0;background:transparent;box-shadow:none}
.store-directory #lists .list-box{display:flex;flex-direction:column;padding:16px}
.store-directory #lists .list-content{margin:0;text-align:left}
.store-directory #lists .list-content strong{text-align:left;font-size:16px;line-height:1.45}
.store-directory #lists .directory-rate{text-align:left;color:#c2410c;font-size:22px;font-weight:800;line-height:1.3;margin-top:auto;padding-top:12px}
.store-directory #lists .directory-rate.unavailable{font-size:12px;font-weight:500;color:#6b7280}
@media(max-width:640px){
 .store-directory #lists .list-box{padding:12px}
 .store-directory #lists .list-content strong{font-size:14px}
 .store-directory #lists .directory-rate{font-size:20px}
 .store-directory #lists .directory-rate.unavailable{font-size:12px}
}

/* BEST: primary names and rates share a row; absent notes consume no space. */
.rn .offer-note:empty{display:none}
.rn .offer-note{min-height:0}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3){grid-template-rows:auto 64px;align-content:space-between;align-items:start}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .nm{align-self:start;margin:0;padding-top:6px}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .rt{align-self:start;margin:0}
.rn .rn-grid[id^="rn-g-"] .sc:nth-child(n+4) .rt{align-self:center}
@media(max-width:991px){
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3){grid-template-rows:auto 36px auto;align-content:start;gap:8px}
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .nm{min-height:0;padding:0;align-self:start;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .rt{align-self:start;justify-self:start;margin:0}
 .rn .rn-grid[id^="rn-g-"] .sc:nth-child(-n+3) .offer-note{min-height:0;max-width:100%}
}
