/* 仅作用于高级搜索第二版，不改变站内其他页面。 */
.titles-v2-page .v2-titles{
  --v2-soft:#f0f1f2;
  --v2-border:#dfe1e3;
  min-height:calc(100vh - 56px);
  padding:0 16px 64px;
}
.titles-v2-page .v2-page-heading{height:64px;display:flex;align-items:center;gap:22px}
.titles-v2-page .v2-page-heading>a{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.titles-v2-page .v2-page-heading>a:hover{background:var(--accent)}
.titles-v2-page .v2-page-heading h1{font-family:Spartan,Poppins,"Microsoft YaHei UI",sans-serif;font-size:28px;line-height:36px;font-weight:600}

.titles-v2-page .v2-search-form{display:grid;grid-template-columns:minmax(0,1fr) 192px;gap:16px 8px;position:relative;margin-top:12px}
.titles-v2-page .v2-search-box{height:40px;background:var(--accent);border-radius:4px;display:flex;align-items:center;padding:0 10px;gap:8px}
.titles-v2-page .v2-search-box .md-icon{width:25px;height:25px}
.titles-v2-page .v2-search-box input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;font-size:16px}
.titles-v2-page .v2-filter-toggle{height:40px;border-radius:4px;background:var(--accent);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:500}
.titles-v2-page .v2-filter-toggle .md-icon{display:none}
.titles-v2-page .v2-filter-toggle:hover,.titles-v2-page .v2-lucky:hover{background:var(--accent-2)}

.titles-v2-page .v2-search-actions{grid-column:1/-1;height:72px;display:flex;align-items:center;justify-content:flex-end;gap:16px}
.titles-v2-page .v2-search-actions>a,.titles-v2-page .v2-search-actions>button{height:40px;border-radius:4px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:500}
.titles-v2-page .v2-reset{color:#ffb7ac}
.titles-v2-page .v2-lucky{background:var(--accent)}
.titles-v2-page .v2-submit{min-width:120px;background:var(--primary);color:#fff}
.titles-v2-page .v2-submit:hover{background:var(--primary-dark)}
.titles-v2-page .v2-submit .md-icon{width:23px;height:23px}

.titles-v2-page .v2-filter-sheet{display:none;grid-column:1/-1;background:var(--accent);border-radius:5px;padding:16px;position:relative}
.titles-v2-page .v2-filter-sheet.is-open{display:block}
.titles-v2-page .v2-filter-sheet>header{display:none}
.titles-v2-page .v2-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;align-items:start}
.titles-v2-page .v2-field{display:flex;flex-direction:column;gap:5px;min-width:0;border:0;margin:0;padding:0;font-size:13px;color:var(--text-soft)}
.titles-v2-page .v2-field legend{padding:0;margin-bottom:5px}
.titles-v2-page .v2-field select,.titles-v2-page .v2-field>input,.titles-v2-page .v2-select-button,.titles-v2-page .v2-translated-field select{
  width:100%;height:40px;border:1px solid transparent;border-radius:4px;background:var(--background);padding:0 10px;outline:none;color:var(--text)
}
.titles-v2-page .v2-field select:focus,.titles-v2-page .v2-field>input:focus,.titles-v2-page .v2-select-button:focus{border-color:var(--primary)}
.titles-v2-page .v2-select-button{display:flex;align-items:center;justify-content:space-between;text-align:left}
.titles-v2-page .v2-tag-field{position:relative;z-index:8}
.titles-v2-page .v2-tag-menu{display:none;position:absolute;left:0;right:0;top:67px;padding:8px;background:var(--background);border:1px solid var(--line);border-radius:6px;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.titles-v2-page .v2-tag-menu.is-open{display:block}
.titles-v2-page .v2-tag-search{height:38px;border-radius:4px;background:var(--accent);display:flex;align-items:center;padding:0 8px;gap:6px}
.titles-v2-page .v2-tag-search .md-icon{width:19px;height:19px}
.titles-v2-page .v2-tag-search input{min-width:0;flex:1;border:0;outline:0;background:transparent}
.titles-v2-page .v2-tag-options{max-height:230px;overflow-y:auto;padding-top:7px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}
.titles-v2-page .v2-tag-options label{min-width:0;height:30px;display:flex;align-items:center;gap:6px;padding:2px 5px;border-radius:3px;cursor:pointer;color:var(--text);font-size:13px}
.titles-v2-page .v2-tag-options label:hover{background:var(--accent)}
.titles-v2-page .v2-tag-options span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.titles-v2-page .v2-tag-options input,.titles-v2-page .v2-check-field input,.titles-v2-page .v2-checkline input{width:18px;height:18px;accent-color:var(--primary);flex:none}
.titles-v2-page .v2-check-field>div{height:40px;display:flex;align-items:center;gap:6px;overflow:hidden}
.titles-v2-page .v2-rating-toggle{display:none}
.titles-v2-page .v2-check-field label{height:32px;display:flex;align-items:center;gap:4px;padding:0 7px;background:var(--background);border-radius:4px;color:var(--text);white-space:nowrap;font-size:12px}
.titles-v2-page .v2-year-control{height:40px;display:flex;background:var(--background);border-radius:4px;overflow:hidden}
.titles-v2-page .v2-year-control input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:0 10px;-moz-appearance:textfield}
.titles-v2-page .v2-year-control input::-webkit-inner-spin-button{display:none}
.titles-v2-page .v2-year-control button{width:36px;font-size:19px;color:var(--text-soft)}
.titles-v2-page .v2-year-control button:hover{background:var(--accent-2)}
.titles-v2-page .v2-translated-field{justify-content:flex-end;gap:5px}
.titles-v2-page .v2-checkline{height:20px;display:flex;align-items:center;gap:8px;color:var(--text);font-size:13px}
.titles-v2-page .v2-checkline input{width:18px;height:18px}
.titles-v2-page .v2-translated-field select:disabled{opacity:.45}
.titles-v2-page .v2-mobile-filter-actions{display:none}

.titles-v2-page .v2-result-tools{height:60px;display:flex;align-items:center;justify-content:space-between}
.titles-v2-page .v2-result-tools>span{font-size:13px;color:var(--text-soft);visibility:hidden}
.titles-v2-page .v2-layout-switch{height:44px;display:flex;align-items:center;background:var(--accent);border-radius:3px;padding:0}
.titles-v2-page .v2-layout-switch button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;gap:3px;border-radius:2px;color:var(--text)}
.titles-v2-page .v2-layout-switch button[aria-pressed="true"]{background:#090909;color:#fff}
.titles-v2-page .v2-layout-switch button i{display:block;background:currentColor;border-radius:1px}
.titles-v2-page .v2-layout-switch button[data-v2-layout="list"]{flex-direction:column;align-items:flex-start;padding-left:10px}
.titles-v2-page .v2-layout-switch button[data-v2-layout="list"] i{width:20px;height:2px}
.titles-v2-page .v2-layout-switch button[data-v2-layout="detail"] i{width:9px;height:23px}
.titles-v2-page .v2-layout-switch button[data-v2-layout="detail"] i:last-child{width:17px}
.titles-v2-page .v2-layout-switch button[data-v2-layout="grid"]{display:grid;grid-template-columns:repeat(2,7px);grid-template-rows:repeat(2,7px);gap:3px}
.titles-v2-page .v2-layout-switch button[data-v2-layout="grid"] i{width:7px;height:7px}


.titles-v2-page .v2-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.titles-v2-page .v2-title-card{height:254px;background:var(--card);border-radius:4px;padding:8px;display:grid;grid-template-columns:136px minmax(0,1fr);gap:9px;min-width:0;overflow:hidden}
.titles-v2-page .v2-title-cover{width:136px;height:194px;border-radius:3px;overflow:hidden;box-shadow:0 1px 5px rgba(0,0,0,.2)}
.titles-v2-page .v2-title-cover img{width:100%;height:100%;object-fit:cover}
.titles-v2-page .v2-title-copy{min-width:0;overflow:hidden;position:relative}
.titles-v2-page .v2-title-heading{min-height:44px;display:flex;align-items:flex-start;gap:8px}
.titles-v2-page .v2-title-heading>a{min-width:0;flex:1;font-size:16px;line-height:22px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.titles-v2-page .v2-title-heading strong{font-weight:700}
.titles-v2-page .v2-flag{font-size:13px;margin-right:5px}
.titles-v2-page .v2-status{height:24px;padding:0 8px;border-radius:4px;background:var(--accent-2);display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px}
.titles-v2-page .v2-status i{width:8px;height:8px;border-radius:50%;background:#14c638}
.titles-v2-page .v2-title-stats{height:28px;display:flex;align-items:center;gap:15px;color:var(--text-soft);font-size:13px}
.titles-v2-page .v2-title-stats span{display:flex;align-items:center;gap:3px;white-space:nowrap}.titles-v2-page .v2-title-stats .md-icon{width:17px;height:17px}
.titles-v2-page .v2-title-tags{height:25px;display:flex;align-items:center;gap:8px;overflow:hidden;white-space:nowrap}
.titles-v2-page .v2-title-tags span,.titles-v2-page .v2-title-tags b{font-size:9px;line-height:14px;text-transform:uppercase;font-weight:700}
.titles-v2-page .v2-title-tags b{margin-left:auto;color:var(--primary)}
.titles-v2-page .v2-title-copy>p{font-size:14px;line-height:20px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden}
.titles-v2-page .v2-card-author{display:none}

.titles-v2-page .v2-results.is-list{grid-template-columns:1fr;gap:5px}
.titles-v2-page .v2-results.is-list .v2-title-card{height:74px;grid-template-columns:42px minmax(0,1fr)}
.titles-v2-page .v2-results.is-list .v2-title-cover{width:42px;height:58px}
.titles-v2-page .v2-results.is-list .v2-title-heading{min-height:28px;align-items:center}
.titles-v2-page .v2-results.is-list .v2-title-copy>p,.titles-v2-page .v2-results.is-list .v2-title-tags{display:none}
.titles-v2-page .v2-results.is-list .v2-title-stats{height:24px}
.titles-v2-page .v2-results.is-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 12px}
.titles-v2-page .v2-results.is-grid .v2-title-card{height:auto;padding:0;background:transparent;display:block;overflow:visible}
.titles-v2-page .v2-results.is-grid .v2-title-cover{width:100%;height:auto;aspect-ratio:2/3}
.titles-v2-page .v2-results.is-grid .v2-title-copy{padding-top:7px}
.titles-v2-page .v2-results.is-grid .v2-title-heading{min-height:42px}.titles-v2-page .v2-results.is-grid .v2-title-heading>a{-webkit-line-clamp:2;font-size:14px;line-height:20px}
.titles-v2-page .v2-results.is-grid .v2-status,.titles-v2-page .v2-results.is-grid .v2-title-stats,.titles-v2-page .v2-results.is-grid .v2-title-tags,.titles-v2-page .v2-results.is-grid .v2-title-copy>p{display:none}
.titles-v2-page .v2-results.is-grid .v2-card-author{display:block;color:var(--text-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.titles-v2-page .v2-pagination{min-height:72px;display:flex;align-items:center;justify-content:center;gap:8px}
.titles-v2-page .v2-pagination a,.titles-v2-page .v2-pagination strong,.titles-v2-page .v2-pagination>span{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--accent);font-weight:500}
.titles-v2-page .v2-pagination strong{background:var(--primary);color:#fff}
.titles-v2-page .v2-pagination .is-disabled{opacity:.35}
.titles-v2-page .v2-empty,.titles-v2-page .v2-client-empty{text-align:center;padding:72px 16px;color:var(--text-soft)}
.titles-v2-page .v2-empty strong,.titles-v2-page .v2-client-empty strong{display:block;color:var(--text);font-size:20px;margin-bottom:8px}
.titles-v2-page [hidden]{display:none!important}

@media (max-width:1200px){
  .titles-v2-page .v2-title-stats{gap:8px}
  .titles-v2-page .v2-results.is-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}

@media (max-width:1023px){
  .titles-v2-page .v2-titles{padding:0 16px 48px}
  .titles-v2-page .v2-page-heading{height:58px;gap:22px}
  .titles-v2-page .v2-page-heading h1{font-size:24px;line-height:34px}
  .titles-v2-page .v2-search-form{grid-template-columns:minmax(0,1fr) 40px;gap:24px 8px;margin-top:18px}
  .titles-v2-page .v2-search-box{grid-column:1/-1}
  .titles-v2-page .v2-filter-toggle{grid-column:1;width:40px;height:44px;font-size:0}
  .titles-v2-page .v2-filter-toggle .md-icon{display:block;width:26px;height:26px}
  .titles-v2-page .v2-filter-toggle span{display:none}
  .titles-v2-page .v2-search-actions{display:none}
  .titles-v2-page .v2-result-tools{height:44px;margin-top:-44px;margin-bottom:24px;pointer-events:none}
  .titles-v2-page .v2-result-tools>span{display:none}
  .titles-v2-page .v2-layout-switch{pointer-events:auto;margin-left:auto}

  .titles-v2-page .v2-filter-sheet{position:fixed;z-index:150;inset:0;padding:16px;background:var(--background);border-radius:0;overflow-y:auto;overscroll-behavior:contain}
  .titles-v2-page .v2-filter-sheet.is-open{display:block}
  body.titles-v2-page.v2-filter-open{overflow:hidden}
  .titles-v2-page .v2-filter-sheet>header{height:83px;display:flex;align-items:flex-start;justify-content:space-between;position:sticky;top:-16px;z-index:12;background:var(--background);padding-top:6px}
  .titles-v2-page .v2-filter-sheet>header h2{font-family:Spartan,Poppins,sans-serif;font-size:24px;line-height:38px;font-weight:600}
  .titles-v2-page .v2-filter-sheet>header button{width:40px;height:40px;display:flex;align-items:center;justify-content:center}
  .titles-v2-page .v2-filter-grid{display:flex;flex-direction:column;gap:15px}
  .titles-v2-page .v2-field{width:100%;font-size:14px}
  .titles-v2-page .v2-field select,.titles-v2-page .v2-field>input,.titles-v2-page .v2-select-button,.titles-v2-page .v2-translated-field select{height:32px;font-size:15px;background:var(--accent);border:0}
  .titles-v2-page .v2-tag-field{z-index:9}
  .titles-v2-page .v2-tag-menu{position:static;margin-top:4px;box-shadow:none;background:var(--accent);border:0}
  .titles-v2-page .v2-tag-options{grid-template-columns:repeat(2,minmax(0,1fr));max-height:252px}
  .titles-v2-page .v2-tag-options label{background:var(--background)}
  .titles-v2-page .v2-rating-toggle{display:flex}
  .titles-v2-page .v2-check-field>div{display:none;height:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:6px}
  .titles-v2-page .v2-check-field.is-open>div{display:grid}
  .titles-v2-page .v2-check-field label{background:var(--accent);font-size:13px}
  .titles-v2-page .v2-year-control{height:32px;background:var(--accent)}
  .titles-v2-page .v2-translated-field{padding-top:2px}
  .titles-v2-page .v2-translated-field select{margin-top:4px}
  .titles-v2-page .v2-mobile-filter-actions{display:grid;gap:8px;padding-top:24px}
  .titles-v2-page .v2-mobile-filter-actions a,.titles-v2-page .v2-mobile-filter-actions button{height:42px;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:8px}
  .titles-v2-page .v2-mobile-filter-actions a{color:var(--primary);background:var(--accent)}
  .titles-v2-page .v2-mobile-filter-actions button{background:var(--primary);color:#fff}

  .titles-v2-page .v2-results{grid-template-columns:1fr;gap:8px}
  .titles-v2-page .v2-title-card{height:240px;grid-template-columns:86px minmax(0,1fr);gap:8px;padding:8px}
  .titles-v2-page .v2-title-cover{width:86px;height:123px}
  .titles-v2-page .v2-title-heading{min-height:43px}.titles-v2-page .v2-title-heading>a{font-size:14px;line-height:20px}
  .titles-v2-page .v2-status{display:none}
  .titles-v2-page .v2-title-stats{height:25px;gap:7px;font-size:12px}.titles-v2-page .v2-title-stats .md-icon{width:15px;height:15px}
  .titles-v2-page .v2-title-tags{height:23px;gap:7px}.titles-v2-page .v2-title-copy>p{font-size:13px;line-height:18px;-webkit-line-clamp:6}
  .titles-v2-page .v2-results.is-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
  .titles-v2-page .v2-results.is-list .v2-title-card{height:72px;grid-template-columns:40px minmax(0,1fr)}
  .titles-v2-page .v2-results.is-list .v2-title-cover{width:40px;height:56px}
}

@media (max-width:520px){
  .titles-v2-page .v2-results.is-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .titles-v2-page .v2-page-heading h1{font-size:23px}
}
